W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2007

[Bug 4315] [XSLT] Whitespace stripping for attributes of type character

From: <bugzilla@wiggum.w3.org>
Date: Fri, 16 Mar 2007 11:56:33 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1HSB2v-0005jM-As@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4315





------- Comment #3 from mike@saxonica.com  2007-03-16 11:56 -------
The WG reviewed the comment and agreed it was desirable to firm up the wording.

I have reviewed all the element proformas, and I agree with the commenter that
the only cases where we should keep leading and trailing whitespace are those
where the stated type is string or char. Henry's proposed wording for this
looks fine.

There's one possible case where the old rule would (perhaps) trim whitespace
and the new rule doesn't: the flags attribute of xsl:analyze-string. For
simplicity I propose that we don't treat this specially. This means whitespace
will not be allowed in this attribute, which is consistent with the rules for
the $flags argument of functions such as matches().
Received on Friday, 16 March 2007 11:56:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:32 UTC