Dear Nathan,I had written a small application which checks THREDDS XML catalogs and apply recursively to the remote catalog ref. It is based on the unidata xsl stylesheet but I had to add some specific xsl code for the purpose of the MERSEA project. I think you can easily revert to the original unidata stylesheet.
The attachment is the eclipse project export as a zip file. Let me know if you have any questions about it. Thomas John Caron wrote:
Hi Nathan: We dont have ready-made code that validates catalogs and follows the catalog refs. However, we do have some generic catalog crawler code, where you get callbacks to your own code to do whatever you want. let me know if thats helpful... Nathan Potter wrote:Greetings,I have a question about validating the semantics of a THREDDS catalog. The attached catalog contains a number of thredds:catalogRef elements. The urlPath attribute for these should be able to be used to resolve the individual catalogs. Is there a validation for that similar to using the built in Catalog Validation service that come rolled in the TDS?I tested the attached catalog against the service at motherload.ucar.edu:http://motherlode.ucar.edu:8080/thredds/catalogServices?cmd=validate&catalog=http://ndp.opendap.org:8080/opendap/data/catalog.xmlAnd it passed, but I don't imagine it attempted to check down the catalog hierarchy.Any ideas? Thanks, Nathan ------------------------------------------------------------------------ = = = Nathan Potter ndp at opendap.org OPeNDAP, Inc. 541.752.1852 ------------------------------------------------------------------------ _______________________________________________ thredds mailing list thredds@xxxxxxxxxxxxxxxxFor list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/_______________________________________________ thredds mailing list thredds@xxxxxxxxxxxxxxxxFor list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
-- ------------------------------------------------------------- Thomas LOUBRIEU IFREMER IDM/ISI BP70 29280 Plouzane FRANCEemail: Thomas.Loubrieu@xxxxxxxxxx
WWW : http://www.coriolis.eu.org/cdc Tel.: (+33) (0)2 98 22 48 53Fax: (+33) (0)2 98 22 46 44
-------------------------------------------------------------
Attachment:
THREDDS-Mersea-Checker.zip
Description: Zip archive
thredds
archives: