W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2004

XML schema draft comments: "space-separated" ambiguous

From: Daniel Barclay <daniel@fgm.com>
Date: Wed, 09 Jun 2004 16:13:25 -0400
Message-ID: <40C76F65.9030503@fgm.com>
To: www-xml-schema-comments@w3.org

Regarding the draft at
http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/:

Section 2.5.1.2 says:

   The ·lexical space· of a ·list· datatype is a set of literals whose
   internal structure is a space-separated sequence of literals of
   the ·atomic· datatype of the items in the ·list·.

It doesn't seem to to specify whether "space-separated" means
"separated by space characters" or "separated by space" (each
contiguous group of space characters).

For example, does the character sequence ('a' SP 'b' SP SP 'c')
represent:
- the list (a, b, c), or
- the list (a, b, "", c)?

It doesn't say whether "space" means only the character U+0020
or any space character.


It also doesn't say whether leading or trailing space is
significant.

For example, does the character sequence (SP 'a' SP 'b' SP SP 'c')
represent:
- the list (a, b, c), or
- the list ("", a, b, "", c)?



Daniel
Received on Wednesday, 9 June 2004 16:14:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:34 UTC