<?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>24466</bug_id>
          
          <creation_ts>2014-02-02 02:05:28 +0000</creation_ts>
          <short_desc>Editorial issues in XSLT 3.0 Last-call draft (missing text, missing link targets)</short_desc>
          <delta_ts>2014-02-24 15:10:45 +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>XSLT 3.0</component>
          <version>Last Call 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>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="Michael Kay">mike</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>99576</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2014-02-02 02:05:28 +0000</bug_when>
    <thetext>Some issues in the text of the XSLT 3.0 Last Call draft have come to my attention.

Missing link targets for (some occurrences of) the terms dynamic error, type error, implementation-dependent.  These appear in sections 20.2.2, 21.1.2.7, 21.2.2, Appendix E, and possibly others. It may be simplest to search for XHTML &apos;a&apos; elements with href=&quot;#&quot;.

Missing text (and also a link with href=&quot;#&quot;) in 21.2.2 fn:json-to-xml (after &quot;not&quot;):  &quot;The function is not : that is, if the function is called twice with the same arguments, it is implementation-dependent whether the same node is returned on both occasions.&quot; 

I don&apos;t know why the link checker didn&apos;t find these.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101229</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-24 11:52:32 +0000</bug_when>
    <thetext>I think what is happening here is that the build relies on DTD-based ID/IDREF checking to ensure that termref elements refer to a matching term; but text that is incorporated (by an XSLT processing phase) from the separate function-catalog.xml file is not subjected to ID/IDREF validation, and therefore dangling references go undetected. Because the generated HTML links to &apos;#&apos;. which is a valid link, the HTML link checker doesn&apos;t catch it either.

I have added a stylesheet to the pipeline to check these internal references. Interestingly, this finds quite a few errors where the link target is present but is of the wrong kind; e.g. a termref that is satisfied by a section ID rather than by a termdef ID. ID/IDREF checking of course won&apos;t spot this problem.

I have fixed the errors this finds without making a specific list and without change highlighting.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>