[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The XQeryX schema and DTD is not valid

  • From: Eddie <eddie@a...>
  • To: Mike =?UNKNOWN?Q?Gr=FCnwald?= <gruenwald74@h...>
  • Date: Fri, 14 Sep 2001 11:07:41 +1000

xqueryx.xsd
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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.