[oXygen-user] Still having problems with XSD catalogs
Wed Feb 22 18:01:52 CST 2006
Thanks for that information. I think that I have done to my catalog.xml file
what you suggested. Here it is:
<?xml version="1.0" encoding="UTF-8"?>
Did I get it right? If so I still get the same error when I try to validate
the catalog.xml document.
I also get an error when I try to validate the catalog.xsd document.
You help is greatly appreciated on this matter.
> -----Original Message-----
> [mailto:] On Behalf Of Sorin Ristache
> Sent: Saturday, 18 February 2006 12:44 AM
> Subject: Re: [oXygen-user] Still having problems with XSD catalogs
> Hello John,
> Looking at the catalog.xml file I see that all the elements are in no
> namespace. In an OASIS XML Catalog they must be in the
> "urn:oasis:names:tc:entity:xmlns:xml:catalog" namespace. That
> means you
> have to place all the elements of your catalog in that namespace, for
> example by adding the
> xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" attribute to the
> root element. Also you have to bind the xsi prefix to the XML Schema
> namespace, otherwise it is not a well-formed XML document.
> Please look at the file
> [oXygen-install-folder]/frameworks/docbook/dtd/catalog.xml for an
> example catalog.
> Best regards,
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> George Cristian Bina wrote:
> > 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:
> > and continues with
> > 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
> > 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
More information about the oXygen-user