<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17282</bug_id>
          
          <creation_ts>2012-06-01 10:51:21 +0000</creation_ts>
          <short_desc>[SER30] Unicode normalization form values</short_desc>
          <delta_ts>2012-07-10 02:19:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Serialization 3.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Mills">tim</reporter>
          <assigned_to name="Henry Zongaro">zongaro</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68491</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-06-01 10:51:21 +0000</bug_when>
    <thetext>XSLT 2.0 requires implementation-defined normalization-form values to be nmtokens.  The serialization spec makes no such restriction.  Is there a case for such a restriction?

&lt;xsl:output
  ...
  normalization-form? = &quot;NFC&quot; | &quot;NFD&quot; | &quot;NFKC&quot; | &quot;NFKD&quot; | &quot;fully-normalized&quot; | &quot;none&quot; | nmtoken
  ...  /&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69244</commentid>
    <comment_count>1</comment_count>
    <who name="Henry Zongaro">zongaro</who>
    <bug_when>2012-06-19 16:42:38 +0000</bug_when>
    <thetext>Tim, thank you for pointing out that discrepancy.  Section 3 of the Serialization 1.0 Recommendation[1] was slightly less restrictive.  It stated that the permitted values of the normalization-form serialization parameter were, &quot;One of the enumerated values NFC, NFD, NFKC, NFKD, fully-normalized, none or an implementation-defined value.&quot;

Although an XSLT 2.0 (or XSLT 3.0) implementation would never have supplied anything but an nmtoken as the value of that serialization parameter, it&apos;s conceivable that an XQuery 1.0 implementation could support an implementation-defined value for the normalization-form parameter that was not an nmtoken.  As such, changing this to require the normalization-form parameter to be an nmtoken would be a backwards incompatibility.

However, I think it&apos;s extremely unlikely that any implementation would actually have chosen an implementation-defined value for normalization-form that didn&apos;t have the lexical form of an nmtoken, and that the risk of actually breaking an implementation is vanishingly small.  I support your proposal to introduce that restriction in Serialization 3.0.

I am speaking only on my own behalf, not on behalf of the XSLT and XQuery Working Groups.

[1] http://www.w3.org/TR/xslt-xquery-serialization/#serparam</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69756</commentid>
    <comment_count>2</comment_count>
    <who name="Henry Zongaro">zongaro</who>
    <bug_when>2012-07-10 02:18:29 +0000</bug_when>
    <thetext>At the joint teleconference of the XSLT and XQuery Working Groups of 26 June 2012,[2] the working groups decided to change the definition of the normalization-form serialization parameter to require the value to be an NMToken.

Tim, as you were in attendance at the call, I will assume the decision is acceptable to you, and close the bug report.

This will be implemented in the next working draft of Serialization 3.0.

[2] https://lists.w3.org/Archives/Member/w3c-xsl-query/2012Jun/0135.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>