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

Re: Discrepancies in the W3C Schema docs?

From: Pete Cordell <petexmldev@tech-know-ware.com>
Date: Mon, 11 Jun 2007 11:18:48 +0100
Message-ID: <006201c7ac11$f364f5d0$5f00a8c0@Codalogic>
To: "Dan Maharry" <dan@mcd.coop>, <xmlschema-dev@w3.org>
Re: Discrepancies in the W3C Schema docs?

----- Original Message From: "Dan Maharry" <dan@mcd.coop>

> Problem #4 : Single spaces or more?
> ...
> and [the] Names [production] reveals that it means each IDREF must be
> separated by a single \x20 character only else the string isn't a valid
> IDREFS type string.
>
> Names   ::=   Name (#x20 Name)*
>
>  So why can't the schema spec just say something like
>
> The *lexical space* of IDREFS is the set of lists of tokens each
> separated by a single \x20 character,....

I'm not even sure this is the whole story.  Section 3.3.3 Attribute-Value 
Normalization, of the XML 1.0 (Third Edition) says,

    Before the value of an attribute is passed to the application or checked 
for
    validity, the XML processor MUST normalize the attribute value...

So I think IDREFS only needs to match Names after normalization.

I've always assumed that the lexical space is pre-normalization, but I can't 
at the moment find anything that tells me this either way.

Pete.
--
=============================================
Pete Cordell
Codalogic Ltd
for XML Schema to C++ data binding visit
 http://www.codalogic.com/lmx/
=============================================
Received on Monday, 11 June 2007 10:19:19 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
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-2007 All Rights Reserved.