<?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>26549</bug_id>
          
          <creation_ts>2014-08-10 08:33:51 +0000</creation_ts>
          <short_desc>[f+o 3.1] Non-ascii character in spec rendered incorrectly</short_desc>
          <delta_ts>2014-11-17 09:48:17 +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>Functions and Operators 3.1</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>jim.melton</cc>
          
          <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>110049</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-08-10 08:33:51 +0000</bug_when>
    <thetext>In section 5.5 of the 3.1 specification at http://www.w3.org/TR/xpath-functions-31, the character &quot;a umlaut&quot; in &quot;Jäger&quot; is incorrectly rendered as &quot;square root, section sign&quot; in my browser. It is correctly rendered in the 3.0 version of the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110050</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-08-10 09:27:23 +0000</bug_when>
    <thetext>Another corruption occurs in 9.8.4.1 (format-date) where the width modifier syntax appears as

¬†¬†¬†&quot;,&quot;¬†¬†min-width (&quot;-&quot; max-width)?

and another in 9.8.5 where the German for 31st is given as

einunddrei√üigste

However, pi and theta appear correctly in the specs of math functions, and the Islamic and Thai dates in 9.8.5 also appear correct, as do the Arabic-Indic digits and the Italian ordinal indicators in 4.6.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110051</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-08-10 19:48:39 +0000</bug_when>
    <thetext>Looking at the CVS log, it seems the corruptions go back to the first version of the 3.1 xpath-functions.xml, which was apparently copied incorrectly from the 3.0 version of the document. (But it&apos;s hard to be sure, because my CVS client has a compare utility that is itself not showing these characters correctly). The corruptions moreover appear to be in some sense cumulative, in that different CVS commits show different variations of the character.

Probably the best solution is to replace all non-ASCII characters in the source by character references or entity references, to reduce the risk of further corruption if someone uses a non-UTF-8 editor to edit the file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110053</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-08-10 22:27:54 +0000</bug_when>
    <thetext>The non-ASCII characters in the xpath-functions.xml file are in the following sections:

namespace-prefixes - mdash, OK.
defining-decimal-format - per mille sign - seems OK
uca-collations - wrong (strength) A=a=√Ç=√¢, should be A=a=Â=â
substring.functions - Jaeger should contain &quot;a umlaut&quot; (several times)
date-time-duration-conformance - mdash, codepoint 8212 (twice), in deleted text.
date-picture-string - ¬†¬†¬†&quot;,&quot;¬†¬†min-width (&quot;-&quot; max-width)? should use NBSP 
formatting-timezones - uses NBSP twice, written as entity ref, OK.
date-time-examples - German example einunddrei√üigste Dezember is wrong, but the Hebrew, Arabic and Thai examples look OK.
casting-to-float - wrong, √ó should be &lt;=
casting-to-double - wrong, √ó should be &lt;=
ISO10967 - mdash, OK.
ISO15924 - mdash, OK.
ISO15924_register - mdash, OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111620</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-09-16 19:46:18 +0000</bug_when>
    <thetext>Correction, the symbol in casting-to-float and -double should be a multiplication sign.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111621</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-09-16 19:48:37 +0000</bug_when>
    <thetext>These problems have been fixed by use of entities defined in the DTD.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>