gmxCrs.xml and anyURI error from ISO19139

This should cover W3C XML Schema, Relax NG and DTD related problems.
adobra
Posts: 6
Joined: Tue Oct 09, 2007 11:57 am
Location: Perth, Western Australia

gmxCrs.xml and anyURI error from ISO19139

Post by adobra »

Hi
I refer to "Still having problems with XSD catalogs" at archives http://www.oxygenxml.com/pipermail/oxyg ... 00752.html . Sorin provided John with some helpful instructions to validate the ISO19139 schema (from eden) in <oXygen/> .
I downloaded the zip as per the archive and I believe that I went through the step by step instructions, however, rather than 4 warnings I get many more. These are focused on
ISO19139schemas\resources\crs\gmxCrs.xml and a non valid value for 'anyURI'.

The text from one of the errors is pasted below. The others are similar:

SystemID: I:\WVES\Projects\WV03394\Technical\VW10873.900\working\oxygentest\ISO19139schemas\resources\crs\gmxCrs.xml
Location: 156:64
Description: cvc-datatype-valid.1.2.1: 'xpointer(//*[@gml:id='EPSG9807'])' is not a valid value for 'anyURI'.
URL: http://www.w3.org/TR/xmlschema-2/#cvc-datatype-valid


I would greatly appreciate it if someone could shine some light on what setting I have or have not turned on/off or if there is another issue.
kind regards
Allan
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

I think the content of the archive was changed since that discussion. Now I get the same error as you in the file gmxCrs.xml which says that the value xpointer(//*[@gml:id='EPSG9807']) is not a URI. The error message is correct because a string that starts with xpointer is not an absolute URI (examples of correct absolute URIs: ftp://some.server.com, http://eden.ign.fr/xsd/) and is not a relative URI (examples of correct relative URIs used in the same file gmxCrs.xml: #xpointer(//*[@gml:id='EPSG8901']), #xpointer(//*[@gml:id='EPSG7030'])). Please note that the values of xlink:href that start with # are accepted as they can be treated as relative URIs. If you click on the link from the Info column of the error message displayed in oXygen's Errors view you can read more details about the error in the XML Schema specification.


Regards,
Sorin
adobra
Posts: 6
Joined: Tue Oct 09, 2007 11:57 am
Location: Perth, Western Australia

gmxCrs and non valid any URIs

Post by adobra »

Hi Sorin

Thank you very much for your reply. Most appreciated. I can now move forward in my work.
kind regards
Allan
Post Reply