[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] The XQeryX schema and DTD is not valid
- From: Eddie <eddie@allette.com.au>
- To: Mike =?UNKNOWN?Q?Gr=FCnwald?= <gruenwald74@hotmail.com>
- Date: Fri, 14 Sep 2001 11:07:41 +1000
Hi Mike,
I had a look at the schema and the problem is on some of your attribute
declarations:
<xsd:attribute name="order" use="default" value="ASCENDING">
...
This attribute declaration seems to use the old CR syntax so if you change all
attribute declarations like the one above to:
<xsd:attribute name="order" use="optional" default="ASCENDING">
...
everything should work fine. What tools are you using to convert the DTD to an
XML Schema? It seems they need to be updated to the latest version of XML
Schema. The strange this is that you got the correct namespace
(http://www.w3.org/2001/XMLSchema).
Cheers,
/Eddie
Mike =?UNKNOWN?Q?Gr=FCnwald?= wrote:
> I copied the XQeryX schema from the W3C XQeryX Working Draft 07 June 2001
> and created a schema file.
> I validated this schema with XML Spy and also with the IBM Schema Qualtity
> Checker.
> It is not valid!
> The same happened also with the DTD for XQueryX.
>
> Is my version of the working draft outdated or much more important is there
> a valid version of the XQeryX schema
> existing ?
>
> I was a bit confused about this.
> When W3C is not able to produce valid schemas who else ?
>
> I attached the schema and the errors found by schema quality checker.
>
> with kind regards
> Michael Grünwald
> Software Engineer
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
> ------------------------------------------------------------------------
> Name: xqueryx.xsd
> xqueryx.xsd Type: BizTalk Schema (text/xml)
> Encoding: QUOTED-PRINTABLE
>
> Name: xqueryx_errors.txt
> xqueryx_errors.txt Type: Plain Text (text/plain)
> Encoding: QUOTED-PRINTABLE