RE: [oXygen-user] Still having problems with XSD catalogs

Hi Sorin, That amazes me. I loaded all the files into a project and clicked on "validate all project files". I get hundreds of errors. I have the following settings checked in my preferences: full schema checking honour all schema locations ignore DTD for validation if schema specified enable include processing base URL fixup language fixup The other settings don't apply. If you set these in you preferences do you get the same validation results? If so then is there something wrong with my copy of Oxygen 7.0? Thanks. John
-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Sorin Ristache Sent: Thursday, 23 February 2006 10:27 PM To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Still having problems with XSD catalogs
Hi again,
I downloaded the ISO 19139 XSDs from
http://eden.ign.fr/xsd/isotc211/20060209/ISO19139schemas.zip
and I had to enable the option "http://apache.org/xml/features/honour-all-schemaLocations" in Options -> Preferences -> XML / XML Parser to validate all the XSDs without errors and without setting an XML catalog. That option tells the parser to use all the references to XSDs that define types and elements for the same namespace:
http://xerces.apache.org/xerces2-j/features.html#honour-all-sc hemaLocations
Hi George,
I read the documents that you refer to and it seemed to be similar to what Sorin suggested though I didn't understand much.
I think that I have made the changes that Sorin suggested but I still get
error. I would really like to resolve this problem of catalog files with Oxygen 7.0 because I am trying to get the ISO 19139 XSDs to validate. Once I do this I can then create and/or test XML metadata document instances of
Best regards, Sorin John.Hockaday@ga.gov.au wrote: the that
standard.
The ISO 19139 XSDs are available from URL:
http://eden.ign.fr/xsd/isotc211
I get 904 errors in Oxygen when I validate these XSDs. Most errors are duplicates but I *really* need to get catalogs working to sort out these errors.
Thanks.
John
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi John, I just downloaded the ISO 19139 XSD schemas from the URL which I specified: http://eden.ign.fr/xsd/isotc211/20060209/ISO19139schemas.zip then I unzipped the archive in folder ISO19139schemas on my computer, I right-clicked on a folder tree node in the Project view of <oXygen/>, selected the "Link to External Folder" action, in the file browser dialog I selected the folder ISO19139schemas, I right-clicked on the new folder node called "ISO19139schemas" with a yellow icon created in the Project view and selected "Validate selection". I have the same options checked as you in the XML Parser preference panel. The "Validate selection" action validated all the XSDs in that directory without errors. There were only 4 warnings that there was no schema declaration for the text files: 10139-GML_readme.txt Version.txt gml/readme.txt xlink/version.txt *You don't need XML catalogs for the schemas contained in the zip archive.* All the references are to local files so a catalog is *not needed*. Remove XML catalogs if you have such catalogs set for the ISO 19139 schemas in Options -> Preferences -> XML / XML Catalog and restart <oXygen/>. You may uncheck also the use of the default <oXygen/> catalog in the same Preferences panel. If you get a different result in <oXygen/> version 7.0 then you are trying to validate other files than the ones contained in the archive at: http://eden.ign.fr/xsd/isotc211/20060209/ISO19139schemas.zip or you have wrong mappings in some XML catalog file set in the <oXygen/> preferences. In such a case in order to reproduce the errors we need the files with the errors, maybe an archive with the XSDs of ISO 19139 which you are trying to validate and any XML catalog that you use. Best regards, Sorin John.Hockaday@ga.gov.au wrote:
Hi Sorin,
That amazes me. I loaded all the files into a project and clicked on "validate all project files". I get hundreds of errors.
I have the following settings checked in my preferences:
full schema checking honour all schema locations ignore DTD for validation if schema specified enable include processing base URL fixup language fixup
The other settings don't apply.
If you set these in you preferences do you get the same validation results? If so then is there something wrong with my copy of Oxygen 7.0?
Thanks.
John
-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Sorin Ristache Sent: Thursday, 23 February 2006 10:27 PM To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Still having problems with XSD catalogs
Hi again,
I downloaded the ISO 19139 XSDs from
http://eden.ign.fr/xsd/isotc211/20060209/ISO19139schemas.zip
and I had to enable the option "http://apache.org/xml/features/honour-all-schemaLocations" in Options -> Preferences -> XML / XML Parser to validate all the XSDs without errors and without setting an XML catalog. That option tells the parser to use all the references to XSDs that define types and elements for the same namespace:
http://xerces.apache.org/xerces2-j/features.html#honour-all-sc
hemaLocations
Best regards, Sorin
participants (2)
-
John.Hockaday@ga.gov.au
-
Sorin Ristache