[oXygen-user] Still having problems with XSD catalogs
Wed Feb 22 18:01:52 CST 2006
Hi Sorin,
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"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:oasis:names:tc:entity:xmlns:xml:catalog
file:///E:/downloads/ISO19139/2006-01-13/catalog.xsd">
<system systemId="http://schemas.opengis.net/xlink/1.0.0/xlinks.xsd"
uri="file:///E:/downloads/GML3.1/GML3.1.1/xlink/xlinks.xsd"/>
<system
systemId="http://schemas.opengis.net/gml/3.1.0/xlink/xlinks.xsd"
uri="file:///E:/downloads/GML3.1/GML3.1.1/xlink/xlinks.xsd"/>
<rewriteURI
uriIdStartString="http://schemas.opengis.net/gml/3.1.1/base"
rewritePrefix="file:///E:/downloads/GML3.1/GML3.1.1/base"/>
</catalog>
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.
Thanks.
John
> -----Original Message-----
> From:
> [mailto:] On Behalf Of Sorin Ristache
> Sent: Saturday, 18 February 2006 12:44 AM
> To:
> 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,
> Sorin
>
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com/
>
>
> 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:
> >
> 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
> >
> >
> > 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
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list