W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2008

[Bug 5441] [SER] Text output method and normalization-form

From: <bugzilla@wiggum.w3.org>
Date: Tue, 29 Jan 2008 17:34:38 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JJuM2-0006I8-VD@wiggum.w3.org>

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

           Summary: [SER] Text output method and normalization-form
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization
        AssignedTo: zongaro@ca.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


Consider the serialization of:

<element>
  <first>&#x0063;</first>
  <second>&#x0327;</second>
</element>

with parameters:
method 'text'
normalization-form 'nfc'

It's not clear from "8.1.8 Text Output Method: the normalization-form
Parameter" how normalization is applied.  Let D be the document created by
sequence normalization.

A. to the string value of D (mentioned in 8 Text Output Method), or
B. to the text nodes in D, as described in in 4 Phases of Serialization, step
3, part d (which states that "For the output methods defined in this
specification, these phases are carried out sequentially as follows...")

Depending on whether it is A or B, the answer will be different.

Note that in step 3, the specification states that:

"For each text and attribute node, the following rules are applied in
sequence."

however, a string value is clearly not a text node.
Received on Tuesday, 29 January 2008 17:34:46 GMT

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