<?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>1823</bug_id>
          
          <creation_ts>2005-07-28 15:24:45 +0000</creation_ts>
          <short_desc>Editorial: section 6.2, xs:NCNAME, XSL-T sample code</short_desc>
          <delta_ts>2006-09-18 10:36:59 +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 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Frans Englich">frans.englich</reporter>
          <assigned_to name="Ashok Malhotra">ashok.malhotra</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>5265</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2005-07-28 15:24:45 +0000</bug_when>
    <thetext>Hello,

* The second paragraph after the table in section &quot;6.2 Operators on Numeric
Values&quot; starts with:

&quot;If the two operands are not of the same type,subtype substitution&quot;

A space is missing after &quot;type,&quot;

* Some function signatures refer to the type &quot;xs:NCNAME&quot;, but the valid name is
&quot;xs:NCName&quot;. It is at least these functions:

fn:prefix-from-QName($arg as xs:QName?) as xs:NCNAME? (§11.2.2)
fn:local-name-from-QName($arg as xs:QName?) as xs:NCNAME? (§11.2.3)

I don&apos;t know how widespread this error is; it could be distributed, depending on
how you build the specifications, for example.

* The XSLT implementation in &quot;D.1.2 eg:if-absent&quot; has an error on the second line:
&lt;xsl:param name=&quot;node()&quot; type=&quot;node()?&quot;/&gt;

The attribute &quot;name&quot; is wrong, &quot;node()&quot;. Judging from the other code, it should
be &quot;node&quot;.

(If I had no constraints, I would put all XSLT code in separate files, validate
them with a Schema, and bring in the appropriate sections with XInclude.)


Cheers,
Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5270</commentid>
    <comment_count>1</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-07-28 18:33:10 +0000</bug_when>
    <thetext>I have fixed the first typo you found.  The other two issues have been
corrected based on earlier comments.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>