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

Schemas in W3C working drafts

  • From: "alexander.selkirk" <alexander.selkirk@n...>
  • To: XML-DEV <xml-dev@l...>
  • Date: Fri, 29 Jun 2001 20:11:26 +0100

xsd attribute xforms
Now that XML-Schema is a W3C recommendation, many people will be trying to
learn how to use schemas (or schemata). With that in mind, it is
disappointing to see errors in their use in W3C working drafts. For example
XML Syntax for XQuery 1.0 (7 June 2001) contains a schema which uses the
'attribute' complex type with an illegal 'value' attribute:-

<xsd:attribute name = "order" use = "default" value = "ASCENDING">

Also XForms (8 June 2001), while having a valid (as far as I can tell)
schema defines the 'item' element as type 'string'. Yet its first example
has the line

<item value="cash">Cash</item>

So could the XQuery working group donate its spare 'value' attributes to the
XForms committee? :-)

I understand that W3C working drafts are just drafts, and it is
"inappropriate to cite them as other than 'work in progress' ". However
since there are not yet many examples of XML schemas around, could there be
a little more effort to ensure correctness? Running a schema through a
validator and checking that the first two examples in any specification are
schema-valid prior to publishing would be helpful.

Cheers,
Alex


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.