W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2012

[Bug 15693] New: [QT3] extvardef-026, 027

From: <bugzilla@jessica.w3.org>
Date: Tue, 24 Jan 2012 14:44:33 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-15693-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15693

           Summary: [QT3] extvardef-026, 027
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


These test uses schema validation but doesn't have the appropriate dependencies
on the schema import and/or schema validation fatures, and doesn't reference an
environment containing the specified schema.

   <test-case name="extvardef-026">
      <description>Schema validation in default external var, incl variable
type. Type missmatch. </description>
      <created by="David Graf" on="2011-12-05"/>
      <dependency type="spec" value="XQ30+"/>
      <test><![CDATA[
        declare construction strip; 
        import schema namespace hats="http://www.w3.org/XQueryTest/hats" at
"SchemaImport/hats.xsd"; 
        declare variable $x as schema-element(hats:s) external :=
          validate strict {
            <hats:abf> 
              <hats:a/> <hats:b/> <hats:b/> <hats:f/> <hats:f/> <hats:f/> 
            </hats:abf>};
        $x
      ]]></test>
      <result>
         <error code="XPTY0004"/>
      </result>
   </test-case>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 24 January 2012 14:44:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:47 UTC