- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 29 Jan 2008 17:34:38 +0000
- To: public-qt-comments@w3.org
- CC:
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>c</first>
<second>̧</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 UTC