W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2011

[Bug 13712] Line ends within xs:token

From: <bugzilla@jessica.w3.org>
Date: Mon, 22 Aug 2011 08:18:28 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1QvPiG-0001rE-Vr@jessica.w3.org>

--- Comment #4 from Michael Kay <mike@saxonica.com> 2011-08-22 08:18:28 UTC ---
In XML based systems I think it is likely that people will delimit lines and
paragraphs using XML markup rather than Unicode delimiter characters. However,
if people want to use Unicode delimiter characters for the purpose, they are
welcome to define appropriate data types that reflect this usage. The derived
types in XSD such as xs:token should be thought of as a "starter set", there is
no intention that they should meet all possible requirements, and the fact that
for some particular requirement it is necessary to define a user-defined type
is not in any way a defect in the specification.

xs:token actually has a much bigger problem which you don't mention - it is
misnamed. Its value space is not a single token, but a space-separated sequence
of tokens. There's no built-in data type that conveniently represents a single
token; but users can easily define their own, and commonly do so, so this isn't
a big problem in practice.

(Personal response)

(If you feel the WG needs to look at this again, please reopen the bug. Please
bear in mind that XSD 1.1 is now very close to becoming a Recommendation, which
means that the WG will only make changes if the spec is broken: the time for
adding things that are "good ideas" is long past, however good the ideas.)

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 22 August 2011 08:18:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:11 UTC