W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2005

[Bug 1220] New: Serialization - choice of quotes on attributes

From: <bugzilla@wiggum.w3.org>
Date: Wed, 06 Apr 2005 21:12:12 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DJHoq-0005qT-M1@wiggum.w3.org>

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

           Summary: Serialization - choice of quotes on attributes
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization
        AssignedTo: scott_boag@us.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


In serialization section 4, phase 2f states:

If a quote (") character is in an attribute, and the attribute is delimited by
quote, the character will be changed to an an apostrophe ('). Likewise, if a
apostrophe (') character is in an attribute, and the attribute is delimited by
apostrophe, the character will be changed to an an quote (").

I'm sure the intention here is to change the attribute delimiters, not the
attribute value; but that's not how it reads. Change both occurrences of "the
character will be changed" to "the delimiter will be changed". Add, for
completeness. "If both characters are present in an attribute value, one of them
will be escaped."
Received on Wednesday, 6 April 2005 21:12:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:37 GMT