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

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 the 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 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
-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of George Cristian Bina Sent: Saturday, 18 February 2006 12:22 AM To: Hockaday John Cc: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Still having problems with XSD catalogs
Hi John,
Oxygen uses system entries to resolve schema locations as we use the parser at SAX level and there is no way to distinguish between external entities and schema locations. There was a discussion about this on this list some time ago if you want to know more details. The thread starts here: http://www.oxygenxml.com/pipermail/oxygen-user/2005-September/ 000631.html and continues with http://www.oxygenxml.com/pipermail/oxygen-user/2005-October/00 0633.html
The solution is to add also system entries to your catalog.
Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
John.Hockaday@ga.gov.au wrote:
Hi All,
I have been trying to use an XSD catalog file for months without any luck. As a matter of fact I have *never* been able to get XSD catalog files working on Oxygen. Currently I am using Oxygen 7.0 on a Windows 2000 platform.
The best I can do is the following error:
http://asdd.ga.gov.au/asdd/work/catalogerror.txt
The catalog preferences look like this:
http://asdd.ga.gov.au/asdd/work/catalogpreferences.gif
The catalog file looks like this:
http://asdd.ga.gov.au/asdd/work/catalog.xml
I am using the following catalog.xsd:
http://asdd.ga.gov.au/asdd/work/catalog.xsd
I don't understand the error. The path to the catalog.xml file is correct and it is readable.
Why is this error occurring? I can only find catalog files for DTDs not XSDs.
Thanks.
John
-------------------------------------------------------------- ----------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

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-schemaLocations Best regards, Sorin John.Hockaday@ga.gov.au wrote:
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 the 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 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
participants (2)
-
John.Hockaday@ga.gov.au
-
Sorin Ristache