- From: Pete Cordell <petexmldev@tech-know-ware.com>
- Date: Mon, 11 Jun 2007 11:18:48 +0100
- To: "Dan Maharry" <dan@mcd.coop>, <xmlschema-dev@w3.org>
----- 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 UTC