W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2009

[Bug 6695] New: whiteSpace=collapse

From: <bugzilla@wiggum.w3.org>
Date: Fri, 13 Mar 2009 08:27:50 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-6695-703@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6695

           Summary: whiteSpace=collapse
           Product: XML Schema
           Version: 1.0/1.1 both
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: mike@saxonica.com
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


According to a message from Dieter Guthmann on xmlschema-dev today, at least
one product (Liquid XML Studio) has interpreted the rules for
whiteSpace=collapse to mean that if the input consists entirely of space
characters, it is normalized to a single space.

The definition of "collapse" in 4.3.6 relies on the interpretation of the
undefined terms "leading" and "trailing", which means that this reading of the
spec cannot be dismissed as perverse. (Can one be a leader if one has no
followers?)

A more rigorous definition might be:

collapse:
  After the processing implied by replace, contiguous sequences of #x20's are
collapsed to a single #x20, and any #x20 at the start or end of the string is
then removed.


-- 
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 Friday, 13 March 2009 08:28:02 UTC

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