[Esip-discovery] Fwd: OpenSearch Description and ATOM Documents Validation

Lynnes, Christopher S. (GSFC-6102) christopher.s.lynnes at nasa.gov
Fri Jul 5 15:56:43 EDT 2013


FYI:

Begin forwarded message:

> From: Pedro Gonçalves <pereira.goncalves at gmail.com>
> Subject: OpenSearch Description and ATOM Documents Validation
> Date: July 1, 2013 1:55:33 PM EDT
> To: "opensearch at googlegroups.com" <opensearch at googlegroups.com>
> Reply-To: "opensearch at googlegroups.com" <opensearch at googlegroups.com>
> 
> Hi 
> 
> For the validation of some atom feeds from an ongoing project I created a few  RelaxNG Compact Syntax  Schemas with ISO Schematron rules of Atom, OpenSearch and extensions files that might be of interest to the group.
> 
> https://github.com/Terradue/trax/tree/master/relaxng/schemas
> 
> I covered the OpenSearch core, and Geo, Time and Parameter extensions.
> I plan to add the other extensions in the future.
> 
> For now I made a script that joins the several java jar and xsl files and performs an one-step validation procedure.
> 
> https://github.com/Terradue/trax/tree/master/relaxng/scripts
> 
> You can validate local file with 
> sh rncv.sh -s ../schemas/opensearch/1.1/osatom.rnc -f ../examples/atom/atomeo01_noauthor.xml
> 
> or you can validate an external server 
> 
> curl 'https://api.echo.nasa.gov/opensearch/granules.atom?clientId=&shortName=MERIS_L1B_RR&versionId=1&dataCenter=OBPG' | sh rncv.sh -s ../schemas/atom/2005/rfc4287.rnc 
> 
> I tested this extensively the last weeks but let me know if you find any issue/problems
> 
> 
> cheers
> 
> Pedro 
> 
> -- 
> You received this message because you are subscribed to the Google Groups "OpenSearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opensearch+unsubscribe at googlegroups.com.
> To post to this group, send email to opensearch at googlegroups.com.
> Visit this group at http://groups.google.com/group/opensearch.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

--
Dr. Christopher Lynnes     NASA/GSFC, Code 610.2    phone: 301-614-5185




More information about the Esip-discovery mailing list