<?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>5217</bug_id>
          
          <creation_ts>2007-10-21 13:52:11 +0000</creation_ts>
          <short_desc>XQTSResults.xsl : allow inline HTML mark-up</short_desc>
          <delta_ts>2007-11-11 17:47:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>1.0.2</version>
          <rep_platform>All</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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pierrick Brihaye">pierrick.brihaye</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</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>17336</commentid>
    <comment_count>0</comment_count>
    <who name="Pierrick Brihaye">pierrick.brihaye</who>
    <bug_when>2007-10-21 13:52:11 +0000</bug_when>
    <thetext>Currently, the stylesheet has th following template :

&lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  --&gt;
      &lt;!-- xqtsr:p                                                              --&gt;
      &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  --&gt;
      
      &lt;xsl:template match=&apos;xqtsr:p&apos;&gt;
         &lt;p&gt;&lt;xsl:value-of select=&apos;./text()&apos;/&gt;&lt;/p&gt;
      &lt;/xsl:template&gt;

Could it be possible to copy the node&apos;s content in order to allow inlined (HTML) markup ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17337</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-10-21 22:44:21 +0000</bug_when>
    <thetext>XSLT makes it very easy for you to define a private customization of a stylesheet without needing to get the base stylesheet changed. Just write your own stylesheet module that imports the standard one and overrides this one template rule.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17339</commentid>
    <comment_count>2</comment_count>
    <who name="Pierrick Brihaye">pierrick.brihaye</who>
    <bug_when>2007-10-22 07:16:29 +0000</bug_when>
    <thetext>Sure but my question was rather about the &quot;official&quot; presentation of the results on http://www.w3.org/XML/Query/test-suite/XQTSReport.html which, I guess, follows the current &quot;personal use&quot; XSLT.

Currently, the entry for eXist db reads like this :

&gt; Transformation:
&gt;
&gt;    The following tests have been evaluated against results provided by other XQuery processors.

&gt;Comparison:
&gt;
&gt;    The following tests have required a comparison method different from the standard one.

The document provided to the W3C adds some HTML tables after these 2 &lt;p&gt;&apos;s but they are not processed given the XSLT. Notice that there is a problem with the &quot;comparison&quot; table in the provided document and that it will be fixed for the next submission.

Of course, I can provide &lt;p&gt; elements instead of &lt;table&gt;. Just wondering what the is the room for custom markup here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17640</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2007-11-08 23:33:48 +0000</bug_when>
    <thetext>I was trying to keep things as simple as possible when I created this stylesheet.

I&apos;ve extended the three elements that allow xqtsr:p to also allow some of the common HTML elements (p | table | tr | td | ol | ul | li | br). Please note that these elements have an empty namespace URI.

As a consequence, the tables that you supply in the future should be changed to

    &lt;table xmlns=&quot;&quot;&gt;
        &lt;th&gt;
            &lt;td&gt;Test name&lt;/td&gt;
            &lt;td&gt;Comparison method&lt;/td&gt;
        &lt;/th&gt;

    .
    .
    .
   &lt;/table&gt;


I&apos;ve changed this for your current results and will republish our reports shortly.

Please close this bug if you agree with this resolution.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17657</commentid>
    <comment_count>4</comment_count>
    <who name="Pierrick Brihaye">pierrick.brihaye</who>
    <bug_when>2007-11-11 17:47:50 +0000</bug_when>
    <thetext>Excellent. Thank you.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>