Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Discrepancies in the W3C Schema docs? >Thread Next - Re: Discrepancies in the W3C Schema docs? Re: Discrepancies in the W3C Schema docs?To: "Dan Maharry" <dan@---.---->, <xmlschema-dev@--.---> Date: 6/11/2007 12:19:00 PM
----- Original Message From: "Dan Maharry" <dan@m...>
> 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/
=============================================
From dan@m... Mon Jun 11 14:09:22 2007
Received: from aji.w3.org ([133.27.2 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
