<?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>6798</bug_id>
          
          <creation_ts>2009-04-10 11:43:34 +0000</creation_ts>
          <short_desc>moki: fragment references to the primary resources are retrieved</short_desc>
          <delta_ts>2009-04-16 14:27:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>Other</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="fd">fd</reporter>
          <assigned_to name="fd">fd</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24646</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-04-10 11:43:34 +0000</bug_when>
    <thetext>Related test in the test suite: LINK_TARGET_FORMAT/1

The comparison between URIs does not exclude the fragment part. The consequence is that fragment links to sections of the primary document are considered to be different URIs and are retrieved accordingly.

The retrieval is useless since the resource has already been retrieved. Listing the fragments in the &quot;links&quot; section of the moki representation could be of some use in theory, but in practice, LINK_TARGET_FORMAT-3 is the only mobileOK subtest that is impacted by fragment links and it actually parses the XHTML representation of the resource under test to assert whether there are invalid fragment references to the primary resource.

In short: no need to retrieve the resource another time, and no need to list internal fragments in the links section anyway.

[NB: the bug is fixed in the soon-to-be-committed version of the library]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24774</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-04-16 14:27:50 +0000</bug_when>
    <thetext>The re-factored version released for bug 6800 compares URIs without taking the fragment into account.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>