<?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>3762</bug_id>
          
          <creation_ts>2006-09-22 17:14:05 +0000</creation_ts>
          <short_desc>schema-element()/schema-attribute() not tested</short_desc>
          <delta_ts>2006-09-27 15:16:13 +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</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</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="Frans Englich">frans.englich</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>11972</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-09-22 17:14:05 +0000</bug_when>
    <thetext>From XQTS 1.0:

bash-2.05b$ find -name &quot;*.xq&quot; | xargs grep -nHR &quot;schema-element&quot;
bash-2.05b$ find -name &quot;*.xq&quot; | xargs grep -nHR &quot;schema-attribute&quot;
bash-2.05b$

It looks like no tests at all exists for the node tests schema-element()/schema-attribute(). I&apos;ve written four tests locally that tests basic error handling, suitable for schema-aware and non schema-aware implementations.

Proposed solution:

* Add a new group under Optional Features/Schema Import Feature that use schema-element()/schema-attribute() with schema types.
* Include my local tests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12103</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2006-09-27 15:16:13 +0000</bug_when>
    <thetext>Yes, that seems the right thing to do.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>