<?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>30190</bug_id>
          
          <creation_ts>2017-10-28 21:29:24 +0000</creation_ts>
          <short_desc>[f+O3.1] Namespace documents contain bad links in normative references</short_desc>
          <delta_ts>2017-12-20 10:51:41 +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>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</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="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>andrew_coleman</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>128943</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2017-10-28 21:29:24 +0000</bug_when>
    <thetext>The namespace documents for

http://www.w3.org/2005/xpath-functions
http://www.w3.org/2005/xpath-functions/map
http://www.w3.org/2005/xpath-functions/math
http://www.w3.org/2005/xpath-functions/array

contain bad links in the Normative References section.

For example, the HTML source of the xpath-functions namespace document contains the markup

&lt;p&gt;&lt;a href=&quot;XQuery and XPath Functions and Operators 3.1&quot;&gt;XQuery and XPath Functions and Operators 3.1&lt;/a&gt; (21 March 2017 version)&lt;/p&gt;

Leading to a 404 error if the link is clicked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129015</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Coleman">andrew_coleman</who>
    <bug_when>2017-12-13 14:28:40 +0000</bug_when>
    <thetext>Hi Mike, it would appear that the hrefs were stripped out in a commit that you applied while preparing these documents for publication as recommendation:

https://lists.w3.org/Archives/Member/member-xsl-query-commit/2017Mar/0058.html

Was this intentional?  I suspect this is why the links are broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129019</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2017-12-19 12:53:09 +0000</bug_when>
    <thetext>Thanks for the analysis, Andrew.

The change certainly wasn&apos;t deliberate, it was an unintended side-effect of some kind of change in the build process for these documents.

I get the impression you have fixed the problem manually in the generated HTML, which is probably fine, though I would like to be confident that it&apos;s also fixed at source if anyone every rebuilds the documents.

I have identified the build problem at line 197 of ns-blank-2017.xsl where

        &lt;a href=&quot;{$etc-bibl/@key}&quot;&gt;
          &lt;xsl:value-of select=&quot;$etc-bibl/@key&quot;/&gt; 
        &lt;/a&gt;

should read

        &lt;a href=&quot;{$etc-bibl/titleref/@href}&quot;&gt;
          &lt;xsl:value-of select=&quot;$etc-bibl/@key&quot;/&gt; 
        &lt;/a&gt;

I will rebuild and commit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129025</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Coleman">andrew_coleman</who>
    <bug_when>2017-12-20 10:51:41 +0000</bug_when>
    <thetext>resolved in latest commit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>