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

Doug Newman douglas.j.newman at nasa.gov
Mon Jul 8 08:08:59 EDT 2013


Pedro,

  we have been using this as a valdation mechanism and have incorporated 
some fixes in 10.64

http://validator.w3.org/feed/

to test our responses and it gives us the same error (and others)

1. <id>G1000088617-OBPG</id> id must be a full and valid URL: 
|G1000088617-OBPG - this will be fixed in our 10.64 release
2. |dc:date must be an W3CDTF date: 
|2002-04-29T04:35:38Z/2002-04-29T05:19:53Z - odd, this looks valid to me
3. |Missing content or alternate link - which is the issue you found. - 
this will be fixed in our 10.64 release

10.64 is already in partner test and is hooked up to the operational 
inventory,

Try this url,

https://api-test.echo.nasa.gov/opensearch/granules.atom?clientId=&shortName=MERIS_L1B_RR&versionId=1&dataCenter=OBPG

Cheers,

Doug Newman - ECHO Operations Lead
douglas.j.newman at nasa.gov
douglas.newman at vangent.com
Vangent, A General Dynamics Company | NASA | ECS Evolution Development Program
http://earthdata.nasa.gov/echo

Note: I am not a government employee and have no legal authority to obligate any federal, state, or local government to perform any action of payment.

On 7/7/13 7:59 AM, Pedro Gonçalves wrote:
> Hi Doug
>
> Unfortunately it fails on the ATOM schematron rules with
>
> Element: feed/entry[1]
> rule = atom:link[@rel='alternate'] or atom:link[not(@rel)] or atom:content
> An atom:entry must have at least one atom:link element with a rel attribute of 'alternate' or an atom:content.
> for all entries ...
>
> We can discuss this better, but my general idea is to develop compliance levels, first atom (rfc4287), then geo/time (ogc 10-032), and then to develop a special schema to take in consideration the rules from the esip best practice.
>
> cheers
>
> Pedro
>
>
> On Jul 5, 2013, at 10:00 PM, Doug Newman <douglas.j.newman at nasa.gov> wrote:
>
>> Pedro,
>>
>> the suspense is killing me, did
>>
>> 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
>>
>> validate?
>>
>> Doug Newman - ECHO Operations Lead
>> douglas.j.newman at nasa.gov
>> douglas.newman at vangent.com
>> Vangent, A General Dynamics Company | NASA | ECS Evolution Development Program
>> http://earthdata.nasa.gov/echo
>>
>> Note: I am not a government employee and have no legal authority to obligate any federal, state, or local government to perform any action of payment.
>>
>> On 7/5/13 3:56 PM, Lynnes, Christopher S. (GSFC-6102) wrote:
>>> 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
>>>
>>>
>>> _______________________________________________
>>> Esip-discovery mailing list
>>> Esip-discovery at lists.esipfed.org
>>> http://www.lists.esipfed.org/mailman/listinfo/esip-discovery
>> _______________________________________________
>> Esip-discovery mailing list
>> Esip-discovery at lists.esipfed.org
>> http://www.lists.esipfed.org/mailman/listinfo/esip-discovery

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.esipfed.org/pipermail/esip-discovery/attachments/20130708/0b5eeed8/attachment.html>


More information about the Esip-discovery mailing list