W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2006

[Bug 3972] Running Schema Import Feature tests

From: <bugzilla@wiggum.w3.org>
Date: Thu, 16 Nov 2006 12:41:36 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GkgYi-0000GU-Jy@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3972

           Summary: Running Schema Import Feature tests
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


Could you please offer some guidance on how to run Schema Import Feature
queries in conjunction with static typing.  To perform static type checking,
the type of $input-context needs to be specified.  However, in
SpecialTypes.xsd, the element "root" is defined using an anonymous type.



(: Name: ForExprType026 :)
(: Description: FLWOR expressions with type declaration (attribute type). Match
user defined simple type on attribute :)


(: insert-start :)
import schema default element namespace "http://typedecl";

declare variable $input-context external;
(: insert-end :)

for $test as attribute( att,Enumeration ) in
$input-context/root/UserDefinedSimpleTypeAttribute/@att
return data( $test )
Received on Thursday, 16 November 2006 12:44:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:16 UTC