<?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>9890</bug_id>
          
          <creation_ts>2010-06-09 13:05:07 +0000</creation_ts>
          <short_desc>invalid XQTSResult.xsd schema</short_desc>
          <delta_ts>2010-06-15 14:26:20 +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>unspecified</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>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthias Brantner">matthias.brantner</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          <cc>matthias.brantner</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>36065</commentid>
    <comment_count>0</comment_count>
    <who name="Matthias Brantner">matthias.brantner</who>
    <bug_when>2010-06-09 13:05:07 +0000</bug_when>
    <thetext>It seems that the XML schema for validating test suite result submissions contains an error.

When validating Zorba&apos;s submission (using XQTS_current.zip as of June 9th), I get the following error from xmllint:

XQTSResult.xsd:11: element complexType: Schemas parser error : complex type &apos;commentType&apos;: The content model is not determinist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36067</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-06-09 15:41:32 +0000</bug_when>
    <thetext>Interesting. I receive no errors for this schema using ant&apos;s xmlvalidate.

I&apos;ve modified the definition of commentType to be the following: 

   &lt;xsd:complexType name=&quot;commentType&quot;&gt;
      &lt;xsd:sequence minOccurs=&quot;1&quot; maxOccurs=&quot;unbounded&quot;&gt;
         &lt;xsd:choice&gt;         
            &lt;xsd:element ref=&quot;xqtsr:p&quot; /&gt;
            &lt;xsd:any namespace=&quot;##other&quot; processContents=&quot;skip&quot; /&gt;
            &lt;xsd:any namespace=&quot;##local&quot; processContents=&quot;skip&quot; /&gt;
         &lt;/xsd:choice&gt;
      &lt;/xsd:sequence&gt;
   &lt;/xsd:complexType&gt;


Please close this bug report if you are satisfied with this resolution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36068</commentid>
    <comment_count>2</comment_count>
    <who name="Matthias Brantner">matthias.brantner</who>
    <bug_when>2010-06-09 16:22:43 +0000</bug_when>
    <thetext>Thanks but with this change I still get the same error (The content model is not determinist.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36181</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-06-15 14:05:09 +0000</bug_when>
    <thetext>I&apos;ve modified p and commentType as follows:

   &lt;xsd:element name=&quot;p&quot;&gt;
      &lt;xsd:complexType mixed=&quot;true&quot;&gt;
         &lt;xsd:sequence&gt;
            &lt;xsd:any minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot; namespace=&quot;##any&quot; processContents=&quot;skip&quot; /&gt;
         &lt;/xsd:sequence&gt;
      &lt;/xsd:complexType&gt;
   &lt;/xsd:element&gt;

   &lt;xsd:complexType name=&quot;commentType&quot; mixed=&quot;true&quot;&gt;
      &lt;xsd:sequence minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
         &lt;xsd:sequence&gt;         
            &lt;xsd:element ref=&quot;xqtsr:p&quot; /&gt;
         &lt;/xsd:sequence&gt;
      &lt;/xsd:sequence&gt;
   &lt;/xsd:complexType&gt;


This validates the results that I have previously received. I expect that this will remove the xmllint error that you have been getting.  

Please close this bug report if you are satisfied with this resolution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36183</commentid>
    <comment_count>4</comment_count>
    <who name="Matthias Brantner">matthias.brantner</who>
    <bug_when>2010-06-15 14:26:20 +0000</bug_when>
    <thetext>I checked and can confirm that this solution works.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>