<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="XQTSCatalog.xsl" ?><test-suite xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CatalogDesignDate="2003-04-03" version="1.0.3" SourceOffsetPath="./" ResultOffsetPath="ExpectedTestResults/" XQueryQueryOffsetPath="Queries/XQuery/" XQueryXQueryOffsetPath="Queries/XQueryX/" XQueryFileExtension=".xq" XQueryXFileExtension=".xqx" xsi:schemaLocation="http://www.w3.org/2005/02/query-test-XQTSCatalog XQTSCatalog.xsd">
<xqts:test-suite-info xmlns:xqts="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:atom="http://www.w3.org/2005/Atom">
<xqts:title>XQTS 1.0.3 Second Edition Subset</xqts:title>
<xqts:description>
            Test Suite for XQuery 1.0 Second Edition.
            This catalog contains only test cases that reflect changes made in XQuery 1.0 Second Edition.
            This XQTS subset was generated on 09/17/2010 15:10.
         </xqts:description>
</xqts:test-suite-info>
<citations>
<citation-spec name="XQuery">
<description last-mod="2007-01-23">XQuery 1.0: An XML Query Language</description>
<spec-URI>http://www.w3.org/TR/xquery/</spec-URI>
</citation-spec>
<citation-spec name="FuncOps">
<description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Functions and Operators</description>
<spec-URI>http://www.w3.org/TR/xpath-functions/</spec-URI>
</citation-spec>
<citation-spec name="DataModel">
<description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Data Model</description>
<spec-URI>http://www.w3.org/TR/xpath-datamodel/</spec-URI>
</citation-spec>
<citation-spec name="FormalSemantics">
<description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Formal Semantics</description>
<spec-URI>http://www.w3.org/TR/xquery-semantics/</spec-URI>
</citation-spec>
<citation-spec name="SchemaPart2">
<description last-mod="2003-03-25">XML Schema Part 2: Datatypes</description>
<spec-URI>http://www.w3.org/TR/xmlschema-2/</spec-URI>
</citation-spec>
<citation-spec name="Schema-Errata">
<description last-mod="2003-03-25">XML Schema Errata</description>
<note>Current practice is to have one Errata document for all parts of Schema.</note>
<spec-URI>http://www.w3.org/2001/05/xmlschema-errata</spec-URI>
</citation-spec>
<citation-spec name="UseCases">
<description last-mod="2006-07-12">XML Query Use Cases</description>
<spec-URI>http://www.w3c.org/TR/xquery-use-cases/</spec-URI>
</citation-spec>
<citation-spec name="XQueryX">
<description last-mod="2007-01-23">XML Syntax for XQuery 1.0 (XQueryX)</description>
<spec-URI>http://www.w3.org/TR/xqueryx/</spec-URI>
</citation-spec>
<citation-spec name="Serialization">
<description last-mod="2007-01-23">XSLT 2.0 and XQuery 1.0 Serialization</description>
<spec-URI>http://www.w3.org/TR/xslt-xquery-serialization/</spec-URI>
</citation-spec>
</citations>
<comparisons>
<comparison name="XML">
<description last-mod="2003-03-25">The XML InfoSets should be canonicalized and compared.</description>
</comparison>
<comparison name="Fragment">
<description last-mod="2004-10-20">
            A 'fragment' refers to an XML based instance which has multiple top-level elements and NO XML declaration.
            The comparator for this should simply wrap the entire fragment in a container element and perform XML comparison.
         </description>
</comparison>
<comparison name="Text">
<description last-mod="2003-03-25">
            Each line of non-whitespace text should match. New-line sequences
            may vary and should be neutralized. Due to issues with the XML serialization of certain characters (e.g. '&lt;'),
            it is not possible to simply compare the actual and expected results. Rather (as is the case with the 'Fragment' comparator)
            the test harness should convert the results into valid XML (by adding a container element) and perform comparison
            on the XML canonicalized versions of the results.
         </description>
</comparison>
<comparison name="Ignore">
<description last-mod="2003-03-25">
            Only the presence/absence of this file is significant,
            not its content.
         </description>
</comparison>
<comparison name="Inspect">
<description last-mod="2003-03-25">
            Automated comparison is not possible. the output should be
            inspected by a human.
         </description>
</comparison>
</comparisons>
<roles>
<role name="principal-data">
<description last-mod="2003-03-25">
            This is the source that is handed in to the processor as the
            initial input sequence, setting the "evaluation context" as described in XQuery chapter 2.
         </description>
</role>
<role name="supplemental-data">
<description last-mod="2003-03-25">
            These are sources that may be read by functions such as
            fn:document() as the query is evaluated.
         </description>
</role>
<role name="schema">
<description last-mod="2003-03-25">
            These are schema definitions that may be referenced by sources
            or in the query.
         </description>
</role>
<role name="dtd">
<description last-mod="2003-03-25">
            These are dtd definitions that may be referenced by sources
            or in the query.
         </description>
</role>
<role name="principal">
<description last-mod="2003-03-25">
            This is an output (either text or XML) that will contain the
            query results. If the processor invocation sequence accepts a filename for results, this name may be
            passed, possibly prefixed by a partial directory path to allow storage of the results in a separate
            directory tree.
         </description>
</role>
<role name="console-log">
<description last-mod="2003-03-25">
            This is an output (text file tagged .log) that will contain the
            captured "console" output for a command-line invocation, or equivalent messages from a harness. The
            main goal is to capture error messages that came from the processor.
         </description>
<note>
            A test lab may choose to capture console output for every test case, in which case the presence
            of this element is a signal that the console log of this test contains messages that are significant to
            the pass/fail determination.
         </note>
</role>
</roles>
<scenarios>
<scenario name="standard">
<description last-mod="2005-06-10">
            A query this is expected to produce valid results. Principal input should always be specified, even if the query doesn't have any PathExpr.
         </description>
</scenario>
<scenario name="parse-error">
<description last-mod="2005-06-10">
            A query this is expected to raise a parsing/syntax error at query parse time. Principal input should always be specified, even if the query doesn't have any PathExpr.
         </description>
</scenario>
<scenario name="runtime-error">
<description last-mod="2005-06-10">
            A query this is expected to raise a runtime error at query parse time. Runtime errors in this case include those raised by static typing rules. Principal input should always be specified, even if the query doesn't have any PathExpr.
         </description>
</scenario>
<scenario name="trivial">
<description last-mod="2006-03-29">
            A query this is expected to produce valid results. Principal input should always be specified, even if the query doesn't have any PathExpr.
            The initial query returns an &lt;xqx:xquery&gt; element (Trivial Embedding of XQuery).
            This embedded query is then executed to produce the final result.
         </description>
</scenario>
</scenarios>
<sources>
<source ID="XQTSCatalog" FileName="XQTSCatalog.xml" Creator="XQuery Test Task Force" schema="XQTSCatalogxsd">
<description last-mod="2005-04-14">XQuery Test Suite Catalog</description>
</source>
<source ID="bib2" FileName="TestSources/bib2.xml" Creator="spec-authors">
<description last-mod="2003-03-25">Bibliography example with extra comments and PIs.</description>
</source>
<source ID="emptydoc" FileName="TestSources/emptydoc.xml" Creator="David Marston">
<description last-mod="2003-03-25">Contains just a "doc" element, no comments/text/PIs.</description>
</source>
<source ID="fsx" FileName="TestSources/fsx.xml" Creator="Mike Rorke">
<description last-mod="2003-03-25">Data about a filesystem represented in XML.</description>
</source>
<source ID="fsx_NS" FileName="TestSources/fsx_NS.xml" Creator="Mike Rorke">
<description last-mod="2003-03-25">Data about a filesystem represented in XML with namespace-qualified names.</description>
</source>
<source ID="MixNS" FileName="TestSources/MixNS.xml" Creator="David Marston">
<description last-mod="2003-03-25">Small tree with element names in mixed namespaces.</description>
<note>Use @index to identify elements precisely.</note>
</source>
<source ID="nw_Customers" FileName="TestSources/nw_Customers.xml" Creator="Kuen Siew">
<description last-mod="2003-03-25">Customer name/address file with some non-ASCII characters.</description>
</source>
<source ID="TopMany" FileName="TestSources/TopMany.xml" Creator="David Marston">
<description last-mod="2003-03-25">Like TreeCompass, but with comments and PIs off the root. PI targets vary.</description>
<note>All text nodes must have non-whitespace characters.</note>
</source>
<source ID="Tree1Child" FileName="TestSources/Tree1Child.xml" Creator="David Marston">
<description last-mod="2003-03-25">A "compass" tree that has just one child, of an abnormal name, off the center node.</description>
<note>One attribute each on west and center.</note>
</source>
<source ID="Tree1Text" FileName="TestSources/Tree1Text.xml" Creator="David Marston">
<description last-mod="2003-03-25">A "compass" tree that has just a text node and no child element off the center node.</description>
</source>
<source ID="TreeCompass" FileName="TestSources/TreeCompass.xml" Creator="David Marston">
<description last-mod="2003-03-25">A tree intended to allow many kinds of path expressions.</description>
<note>Need multiple attributes on center, west, and south, plus @mark scattered around.</note>
<note>Mix of text and element children in many places, but east should have only a text node.</note>
<note>All text nodes must have non-whitespace characters.</note>
<note>Top element is far-north.</note>
</source>
<source ID="TreeEmpty" FileName="TestSources/TreeEmpty.xml" Creator="David Marston">
<description last-mod="2003-03-25">A "compass" tree that has just one "south" element at the top, bearing one "mark" attribute.</description>
</source>
<source ID="TreeRepeat" FileName="TestSources/TreeRepeat.xml" Creator="David Marston">
<description last-mod="2003-03-25">A "compass" tree that has center elements off the real center node.</description>
<note>Use @mark to distinguish center elements.</note>
<note>"Real" center must have multiple element children, some with duplicate names (south-east).</note>
<note>Repeating attribute names used, including same name on elements of the same name.</note>
<note>Comments and text nodes are strewn about. All text nodes must have non-whitespace characters.</note>
</source>
<source ID="TreeStack" FileName="TestSources/TreeStack.xml" Creator="David Marston">
<description last-mod="2003-03-25">A "compass" tree that has several "south" elements, some stacked within each other.</description>
<note>Use "mark" attributes at several levels and on all south elements.</note>
</source>
<source ID="TreeTrunc" FileName="TestSources/TreeTrunc.xml" Creator="David Marston">
<description last-mod="2003-03-25">A "compass" tree that has no content at all in center or west, no attributes anywhere.</description>
</source>
<source ID="xq311A" FileName="TestSources/xq311A.xml" Creator="David Marston">
<description last-mod="2003-03-25">Data that fits first example in XQuery 3.11.</description>
</source>
<source ID="xq311B" FileName="TestSources/xq311B.xml" Creator="David Marston">
<description last-mod="2003-03-25">Data that fits later examples in XQuery 3.11.</description>
</source>
<source ID="DupNode" FileName="TestSources/DupNode.xml" Creator="Andreas Behm">
<description last-mod="2005-04-26">Simple document with all node kinds</description>
</source>
<source ID="inscope" FileName="TestSources/inscope.xml" Creator="Andreas Behm">
<description last-mod="2005-08-26">Simple document with namespaces</description>
</source>
<source ID="nsmode" FileName="TestSources/nsmode.xml" Creator="Andreas Behm">
<description last-mod="2005-04-26">Source document for namespace copy modes</description>
</source>
<source ID="works" FileName="TestSources/works.xml" Creator="Carmelo Montanez">
<description last-mod="2005-03-04">Data for various NIST tests</description>
</source>
<source ID="examples" FileName="TestSources/examples.xml" Creator="Carmelo Montanez" schema="examplesxsd">
<description last-mod="2006-05-19">Data for fn-data-1 test.</description>
</source>
<source ID="works-mod" FileName="TestSources/works-mod.xml" Creator="Carmelo Montanez">
<description last-mod="2005-03-04">Data for various NIST tests (abbreviated, unabbreviated syntax)</description>
</source>
<source ID="lang" FileName="TestSources/lang.xml" Creator="Carmelo Montanez">
<description last-mod="2005-10-19">Data for fn:lang tests.</description>
</source>
<source ID="staff" FileName="TestSources/staff.xml" Creator="Carmelo Montanez">
<description last-mod="2005-03-04">Data for various NIST tests</description>
</source>
<source ID="acme_corp" FileName="TestSources/acme_corp.xml" Creator="Ravindranath Chennoju">
<description last-mod="2005-08-30">Source document for Function Declaration tests</description>
</source>
<source ID="bib" FileName="TestSources/bib.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
</source>
<source ID="reviews" FileName="TestSources/reviews.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
</source>
<source ID="books" FileName="TestSources/books.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
</source>
<source ID="prices" FileName="TestSources/prices.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
</source>
<source ID="book" FileName="TestSources/book.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query TREE use cases</description>
</source>
<source ID="report1" FileName="TestSources/report1.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query SEQ use cases</description>
</source>
<source ID="items" FileName="TestSources/items.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
</source>
<source ID="bids" FileName="TestSources/bids.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
</source>
<source ID="users" FileName="TestSources/users.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
</source>
<source ID="string" FileName="TestSources/string.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query STRING use cases</description>
</source>
<source ID="company-data" FileName="TestSources/company-data.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query STRING use cases</description>
</source>
<source ID="auction" FileName="TestSources/auction.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query NS use cases</description>
</source>
<source ID="partlist" FileName="TestSources/partlist.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query PARTS use cases</description>
</source>
<source ID="sgml" FileName="TestSources/sgml.xml" Creator="XML Query WG">
<description last-mod="2005-02-11">Data for the the XML Query SGML use cases</description>
</source>
<source ID="atomic" FileName="TestSources/atomic.xml" Creator="Carmelo Montanez" schema="atomicxsd">
<description last-mod="2005-03-08">A Schema validated xml file, that contains values for data types. Can be used by any test.</description>
</source>
<source ID="id-idref-dtd" FileName="TestSources/iddtd.xml" Creator="Carmelo Montanez">
<description last-mod="2006-06-28">A DTD validated xml file, that contains data for the ID/IDREF function tests.</description>
</source>
<source ID="atomicns" FileName="TestSources/atomicns.xml" Creator="Carmelo Montanez">
<description last-mod="2006-03-15">A non schema validated xml file, that contains values for data types. Can be used by any test.</description>
</source>
<source ID="orderData" FileName="TestSources/orderData.xml" Creator="Carmelo Montanez" schema="orderDataxsd">
<description last-mod="2005-06-01">A Schema validated xml file, that contains values for some of the order by tests generated by NIST.</description>
</source>
<source ID="id-idref" FileName="TestSources/id.xml" Creator="Carmelo Montanez" schema="idxsd">
<description last-mod="2006-05-12">Data for id and idref related functions (schema-based).</description>
</source>
<source ID="id-idref2" FileName="TestSources/id2.xml" Creator="Michael Kay" schema="idxsd">
<description last-mod="2009-03-06">More data for id and idref related functions (schema-based).</description>
</source>
<source ID="SpecialTypes" FileName="TestSources/SpecialTypes.xml" Creator="Mike Rorke" schema="SpecialTypesXSD">
<description last-mod="2005-06-01">A Schema validated XML file containing certain special types e.g. interleave types, union types, anySimpleType</description>
</source>
<source ID="QNameSource" FileName="TestSources/QName-source.xml" Creator="Mike Rorke" schema="QNameSourceXSD">
<description last-mod="2005-09-28">A schema validated XML file containing QName and QName derived types.</description>
</source>
<source ID="notation" FileName="TestSources/notation.xml" Creator="Andreas Behm" schema="notationschema">
<description last-mod="2005-10-10">A Scehma validated xml file with NOTATION elements</description>
</source>
<source ID="textWithSpaces" FileName="TestSources/textWithSpaces.xml" Creator="Joanne Tong">
<description last-mod="2005-09-29">Data for normalize-space functions</description>
</source>
<source ID="XMarkAuction" FileName="TestSources/XMarkAuction.xml" Creator="Frans Englich">
<description last-mod="2007-03-09">Source file generated XML Benchmark Project's xmlgen utility. See http://www.xml-benchmark.org/.</description>
</source>
<source ID="CPPGlobals" FileName="TestSources/CPPGlobals.xml" Creator="Frans Englich">
<description last-mod="2007-06-27">The declarations of a C++ file described in XML.</description>
</source>
<source ID="MainWindow" FileName="TestSources/MainWindow.ui" Creator="Frans Englich">
<description last-mod="2007-07-09">A description of an graphical user interface.</description>
</source>
<source ID="ComplexWhitespace" FileName="TestSources/ComplexWhitespace.xml" Creator="Frans Englich">
<description last-mod="2007-07-09">A file containing different forms of whitespace.</description>
</source>
<source ID="SpaceBracket" FileName="TestSources/SpaceBracket.xml" Creator="Frans Englich">
<description last-mod="2007-12-20">A file containing ' ]' as a text node.</description>
</source>
<source ID="HighUnicode" FileName="TestSources/HighUnicode.xml" Creator="Frans Englich">
<description last-mod="2007-12-20">Corner case unicode codepoints.</description>
</source>
<source ID="HighUnicode2" FileName="TestSources/HighUnicode2.xml" Creator="Frans Englich">
<description last-mod="2007-12-21">Corner case unicode codepoints, second case.</description>
</source>
<source ID="BCIsInvalid" FileName="TestSources/BCisInvalid.xml" Creator="Frans Englich">
<description last-mod="2007-12-21">An element name containing 0xBC.</description>
</source>
<source ID="InvalidUmlaut" FileName="TestSources/InvalidUmlaut.xml" Creator="Frans Englich">
<description last-mod="2007-12-27">Contains the codepoint 188 in an NCName.</description>
</source>
<source ID="NamespaceSuppliedInternally" FileName="TestSources/NamespaceSuppliedInternally.xml" Creator="Frans Englich">
<description last-mod="2007-12-27">A namespace declared with a namespace declaration, as well as in the internal subset.</description>
</source>
<source ID="XMLIdDuplicated" FileName="TestSources/XMLIdDuplicated.xml" Creator="Frans Englich">
<description last-mod="2008-01-15">An XML file which has two xml:id attributes with the same value.</description>
</source>
<source ID="InvalidXMLId" FileName="TestSources/InvalidXMLId.xml" Creator="Frans Englich">
<description last-mod="2008-01-15">An XML file which has an invalid xml:id attribute.</description>
</source>
<source ID="UsingXMLId" FileName="TestSources/UsingXMLId.xml" Creator="Frans Englich">
<description last-mod="2008-01-15">An XML file which has xml:id attributes.</description>
</source>
<source ID="Books2" FileName="TestSources/Books2.xml" Creator="Frans Englich">
<description last-mod="2008-01-17">An XML which is in ISO-8859-1 encoding.</description>
</source>
<source ID="QObject" FileName="TestSources/QObject.xml" Creator="Frans Englich">
<description last-mod="2008-02-19"/>
</source>
<source ID="Char010D" FileName="TestSources/0x010D.xml" Creator="Frans Englich">
<description last-mod="2008-02-28"/>
</source>
<source ID="SmallTree" FileName="TestSources/SmallTree.xml" Creator="Frans Englich">
<description last-mod="2008-04-03"/>
</source>
<source ID="AttributesAndElements" FileName="TestSources/AttributesAndElements.xml" Creator="Frans Englich">
<description last-mod="2008-04-03"/>
</source>
<source ID="functx_prices" FileName="TestSources/functx_prices.xml" Creator="Frans Englich">
<description last-mod="2008-05-16"/>
</source>
<source ID="functx_order" FileName="TestSources/functx_order.xml" Creator="Frans Englich">
<description last-mod="2008-05-16"/>
</source>
<source ID="functx_cats" FileName="TestSources/functx_cats.xml" Creator="Frans Englich">
<description last-mod="2008-05-16"/>
</source>
<source ID="functx_catalog" FileName="TestSources/functx_catalog.xml" Creator="Frans Englich">
<description last-mod="2008-05-16"/>
</source>
<source ID="functx_book" FileName="TestSources/functx_book.xml" Creator="Frans Englich">
<description last-mod="2008-06-25"/>
</source>
<source ID="badxml" FileName="TestSources/badxml.xml" Creator="Frans Englich">
<description last-mod="2008-05-19"/>
</source>
<source ID="builtinEntities" FileName="TestSources/builtinEntities.xml" Creator="Frans Englich">
<description last-mod="2008-05-26"/>
</source>
<source ID="XMLIdWhitespace" FileName="TestSources/XMLIdWhitespace.xml" Creator="Frans Englich">
<description last-mod="2008-05-27"/>
</source>
<source ID="XMLIDMany" FileName="TestSources/XMLIDMany.xml" Creator="Frans Englich">
<description last-mod="2008-10-24"/>
</source>
<source ID="OneTopElement" FileName="TestSources/OneTopElement.xml" Creator="Nicolae Brinza">
<description last-mod="2009-04-01"/>
</source>
<source ID="namespace-sensitive" FileName="TestSources/namespace-sensitive.xml" schema="namespace-sensitive-schema" Creator="Oliver Hallam">
<description last-mod="2007-02-26">Document containing namespace-sensitive constructs.</description>
</source>
<source ID="dm-e005" FileName="TestSources/dm-e005.xml" schema="dm-e005-schema" Creator="Norm Walsh">
<description last-mod="2010-03-10">Document to test erratum DM.E05.</description>
</source>
<source ID="extendedTypes" FileName="TestSources/extendedTypes.xml" schema="extendedTypes-schema" Creator="Oliver Hallam">
<description last-mod="2010-03-17">Document containing elements with various restricted and extended types.</description>
</source>
<source ID="mixed" FileName="TestSources/mixed.xml" schema="mixedcontent" Creator="Oliver Hallam">
<description last-mod="2010-03-17">Document containing an element with mixed content but statically could have element only content.</description>
</source>
<schema ID="XQTSCatalogxsd" uri="http://www.w3.org/2005/02/query-test-XQTSCatalog" FileName="XQTSCatalog.xsd">
<description last-mod="2005-04-14">Schema for XQTSCatalog</description>
</schema>
<schema ID="atomicxsd" uri="http://www.w3.org/XQueryTest" FileName="TestSources/atomic.xsd">
<description last-mod="2005-03-08">A Schema for atomic.xml</description>
</schema>
<schema ID="orderDataxsd" uri="http://www.w3.org/XQueryTestOrderBy" FileName="TestSources/orderData.xsd">
<description last-mod="2005-06-01">A Schema for orderData.xml</description>
</schema>
<schema ID="SpecialTypesXSD" uri="http://www.example.com/typedecl" FileName="TestSources/SpecialTypes.xsd">
<description last-mod="2005-06-01">A Schema containing certain special types e.g. interleave types, union types, anySimpleType</description>
</schema>
<schema ID="QNameSourceXSD" uri="http://www.example.com/QNameXSD" FileName="TestSources/QName-schema.xsd">
<description last-mod="2005-09-28">A schema containing QName and QName derived types</description>
</schema>
<schema ID="notationschema" uri="http://www.example.com/notation" FileName="TestSources/notationschema.xsd">
<description last-mod="2005-10-10">A Schema for NOTATION data</description>
</schema>
<schema ID="idxsd" uri="http://www.w3.org/XQueryTest/ididrefs" FileName="TestSources/id.xsd">
<description last-mod="2009-03-06">A schema for the id/idref functions tests</description>
</schema>
<schema ID="simplexsd" uri="http://www.w3.org/XQueryTest/simple" FileName="TestSources/simple.xsd">
<description last-mod="2005-12-07">A schema for simple context tests</description>
</schema>
<schema ID="examplesxsd" uri="http://www.w3.org/XQueryTest/someExamples" FileName="TestSources/examples.xsd">
<description last-mod="2006-05-19">A schema for examples.xml.</description>
</schema>
<schema ID="userdefined" uri="http://www.w3.org/XQueryTest/userDefinedTypes" FileName="TestSources/userdefined.xsd">
<description last-mod="2006-04-03">A schema user defined types and constructor tests</description>
</schema>
<schema ID="listunion" uri="http://www.w3.org/XQueryTest/ListUnionTypes" FileName="TestSources/listunion.xsd">
<description last-mod="2006-06-07">A schema defining a list of unions.</description>
</schema>
<schema ID="examples2xsd" uri="http://www.w3.org/XQueryTest/someExamples2" FileName="TestSources/examples2.xsd">
<description last-mod="2009-10-01">Test schema for Errata XQ.E6.</description>
</schema>
<schema ID="attribute" uri="http://www.w3.org/XQueryTest/sample" FileName="TestSources/attribute.xsd">
<description last-mod="2009-04-01">Test schema that contains an attribute declaration.</description>
</schema>
<schema ID="mixedcontent" uri="http://www.w3.org/XQueryTest/mixedcontent" FileName="TestSources/mixedcontent.xsd">
<description last-mod="2009-04-01">Test schema that contains two complex types, one of them with a mixed content.</description>
</schema>
<schema ID="simpleContent" uri="http://www.w3.org/query-test/complexSimple" FileName="TestSources/simpleContent.xsd">
<description last-mod="2009-11-20">Schema for complex types with
         simple content</description>
</schema>
<schema ID="namespace-sensitive-schema" uri="http://www.example.com/test/namespace-sensitive" FileName="TestSources/namespace-sensitive.xsd">
<description last-mod="2007-02-26">Schema illustrating various namespace-sensitive constructs.</description>
</schema>
<schema ID="dm-e005-schema" uri="http://www.example.com/ns/test" FileName="TestSources/dm-e005.xsd">
<description last-mod="2010-03-10">Schema to test erratum DM.E05.</description>
</schema>
<schema ID="xq-e18-schema" uri="http://www.example.com/ns/test/xq-e18" FileName="TestSources/xq-e18.xsd">
<description last-mod="2010-03-11">Schema to test erratum XQ.E18.</description>
</schema>
<schema ID="extendedTypes-schema" uri="http://www.example.com/XQueryTest/extendedTypes" FileName="TestSources/extendedTypes.xsd">
<description last-mod="2010-03-17">Schema containing extended and restricted types.</description>
</schema>
<schema ID="constraints" uri="http://www.w3.org/constraints" FileName="TestSources/constraints.xsd">
<description last-mod="2010-06-10">Schema with unique/id/idref constraints.</description>
</schema>
<collection ID="collection1" Creator="Andrew Eisenberg">
<description last-mod="2006-06-07">A simple collection of documents.</description>
<input-document>bib</input-document>
<input-document>reviews</input-document>
</collection>
<collection ID="collection2" Creator="Andrew Eisenberg">
<description last-mod="2006-06-07">A simple collection of documents.</description>
<input-document>bib</input-document>
<input-document>reviews</input-document>
<input-document>books</input-document>
</collection>
<module ID="module1-lib" FileName="TestSources/module1-lib" Creator="Carmelo Montanez">
<description last-mod="2006-07-13">Library module for "modules-18" query</description>
</module>
<module ID="module2-lib" FileName="TestSources/module2-lib" Creator="Carmelo Montanez">
<description last-mod="2006-07-13">Library module for "modules-18" query</description>
</module>
<module ID="empty-lib" FileName="TestSources/empty-lib" Creator="Mary Holstege">
<description last-mod="2005-12-05">Library module for "modules-none" query</description>
</module>
<module ID="emptyns-lib" FileName="TestSources/emptyns-lib" Creator="Mary Holstege">
<description last-mod="2005-12-05">Library module with empty namespace</description>
</module>
<module ID="test1-lib" FileName="TestSources/test1-lib" Creator="Mary Holstege">
<description last-mod="2005-12-05">Simple library module</description>
</module>
<module ID="test2-lib" FileName="TestSources/test2-lib" Creator="Carmelo Montanez">
<description last-mod="2006-01-19">Library module with namespace URI set to empty string.</description>
</module>
<module ID="test1a-lib" FileName="TestSources/test1a-lib" Creator="Mary Holstege">
<description last-mod="2005-12-05">Simple library module</description>
</module>
<module ID="test1collide1-lib" FileName="TestSources/test1collide1-lib" Creator="Mary Holstege">
<description last-mod="2005-12-05">Library module with colliding definitions</description>
</module>
<module ID="test1collide2-lib" FileName="TestSources/test1collide2-lib" Creator="Mary Holstege">
<description last-mod="2005-12-05">Library module with colliding definitions</description>
</module>
<module ID="test1c1-lib" FileName="TestSources/test1c1-lib" Creator="Mary Holstege">
<description last-mod="2005-12-05">Library module with circular includes</description>
</module>
<module ID="test2c1-lib" FileName="TestSources/test2c1-lib" Creator="Mary Holstege">
<description last-mod="2005-12-05">Library module with circular includes</description>
</module>
<module ID="context-lib" FileName="TestSources/context-lib" Creator="Mary Holstege">
<description last-mod="2005-12-05">Library module with interesting context</description>
</module>
<module ID="module-defs" FileName="TestSources/moduleDefs-lib" Creator="Carmelo Montanez">
<description last-mod="2006-01-06">Library module with definitions for various NIST tests.</description>
</module>
<module ID="modulewrongprefix-lib" FileName="TestSources/moduleDefs-lib" Creator="Carmelo Montanez">
<description last-mod="2006-03-21">Library module with invalid namespace prefix ("xml")</description>
</module>
<module ID="modulesdiffns" FileName="TestSources/modulesdiffns-lib" Creator="Carmelo Montanez">
<description last-mod="2006-04-11">Library module with variable on different namespace than target.</description>
</module>
<module ID="errata6-module1" FileName="TestSources/errata6-module1" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
</module>
<module ID="errata6-module2" FileName="TestSources/errata6-module2" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
</module>
<module ID="errata6-module4" FileName="TestSources/errata6-module4" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
</module>
<module ID="errata6-module5" FileName="TestSources/errata6-module5" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
</module>
<module ID="errata6-module6" FileName="TestSources/errata6-module6" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
</module>
<module ID="errata6-module7" FileName="TestSources/errata6-module7" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
</module>
<module ID="errata8-module1a" FileName="TestSources/errata8-module1a" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies.</description>
</module>
<module ID="errata8-module1b" FileName="TestSources/errata8-module1b" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies.</description>
</module>
<module ID="errata8-module2a" FileName="TestSources/errata8-module2a" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies.</description>
</module>
<module ID="errata8-module2b" FileName="TestSources/errata8-module2b" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies.</description>
</module>
<module ID="errata8-module3a" FileName="TestSources/errata8-module3a" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies pass case.</description>
</module>
<module ID="errata8-module3b" FileName="TestSources/errata8-module3b" Creator="John Snelson">
<description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies pass case.</description>
</module>
<module ID="module3-lib" FileName="TestSources/module3-lib" Creator="Nicolae Brinza">
<description last-mod="2009-04-01">Module with simple and schema-element() types, used for functions'parameters and return results.</description>
</module>
<module ID="module4-lib" FileName="TestSources/module4-lib" Creator="Nicolae Brinza">
<description last-mod="2009-04-01">Module with schema-attribute() types, used for functions' parameters and return results.</description>
</module>
<module ID="modules-recursive1" FileName="TestSources/modules-recursive1" Creator="Nicolae Brinza">
<description last-mod="2009-04-01">Module with cyclic recursive imports.</description>
</module>
<module ID="modules-recursive2" FileName="TestSources/modules-recursive2" Creator="Nicolae Brinza">
<description last-mod="2009-04-01">Module with cyclic recursive imports.</description>
</module>
<module ID="module-pub-priv" FileName="TestSources/module-pub-priv" Creator="Michael Kay">
<description last-mod="2009-10-01">Module that contains both private and public function declarations (XQuery 1.1).</description>
</module>
</sources>
<implementation-defined-items>
<implementation-defined-item name="expressionUnicode" spec="XQuery">
<description last-mod="2005-04-04">The version of Unicode that is used to construct expressions.</description>
</implementation-defined-item>
<implementation-defined-item name="collations" spec="XQuery">
<description last-mod="2005-04-04">The statically-known collations.</description>
</implementation-defined-item>
<implementation-defined-item name="implicitTimezone" spec="XQuery">
<description last-mod="2005-04-04">The implicit timezone.</description>
</implementation-defined-item>
<implementation-defined-item name="warningsMethod" spec="XQuery">
<description last-mod="2005-04-04">The circumstances in which warnings are raised, and the ways in which warnings are handled.</description>
</implementation-defined-item>
<implementation-defined-item name="errorsMethod" spec="XQuery">
<description last-mod="2005-04-04">The method by which errors are reported to the external processing environment.</description>
</implementation-defined-item>
<implementation-defined-item name="XMLVersion" spec="XQuery">
<description last-mod="2005-10-10">Whether the implementation is based on the rules of [XML 1.0] and [XML Names] or the rules of [XML 1.1] and [XML Names 1.1]. One of these sets of rules must be applied consistently by all aspects of the implementation.</description>
</implementation-defined-item>
<implementation-defined-item name="overwrittenContextComponents" spec="XQuery">
<description last-mod="2005-04-04">Any components of the static context or dynamic context that are overwritten or augmented by the implementation.</description>
</implementation-defined-item>
<implementation-defined-item name="axes" spec="XQuery">
<description last-mod="2005-04-04">Which of the optional axes are supported by the implementation, if the Full-Axis Feature is not supported.</description>
</implementation-defined-item>
<implementation-defined-item name="defaultOrderEmpty" spec="XQuery">
<description last-mod="2005-04-04">The default handling of empty sequences returned by an ordering key (sortspec) in an order by clause (empty least or empty greatest).</description>
</implementation-defined-item>
<implementation-defined-item name="pragmas" spec="XQuery">
<description last-mod="2005-04-04">The names and semantics of any extension expressions (pragmas) recognized by the implementation.</description>
</implementation-defined-item>
<implementation-defined-item name="optionDeclarations" spec="XQuery">
<description last-mod="2005-04-04">The names and semantics of any option declarations recognized by the implementation.</description>
</implementation-defined-item>
<implementation-defined-item name="externalFunctionProtocols" spec="XQuery">
<description last-mod="2005-04-04">Protocols (if any) by which parameters can be passed to an external function, and the result of the function can returned to the invoking query.</description>
</implementation-defined-item>
<implementation-defined-item name="moduleLocationHints" spec="XQuery">
<description last-mod="2005-11-01">The process by which the specific modules to be imported by a module import are identified, if the Module Feature is supported (includes processing of location hints, if any.)</description>
</implementation-defined-item>
<implementation-defined-item name="staticTypingExtensions" spec="XQuery">
<description last-mod="2005-04-04">Any static typing extensions supported by the implementation, if the Static Typing Feature is supported.</description>
</implementation-defined-item>
<implementation-defined-item name="serializationInvocation" spec="XQuery">
<description last-mod="2005-04-04">The means by which serialization is invoked, if the Serialization Feature is supported.</description>
</implementation-defined-item>
<implementation-defined-item name="serializationDefaults" spec="XQuery">
<description last-mod="2005-10-10">The default values for the byte-order-mark, encoding, media-type, normalization-form, omit-xml-declaration, standalone, and version parameters, if the Serialization Feature is supported.</description>
</implementation-defined-item>
<implementation-defined-item name="externalFunctionCall" spec="XQuery">
<description last-mod="2006-08-09">The result of an unsuccessful call to an external function (for example, if the function implementation cannot be found or does not return a value of the declared type).</description>
</implementation-defined-item>
<implementation-defined-item name="limits" spec="XQuery">
<description last-mod="2005-11-01">Limits on ranges of values for various data types, as enumerated in 5.3 Data Model Conformance.</description>
</implementation-defined-item>
<implementation-defined-item name="traceDestination" spec="FuncOps">
<description last-mod="2005-10-10">The destination of the trace output is implementation-defined. See 4 The Trace Function.</description>
</implementation-defined-item>
<implementation-defined-item name="integerOperations" spec="FuncOps">
<description last-mod="2005-10-10">For xs:integer operations, implementations that support limited-precision integer operations must either raise an error [err:FOAR0002] or provide an implementation-defined mechanism that allows users to choose between raising an error and returning a result that is modulo the largest representable integer value. See 6.2 Operators on Numeric Values.</description>
</implementation-defined-item>
<implementation-defined-item name="decimalDigits" spec="FuncOps">
<description last-mod="2005-11-01">For xs:decimal values the number of digits of precision returned by the numeric operators is implementation-defined. See 6.2 Operators on Numeric Values. See also 17.1.3.3 Casting to xs:decimal and 17.1.3.4 Casting to xs:integer.</description>
</implementation-defined-item>
<implementation-defined-item name="roundOrTruncate" spec="FuncOps">
<description last-mod="2005-10-10">If the number of digits in the result exceeds the number of digits that the implementation supports, the result is truncated or rounded in an implementation-defined manner. See 6.2 Operators on Numeric Values. See also 17.1.3.3 Casting to xs:decimal and 17.1.3.4 Casting to xs:integer.</description>
</implementation-defined-item>
<implementation-defined-item name="Unicode" spec="FuncOps">
<description last-mod="2005-11-01">It is implementation-defined which version of Unicode is supported by the features defined in this specification, but it is recommended that the most recent version of Unicode be used. See 7.1 String Types.</description>
</implementation-defined-item>
<implementation-defined-item name="normalizationForms" spec="FuncOps">
<description last-mod="2005-10-10">For 7.4.6 fn:normalize-unicode, conforming implementations must support normalization form "NFC" and may support normalization forms "NFD", "NFKC", "NFKD", "FULLY-NORMALIZED". They may also support other normalization forms with implementation-defined semantics.</description>
</implementation-defined-item>
<implementation-defined-item name="collationUnits" spec="FuncOps">
<description last-mod="2005-10-10">The ability to decompose strings into collation units suitable for substring matching is an implementation-defined property of a collation. See 7.5 Functions Based on Substring Matching.</description>
</implementation-defined-item>
<implementation-defined-item name="secondsDigits" spec="FuncOps">
<description last-mod="2005-10-10">All minimally conforming processors must support year values with a minimum of 4 digits (i.e., YYYY) and a minimum fractional second precision of 1 millisecond or three digits (i.e., s.sss). However, conforming processors may set larger implementation-defined limits on the maximum number of digits they support in these two situations. See 10.1.1 Limits and Precision.</description>
</implementation-defined-item>
<implementation-defined-item name="stringToDecimal" spec="FuncOps">
<description last-mod="2006-08-09">The result of casting a string to xs:decimal, when the resulting value is not too large or too small but nevertheless has too many decimal digits to be accurately represented, is implementation-defined. See 17.1.1 Casting from xs:string and xs:untypedAtomic.</description>
</implementation-defined-item>
<implementation-defined-item name="docProcessing" spec="FuncOps">
<description last-mod="2005-10-10">Various aspects of the processing provided by 15.5.4 fn:doc are implementation-defined. Implementations may provide external configuration options that allow any aspect of the processing to be controlled by the user.</description>
</implementation-defined-item>
<implementation-defined-item name="weakenStable" spec="FuncOps">
<description last-mod="2006-08-09">The manner in which implementations provide options to weaken the stable characteristic of 15.5.6 fn:collection and 15.5.4 fn:doc are implementation-defined.</description>
</implementation-defined-item>
<implementation-defined-item name="additionalTypes" spec="DataModel">
<description last-mod="2005-04-04">Support for additional user-defined or implementation-defined types is implementation-defined. (See 2.6.1 Representation of Types)</description>
</implementation-defined-item>
<implementation-defined-item name="undefinedProperties" spec="DataModel">
<description last-mod="2005-04-04">Some typed values in the data model are undefined. Attempting to access an undefined property is always an error. Behavior in these cases is implementation-defined and the host language is responsible for determining the result. (See 5 Accessors)</description>
</implementation-defined-item>
<implementation-defined-item name="sequenceNormalization" spec="Serialization">
<description last-mod="2005-04-04">For any implementation-defined output method, it is implementation-defined whether sequence normalization process takes place. (See 2 Sequence Normalization)</description>
</implementation-defined-item>
<implementation-defined-item name="outputMethods" spec="Serialization">
<description last-mod="2005-04-04">If the namespace URI is non-null for the method serialization parameter, then the parameter specifies an implementation-defined output method. (See 3 Serialization Parameters)</description>
</implementation-defined-item>
<implementation-defined-item name="normalizationFormBehavior" spec="Serialization">
<description last-mod="2005-04-04">If the value of the normalization-form form parameter is not NFC, NFD, NFKC, NFKD, fully-normalized, or none then the meaning of the value and it's effect is implementation-defined. (See 4 Phases of Serialization)</description>
</implementation-defined-item>
<implementation-defined-item name="additionalParams" spec="Serialization">
<description last-mod="2005-11-01">The effect of additional serialization parameters on the output of the serializer, where the name of such a parameter must be namespace-qualified, is implementation-defined or implementation-dependent. The extent of this effect on the output must not override the provisions of this specification. (See 3 Serialization Parameters)</description>
</implementation-defined-item>
<implementation-defined-item name="encodingPhase" spec="Serialization">
<description last-mod="2005-04-04">The effect of providing an option that allows the encoding phase to be skipped, so that the result of serialization is a stream of Unicode characters, is implementation-defined. The serializer is not required to support such an option. (See 4 Phases of Serialization)</description>
</implementation-defined-item>
<implementation-defined-item name="CDATASerialization" spec="Serialization">
<description last-mod="2005-04-04">An serializer may provide an implementation-defined mechanism to place CDATA sections in the result tree. (See 5.1.4 XML Output Method: the cdata-section-elements Parameter)</description>
</implementation-defined-item>
</implementation-defined-items>
<features>
<feature name="Minimal Conformance"/>
<feature name="Schema Import"/>
<feature name="Schema Validation"/>
<feature name="Static Typing"/>
<feature name="Static Typing Extensions"/>
<feature name="Full Axis"/>
<feature name="Module"/>
<feature name="Serialization"/>
</features>
<context-properties>
<context-property name="Statically known namespaces" context-type="static"/>
<context-property name="Default element/type namespace" context-type="static"/>
<context-property name="Default function namespace" context-type="static"/>
<context-property name="In-scope schema types" context-type="static"/>
<context-property name="In-scope element declarations" context-type="static"/>
<context-property name="In-scope attribute declarations" context-type="static"/>
<context-property name="In-scope variables" context-type="static"/>
<context-property name="Context item static type" context-type="static"/>
<context-property name="Function signatures" context-type="static"/>
<context-property name="Statically known collations" context-type="static"/>
<context-property name="Default collation" context-type="static"/>
<context-property name="Construction mode" context-type="static"/>
<context-property name="Ordering mode" context-type="static"/>
<context-property name="Default order for empty sequences" context-type="static"/>
<context-property name="Boundary-space policy" context-type="static"/>
<context-property name="Copy-namespaces mode" context-type="static"/>
<context-property name="Base URI" context-type="static"/>
<context-property name="Statically known documents" context-type="static"/>
<context-property name="Statically known collections" context-type="static"/>
<context-property name="Statically known default collection type" context-type="static"/>
<context-property name="Context item" context-type="dynamic"/>
<context-property name="Context position" context-type="dynamic"/>
<context-property name="Context size" context-type="dynamic"/>
<context-property name="Variable values" context-type="dynamic"/>
<context-property name="Function implementations" context-type="dynamic"/>
<context-property name="Current dateTime" context-type="dynamic"/>
<context-property name="Implicit timezone" context-type="dynamic"/>
<context-property name="Available documents" context-type="dynamic"/>
<context-property name="Available collections" context-type="dynamic"/>
<context-property name="Default collection" context-type="dynamic"/>
</context-properties>
<xqts:test-group xmlns:xqts="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:atom="http://www.w3.org/2005/Atom" name="MinimalConformance">
<xqts:GroupInfo>
<xqts:title>Minimal Conformance</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
</xqts:test-group>
<xqts:test-group xmlns:xqts="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:atom="http://www.w3.org/2005/Atom" name="XQuery2ed">
<xqts:GroupInfo>
<xqts:title>Optional Features</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<xqts:test-group name="DM.E002">
<xqts:GroupInfo>
<xqts:title>DM.E002</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" Creator="Mary Holstege" name="validate-sc-1" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
<description>Test validation of elements of simple content</description>
<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
<query name="validateexpr-sc-1" date="2009-11-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<!-- role=schema forbidden by DTD, but this is the schema to use:
     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
<output-file role="principal" compare="Fragment">validateexpr-sc-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-2" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
<description>Test validation of elements of simple content</description>
<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
<query name="validateexpr-sc-2" date="2009-11-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<!-- role=schema forbidden by DTD, but this is the schema to use:
     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
<output-file role="principal" compare="Fragment">validateexpr-sc-2.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-4" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
<description>Test validation of elements of simple content</description>
<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
<query name="validateexpr-sc-4" date="2009-11-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<!-- role=schema forbidden by DTD, but this is the schema to use:
     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
<output-file role="principal" compare="Fragment">validateexpr-sc-4.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-5" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
<description>Test validation of elements of simple content</description>
<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
<query name="validateexpr-sc-5" date="2009-11-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<!-- role=schema forbidden by DTD, but this is the schema to use:
     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
<output-file role="principal" compare="Fragment">validateexpr-sc-5.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-6" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
<description>Test validation of elements of simple content</description>
<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
<query name="validateexpr-sc-6" date="2009-11-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<!-- role=schema forbidden by DTD, but this is the schema to use:
     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
<output-file role="principal" compare="Fragment">validateexpr-sc-6.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-7" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
<description>Test validation of elements of simple content</description>
<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
<query name="validateexpr-sc-7" date="2009-11-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<!-- role=schema forbidden by DTD, but this is the schema to use:
     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
<output-file role="principal" compare="Fragment">validateexpr-sc-7.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-8" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
<description>Test validation of elements of simple content</description>
<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
<query name="validateexpr-sc-8" date="2009-11-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<!-- role=schema forbidden by DTD, but this is the schema to use:
     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
<output-file role="principal" compare="Fragment">validateexpr-sc-8.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-9" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
<description>Test validation of elements of simple content</description>
<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
<query name="validateexpr-sc-9" date="2009-11-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<!-- role=schema forbidden by DTD, but this is the schema to use:
     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
<output-file role="principal" compare="Fragment">validateexpr-sc-9.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="DM.E005">
<xqts:GroupInfo>
<xqts:title>DM.E005</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="validateexpr-27" FilePath="SchemaValidation/ValidateExpression/" scenario="standard" Creator="Norm Walsh">
<description>Test Bug 4519, [DM] Definition of is-id property</description>
<spec-citation spec="XQuery" section-number="3.13" section-title="Validate Expressions" section-pointer="id-validate"/>
<spec-citation spec="DataModel" section-number="6.3.4" section-title="Construction from a PSVI" section-pointer="const-psvi-attribute"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4519</reflects-resolution>
<query name="validateexpr-27" date="2010-03-10"/>
<input-file role="principal-data" variable="input-context">dm-e005</input-file>
<output-file role="principal" compare="XML">validateexpr-27.xml</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E1">
<xqts:GroupInfo>
<xqts:title>FO.E1</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="fn-resolve-uri-24" FilePath="Functions/URIFunc/ResolveURIFunc/" scenario="runtime-error" Creator="Michael Kay">
<description>Evaluation of "fn:resolve-uri" function with second argument ($base) being a relative URI. See erratum FO.E1</description>
<spec-citation spec="FuncOps" section-number="8.1" section-title="fn:resolve-uri" section-pointer="func-resolve-uri"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4373</reflects-resolution>
<query name="fn-resolve-uri-24" date="2010-01-04"/>
<expected-error>FORG0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="fn-resolve-uri-25" FilePath="Functions/URIFunc/ResolveURIFunc/" scenario="standard" Creator="Michael Kay">
<description>Evaluation of "fn:resolve-uri" function with first argument ($relative) being an absolute URI and
                   second argument ($base) being a relative URI. See erratum FO.E1</description>
<spec-citation spec="FuncOps" section-number="8.1" section-title="fn:resolve-uri" section-pointer="func-resolve-uri"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4373</reflects-resolution>
<query name="fn-resolve-uri-25" date="2010-01-04"/>
<output-file role="principal" compare="Text">fn-resolve-uri-25.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E4">
<xqts:GroupInfo>
<xqts:title>FO.E4</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-11" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-MatchesFunc-11" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-12" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-MatchesFunc-12" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-13" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-MatchesFunc-13" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-14" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-MatchesFunc-14" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-4" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-ReplaceFunc-4" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-5" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-ReplaceFunc-5" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-6" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-ReplaceFunc-6" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-7" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-ReplaceFunc-7" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-8" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Since no string is captured by the back-reference, the single character is matched.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
<query name="K2-MatchesFunc-8" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-9" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Since no string is captured by the back-reference, the single character is matched(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
<query name="K2-MatchesFunc-9" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-10" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>A non-matching backwards-reference matches the empty string.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
<query name="K2-MatchesFunc-10" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-3" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference that isn't preceeded by sufficiently many captures, and therefore match the empty sequence.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
<query name="K2-ReplaceFunc-3" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E6">
<xqts:GroupInfo>
<xqts:title>FO.E6</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-232" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
<description>Ensure casting xs:gYear to xs:string, with timezone '+00:00' is properly handled.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
<query name="K-SeqExprCast-232" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCast-232.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-254" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
<description>Ensure casting xs:gDay to xs:string, with timezone '+00:00' is properly handled.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
<query name="K-SeqExprCast-254" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCast-254.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-269" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
<description>Ensure casting xs:gMonth to xs:string, with timezone '+00:00' is properly handled.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
<query name="K-SeqExprCast-269" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCast-269.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-284" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
<description>Ensure casting xs:gYearMonth to xs:string, with timezone '+00:00' is properly handled.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
<query name="K-SeqExprCast-284" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCast-284.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-305" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
<description>Ensure casting xs:gMonthDay to xs:string, with timezone '+00:00' is properly handled.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
<query name="K-SeqExprCast-305" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCast-305.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-341" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
<description>Ensure casting xs:dateTime to xs:string, with timezone '+00:00' is properly handled.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
<query name="K-SeqExprCast-341" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCast-341.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-366" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
<description>Ensure casting xs:time to xs:string, with timezone '+00:00' is properly handled.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
<query name="K-SeqExprCast-366" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCast-366.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-402" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
<description>Ensure casting xs:date to xs:string, with timezone '+00:00' is properly handled.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
<query name="K-SeqExprCast-402" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCast-402.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E7">
<xqts:GroupInfo>
<xqts:title>FO.E7</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="fn-matches-26" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Andrew Eisenberg">
<description>Check for the correct behavior of ^ and $ in multi-line mode</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
<query name="fn-matches-26" date="2006-09-25"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">fn-matches-26.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-matches-27" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Andrew Eisenberg">
<description>Check for the correct behavior of ^ and $ in multi-line mode</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
<query name="fn-matches-27" date="2006-09-25"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">fn-matches-27.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-matches-28" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Andrew Eisenberg">
<description>Check for the correct behavior of ^ and $ in multi-line mode</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
<query name="fn-matches-28" date="2006-09-25"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">fn-matches-28.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="fn-matches-29" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Michael Kay">
<description>Two digits not treated as back-reference</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
<query name="fn-matches-29" date="2009-03-05"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">fn-matches-29.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="fn-matches-30" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Michael Kay">
<description>Two digits treated as back-reference</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
<query name="fn-matches-30" date="2009-03-05"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">fn-matches-30.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E12">
<xqts:GroupInfo>
<xqts:title>FO.E12</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="op-multiply-yearMonthDuration-1" FilePath="Expressions/Operators/ArithExpr/DurationArith/YearMonthDurationMultiply/" scenario="standard" Creator="Carmelo Montanez">
<description>Evaluates the "op:multiply-yearMonthDuration" operator as per example 1 (for this function) of the Functions and Operators spec.</description>
<spec-citation spec="FuncOps" section-number="10.6.3" section-title="op:multiply-yearMonthDuration" section-pointer="func-multiply-yearMonthDuration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4621</reflects-resolution>
<query name="op-multiply-yearMonthDuration-1" date="2005-06-29"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">op-multiply-yearMonthDuration-1.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="op-multiply-yearMonthDuration-20" FilePath="Expressions/Operators/ArithExpr/DurationArith/YearMonthDurationMultiply/" scenario="standard" Creator="Michael Kay, Saxonica">
<description>Tests rounding of the result of the "op:multiply-yearMonthDuration" operator. See erratum E12.</description>
<spec-citation spec="FuncOps" section-number="10.6.3" section-title="op:multiply-yearMonthDuration" section-pointer="func-multiply-yearMonthDuration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4621</reflects-resolution>
<query name="op-multiply-yearMonthDuration-20" date="2009-03-05"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">op-multiply-yearMonthDuration-20.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="op-divide-yearMonthDuration-17" FilePath="Expressions/Operators/ArithExpr/DurationArith/YearMonthDurationDivide/" scenario="standard" Creator="Michael Kay">
<description>Tests rounding behaviour for the "op:divide-yearMonthDuration" function, see erratum FO.E12.</description>
<spec-citation spec="FuncOps" section-number="10.6.4" section-title="op:divide-yearMonthDuration" section-pointer="func-divide-yearMonthDuration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4621</reflects-resolution>
<query name="op-divide-yearMonthDuration-17" date="2009-03-05"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">op-divide-yearMonthDuration-17.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E13">
<xqts:GroupInfo>
<xqts:title>FO.E13</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="validateexpr-27" FilePath="SchemaValidation/ValidateExpression/" scenario="standard" Creator="Norm Walsh">
<description>Test Bug 4519, [DM] Definition of is-id property</description>
<spec-citation spec="XQuery" section-number="3.13" section-title="Validate Expressions" section-pointer="id-validate"/>
<spec-citation spec="DataModel" section-number="6.3.4" section-title="Construction from a PSVI" section-pointer="const-psvi-attribute"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4519</reflects-resolution>
<query name="validateexpr-27" date="2010-03-10"/>
<input-file role="principal-data" variable="input-context">dm-e005</input-file>
<output-file role="principal" compare="XML">validateexpr-27.xml</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E24">
<xqts:GroupInfo>
<xqts:title>FO.E24</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-11" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-MatchesFunc-11" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-12" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-MatchesFunc-12" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-13" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-MatchesFunc-13" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-14" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-MatchesFunc-14" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-4" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-ReplaceFunc-4" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-5" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-ReplaceFunc-5" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-6" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-ReplaceFunc-6" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-7" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference inside a character class(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
<query name="K2-ReplaceFunc-7" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-8" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Since no string is captured by the back-reference, the single character is matched.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
<query name="K2-MatchesFunc-8" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-9" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>Since no string is captured by the back-reference, the single character is matched(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
<query name="K2-MatchesFunc-9" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-10" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
<description>A non-matching backwards-reference matches the empty string.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
<query name="K2-MatchesFunc-10" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-3" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
<description>Use a back reference that isn't preceeded by sufficiently many captures, and therefore match the empty sequence.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
<query name="K2-ReplaceFunc-3" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="fn-matches-35" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error" Creator="Zhen Hua  Liu">
<description>Test for bug fix of 5348 in Errata for FO</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5348</reflects-resolution>
<query name="fn-matches-35" date="2009-11-15"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="fn-matches-36" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Zhen Hua  Liu">
<description>Test for bug fix of 5348 in Errata for FO</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5348</reflects-resolution>
<query name="fn-matches-36" date="2009-11-15"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">fn-matches-36.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="fn-matches-37" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error" Creator="Zhen Hua  Liu">
<description>Test for bug fix of 5348 in Errata for FO</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5348</reflects-resolution>
<query name="fn-matches-37" date="2009-11-15"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="fn-matches-38" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error" Creator="Andrew Eisenberg">
<description>Test for bug fix of 5348 in Errata for FO</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5348</reflects-resolution>
<query name="fn-matches-38" date="2009-12-23"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="fn-matches-39" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error" Creator="Andrew Eisenberg">
<description>Test for bug fix of 5348 in Errata for FO</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5348</reflects-resolution>
<query name="fn-matches-39" date="2009-12-23"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="fn-matches-40" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error" Creator="Andrew Eisenberg">
<description>Test for bug fix of 5348 in Errata for FO</description>
<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5348</reflects-resolution>
<query name="fn-matches-40" date="2009-12-23"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>FORX0002</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E26">
<xqts:GroupInfo>
<xqts:title>FO.E26</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="fn-doc-available-7" FilePath="Functions/NodeSeqFunc/SeqDocAvailableFunc/" scenario="standard" Creator="Andrew Eisenberg">
<description>Use doc-available with an empty sequence</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5688</reflects-resolution>
<query name="fn-doc-available-7" date="2010-01-04"/>
<output-file role="principal" compare="Text">fn-doc-available-7.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqDocAvailableFunc-1" FilePath="Functions/NodeSeqFunc/SeqDocAvailableFunc/" scenario="runtime-error">
<description>':/' is an invalid URI, no scheme.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5688</reflects-resolution>
<query name="K2-SeqDocAvailableFunc-1" date="2008-01-15+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K2-SeqDocAvailableFunc-1.txt</output-file>
<expected-error>FODC0005</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E29">
<xqts:GroupInfo>
<xqts:title>FO.E29</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case Creator="Bogdan Butnaru" name="fn-idref-dtd-24" FilePath="Functions/NodeSeqFunc/SeqIDREFFunc/" scenario="standard">
<description>Evaluation of fn:idref where an IDREFS node contains multiple IDREFs. This test uses a DTD.</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6306</reflects-resolution>
<query name="fn-idref-dtd-24" date="2009-11-18"/>
<input-file role="principal-data" variable="input-context1">functx_book</input-file>
<output-file role="principal" compare="Fragment">fn-idref-dtd-24.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-idref-30" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Evaluation of fn:idref using IDREF values derived from xs:IDREF by restriction, union, and list.</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6306</reflects-resolution>
<query name="fn-idref-30" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-idref-30.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-idref-31" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Evaluation of fn:idref using IDREF values derived from xs:IDREF by restriction, union, and list.</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6306</reflects-resolution>
<query name="fn-idref-31" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-idref-31.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E31">
<xqts:GroupInfo>
<xqts:title>FO.E31</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="fn-element-with-id-1" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-1" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-element-with-id-2" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.
                   Uses elements whose type is derived from xs:ID by restriction</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-2" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-2.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-element-with-id-3" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.
                   Uses elements whose type is a complex type with simple xs:ID content</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-3" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-3.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-element-with-id-4" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.
                   Uses elements whose type is derived from xs:ID by list</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-4" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-4.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-element-with-id-5" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.
                   Uses elements whose type is derived from xs:ID by union</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-5" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-5.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E44">
<xqts:GroupInfo>
<xqts:title>FO.E44</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" Creator="Andrew Eisenberg" name="fn-distinct-values-1" FilePath="Functions/SeqFunc/GeneralSeqFunc/SeqDistinctValuesFunc/" scenario="standard">
<description/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5183</reflects-resolution>
<query name="fn-distinct-values-1" date="2009-12-24"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">fn-distinct-values-1.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FO.E48">
<xqts:GroupInfo>
<xqts:title>FO.E48</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="fn-element-with-id-1" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-1" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-element-with-id-2" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.
                   Uses elements whose type is derived from xs:ID by restriction</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-2" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-2.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-element-with-id-3" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.
                   Uses elements whose type is a complex type with simple xs:ID content</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-3" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-3.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-element-with-id-4" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.
                   Uses elements whose type is derived from xs:ID by list</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-4" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-4.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="fn-element-with-id-5" FilePath="SchemaImport/MiscFunctions/" scenario="standard" Creator="Michael Kay">
<description>Compares the new element-with-id() function with the id() function.
                   Uses elements whose type is derived from xs:ID by union</description>
<spec-citation spec="FuncOps" section-number="15.5.3" section-title="fn:idref" section-pointer="func-idref"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6591</reflects-resolution>
<query name="fn-element-with-id-5" date="2009-03-06"/>
<input-file role="principal-data" variable="input-context1">id-idref2</input-file>
<output-file role="principal" compare="Fragment">fn-element-with-id-5.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E012">
<xqts:GroupInfo>
<xqts:title>FS.E012</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="Constr-attr-enclexpr-8" FilePath="Expressions/Construct/DirectConElem/DirectConElemAttr/" scenario="standard" Creator="Andreas Behm">
<description>Multiple content units in attribute content.</description>
<spec-citation spec="XQuery" section-number="3.7.1.1" section-title="Attributes" section-pointer="id-attributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-attr-enclexpr-8" date="2010-03-16"/>
<output-file role="principal" compare="XML">Constr-attr-enclexpr-8.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-baseuri-3" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Andreas Behm">
<description>Base-uri through declaration.</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-cont-baseuri-3" date="2005-04-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Constr-cont-baseuri-3.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-attr-9" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Oliver Hallam">
<description>Attributes in seperate content units.</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-cont-attr-9" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">TopMany</input-file>
<output-file role="principal" compare="XML">Constr-cont-attr-9.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-1" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Empty document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-1" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-1.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-2" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Atomic values in document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-2" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-2.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-3" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Atomic values and nodes in document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-3" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">DupNode</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-3.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-4" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Empty string in document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-4" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-4.xml</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E016">
<xqts:GroupInfo>
<xqts:title>FS.E016</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="op-numeric-integer-dividefloat2args-1" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>Integer divide with operands of type xs:float. Raise [err:FOAR0002].</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividefloat2args-1" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="op-numeric-integer-dividefloat2args-2" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>Integer divide with operands of type xs:float. Raise [err:FOAR0002].</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividefloat2args-2" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="op-numeric-integer-dividefloat2args-3" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>Integer divide with operands of type xs:float. Raise [err:FOAR0001].</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividefloat2args-3" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0001</expected-error>
</test-case>
<test-case is-XPath2="true" name="op-numeric-integer-dividefloat2args-4" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>Integer divide with operands of type xs:float. Raise [err:FOAR0001].</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividefloat2args-4" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0001</expected-error>
</test-case>
<test-case is-XPath2="true" name="op-numeric-integer-dividefloat2args-5" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="standard" Creator="Sorin Nasoi">
<description>Evaluates The "op:numeric-integer-divide" operator with both arguments of type xs:float.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividefloat2args-5" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">op-numeric-integer-dividefloat2args-5.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="op-numeric-integer-dividedouble2args-1" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>Integer divide with operands of type xs:double. Raise [err:FOAR0002].</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividedouble2args-1" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="op-numeric-integer-dividedouble2args-2" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>Integer divide with operands of type xs:double. Raise [err:FOAR0002].</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividedouble2args-2" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0002</expected-error>
</test-case>
<test-case is-XPath2="true" name="op-numeric-integer-dividedouble2args-3" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>Integer divide with operands of type xs:double. Raise [err:FOAR0001].</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividedouble2args-3" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0001</expected-error>
</test-case>
<test-case is-XPath2="true" name="op-numeric-integer-dividedouble2args-4" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>Integer divide with operands of type xs:double. Raise [err:FOAR0001].</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividedouble2args-4" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0001</expected-error>
</test-case>
<test-case is-XPath2="false" name="op-numeric-integer-dividedouble2args-5" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericIntegerDivide/" scenario="standard" Creator="Sorin Nasoi">
<description>Evaluates The "op:numeric-integer-divide" operator with both arguments of type xs:double.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3847</reflects-resolution>
<query name="op-numeric-integer-dividedouble2args-5" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">op-numeric-integer-dividedouble2args-5.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E018">
<xqts:GroupInfo>
<xqts:title>FS.E018</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="Axes090" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one element node with name test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<query name="Axes090" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes090.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes091" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one element node with local name test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<query name="Axes091" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes091.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes092" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one element node with namespace test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<query name="Axes092" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes092.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes093" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one attribute node with name test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<query name="Axes093" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes093.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes094" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one attribute node with local name test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<query name="Axes094" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes094.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes095" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one attribute node with namespace test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<query name="Axes095" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes095.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes102" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Assert that the static type of a wild name test on an element with a type annotation is computed correctly.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes102" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes102.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Axes103" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Wild name test on a comment node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes103" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes103.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes104" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Name test on a comment node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes104" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes104.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes105" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Local name test on a comment node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes105" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes105.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes106" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Namespace test on a comment node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes106" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes106.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes107" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Wild name test on a processing instruction node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes107" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes107.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes108" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Name test on a processing instruction node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes108" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes108.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes109" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Local name test on a processing instruction node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes109" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes109.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes110" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Namespace test on a processing instruction node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes110" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes110.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes111" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Assert that the static type of a wild name test on an attribute with a type annotation is computed correctly.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4512</reflects-resolution>
<query name="Axes111" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes111.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Axes096" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one element node with name test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4242</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4581</reflects-resolution>
<query name="Axes096" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes096.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes097" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one element node with local name test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4242</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4581</reflects-resolution>
<query name="Axes097" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes097.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes098" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one element node with namespace test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4242</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4581</reflects-resolution>
<query name="Axes098" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes098.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes099" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one attribute node with name test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4242</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4581</reflects-resolution>
<query name="Axes099" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes099.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes100" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one attribute node with local name test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4242</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4581</reflects-resolution>
<query name="Axes100" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes100.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
<test-case is-XPath2="false" name="Axes101" FilePath="Expressions/PathExpr/Steps/Axes/" scenario="standard" Creator="Oliver Hallam">
<description>Self axis on exactly one attribute node with namespace test that does not match.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<spec-citation spec="XQuery" section-number="3.2.1" section-title="Steps" section-pointer="id-steps"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4242</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4261</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4581</reflects-resolution>
<query name="Axes101" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Axes101.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E019">
<xqts:GroupInfo>
<xqts:title>FS.E019</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-FilterExpr-73" FilePath="Expressions/SeqExpr/FilterExpr/" scenario="standard">
<description>A test whose essence is: `(0, 1, 2)[last()]`.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4578</reflects-resolution>
<query name="K-FilterExpr-73" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-FilterExpr-73.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E021">
<xqts:GroupInfo>
<xqts:title>FS.E021</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="nodeexpression3" FilePath="Expressions/Operators/NodeOp/NodeSame/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
<description>Evaluation of a Node expression With the operands/operator set with the following format: empty Sequence is Single Node Element.</description>
<spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
<spec-citation spec="FuncOps" section-number="14.6" section-title="op:is-same-node" section-pointer="func-is-same-node"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3818</reflects-resolution>
<query name="nodeexpression3" date="2005-05-16"/>
<input-file role="principal-data" variable="input-context1">works</input-file>
<output-file role="principal" compare="Text">nodeexpression3.txt</output-file>
<expected-error>XPST0005</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E022">
<xqts:GroupInfo>
<xqts:title>FS.E022</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="ForExprType060" FilePath="Expressions/FLWORExpr/ForExprType/" scenario="standard" Creator="Mike Rorke">
<description>FLWOR expressions with type declaration. Type declaration matcing named PI nodes.</description>
<spec-citation spec="XQuery" section-number="3.8.1" section-title="For and Let Clauses" section-pointer="id-for-let"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3946</reflects-resolution>
<query name="ForExprType060" date="2005-09-13">
<description>FLWOR expressions with type declaration. Type declaration matcing named PI nodes</description>
</query>
<input-file role="principal-data" variable="input-context">fsx_NS</input-file>
<output-file role="principal" compare="Fragment">ForExprType060.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="ForExprType061" FilePath="Expressions/FLWORExpr/ForExprType/" scenario="runtime-error" Creator="Mike Rorke">
<description>FLWOR expressions with type declaration. Type declaration matcing PI nodes - no matching PI found.</description>
<spec-citation spec="XQuery" section-number="3.8.1" section-title="For and Let Clauses" section-pointer="id-for-let"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3946</reflects-resolution>
<query name="ForExprType061" date="2005-09-13">
<description>FLWOR expressions with type declaration. Type declaration matcing PI nodes - no matching PI found</description>
</query>
<input-file role="principal-data" variable="input-context">fsx_NS</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case is-XPath2="false" name="ST-PITest-01" FilePath="StaticTyping/STFLWORExpr/" scenario="runtime-error" Creator="Michael Dyck">
<description>
         In LetClause, binding expr's ST must be subtype of variable's ST.
         Under REC FS, both are 'processing-instruction?', so STA succeeds.
         Under PER FS, former is 'processing-instruction filesystem?',
            latter is 'processing-instruction filesytem', so STA fails, raises error.
         (Note that an implementation that doesn't do STA will not raise an error.)
      </description>
<spec-citation spec="XQuery" section-number="3.8.1" section-title="For and Let Clauses" section-pointer="id-for-let"/>
<spec-citation spec="XQuery" section-number="2.5.4" section-title="SequenceType Matching" section-pointer="id-sequencetype-matching"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3946</reflects-resolution>
<query name="ST-PITest-01" date="2010-02-08"/>
<input-file role="principal-data" variable="input-context">fsx_NS</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case is-XPath2="false" name="ST-PITest-02" FilePath="StaticTyping/STFLWORExpr/" scenario="runtime-error" Creator="Michael Dyck">
<description>
         In LetClause, binding expr's ST must be subtype of variable's ST.
         Under REC FS, both are 'processing-instruction?', so STA succeeds.
         Under PER FS, former is 'processing-instruction nonexistent',
            latter is 'processing-instruction filesytem', so STA fails, raises error.
         (Note that an implementation that doesn't do STA will not raise an error,
         because the LetClause isn't evaluated.)
      </description>
<spec-citation spec="XQuery" section-number="3.8.1" section-title="For and Let Clauses" section-pointer="id-for-let"/>
<spec-citation spec="XQuery" section-number="2.5.4" section-title="SequenceType Matching" section-pointer="id-sequencetype-matching"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3946</reflects-resolution>
<query name="ST-PITest-02" date="2010-02-08"/>
<input-file role="principal-data" variable="input-context">fsx_NS</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E025">
<xqts:GroupInfo>
<xqts:title>FS.E025</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="op-numeric-divideintg2args-6" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericDivide/" scenario="standard" Creator="Sorin Nasoi">
<description>Evaluates the type of the result of "op:numeric-integer-divide" operator with both arguments of type xs:integer.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5601</reflects-resolution>
<query name="op-numeric-divideintg2args-6" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">op-numeric-divideintg2args-6.txt</output-file>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-NumericDivide-17" FilePath="Operators/ArithExpr/NumericOpr/NumericDivide/" scenario="standard">
<description>Ensure the 'div' keyword is parsed correctly.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5601</reflects-resolution>
<query name="K2-NumericDivide-17" static-name="K2-NumericDivide-17-static-cbcl" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K2-NumericDivide-17.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E027">
<xqts:GroupInfo>
<xqts:title>FS.E027</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="statictyping-24" FilePath="StaticTyping/STFLWORExpr/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>Evaluation of static typing feature within a "where" clause. Wrong operand for expression (uses fn:not).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5651</reflects-resolution>
<query name="statictyping-24" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E028">
<xqts:GroupInfo>
<xqts:title>FS.E028</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="WhereExpr001" FilePath="Expressions/FLWORExpr/WhereExpr/" scenario="standard" Creator="Jinghao Liu">
<description>For+Where+Return - test existence of child elements in Where clause.</description>
<spec-citation spec="XQuery" section-number="3.8.2" section-title="Where Clause" section-pointer="id-where"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5670</reflects-resolution>
<query name="WhereExpr001" date="2003-02-10">
<description>For+Where+Return - test existence of child elements in Where clause</description>
</query>
<input-file role="principal-data" variable="input-context">fsx</input-file>
<output-file role="principal" compare="Fragment">WhereExpr001.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="WhereExpr003" FilePath="Expressions/FLWORExpr/WhereExpr/" scenario="standard" Creator="Jinghao Liu">
<description>For+Where+Return - using same predicate (as FLWOR003) in 'Where' predicate.</description>
<spec-citation spec="XQuery" section-number="3.8.2" section-title="Where Clause" section-pointer="id-where"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5670</reflects-resolution>
<query name="WhereExpr003" date="2003-02-10">
<description>For+Where+Return - using same predicate (as FLWOR003) in 'Where' predicate</description>
</query>
<input-file role="principal-data" variable="input-context">fsx</input-file>
<output-file role="principal" compare="Fragment">WhereExpr003.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="WhereExpr009" FilePath="Expressions/FLWORExpr/WhereExpr/" scenario="standard" Creator="Mike Rorke">
<description>Test 'where' expression returning a sequence with one or more nodes.</description>
<spec-citation spec="XQuery" section-number="3.8.2" section-title="Where Clause" section-pointer="id-where"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5670</reflects-resolution>
<query name="WhereExpr009" date="2005-06-24">
<description>Test 'where' expression returning a sequence with one or more nodes</description>
</query>
<input-file role="principal-data" variable="input-context">fsx</input-file>
<output-file role="principal" compare="Fragment">WhereExpr009.xml</output-file>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K-WhereExpr-4" FilePath="Expressions/FLWORExpr/WhereExpr/" scenario="standard">
<description>A for/where expression combined with fn:count().</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5670</reflects-resolution>
<query name="K-WhereExpr-4" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-WhereExpr-4.txt</output-file>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K-WhereExpr-10" FilePath="Expressions/FLWORExpr/WhereExpr/" scenario="standard">
<description>A for/where expression combined with fn:boolean and xs:anyURI.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5670</reflects-resolution>
<query name="K-WhereExpr-10" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-WhereExpr-10.txt</output-file>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K-WhereExpr-11" FilePath="Expressions/FLWORExpr/WhereExpr/" scenario="standard">
<description>A for/where expression combined with fn:boolean and xs:anyURI.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5670</reflects-resolution>
<query name="K-WhereExpr-11" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-WhereExpr-11.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E029">
<xqts:GroupInfo>
<xqts:title>FS.E029</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="Constr-attr-enclexpr-8" FilePath="Expressions/Construct/DirectConElem/DirectConElemAttr/" scenario="standard" Creator="Andreas Behm">
<description>Multiple content units in attribute content.</description>
<spec-citation spec="XQuery" section-number="3.7.1.1" section-title="Attributes" section-pointer="id-attributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-attr-enclexpr-8" date="2010-03-16"/>
<output-file role="principal" compare="XML">Constr-attr-enclexpr-8.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-baseuri-3" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Andreas Behm">
<description>Base-uri through declaration.</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-cont-baseuri-3" date="2005-04-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Constr-cont-baseuri-3.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-attr-9" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Oliver Hallam">
<description>Attributes in seperate content units.</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-cont-attr-9" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">TopMany</input-file>
<output-file role="principal" compare="XML">Constr-cont-attr-9.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-1" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Empty document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-1" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-1.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-2" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Atomic values in document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-2" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-2.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-3" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Atomic values and nodes in document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-3" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">DupNode</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-3.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-4" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Empty string in document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-4" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-4.xml</output-file>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-CopyNamespacesProlog-1" FilePath="exprSeqTypes/PrologExpr/CopyNamespacesProlog/" scenario="standard">
<description>Use no-preserve, inherit with the default namespace.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4869</reflects-resolution>
<query name="K2-CopyNamespacesProlog-1" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="XML">K2-CopyNamespacesProlog-1.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E031">
<xqts:GroupInfo>
<xqts:title>FS.E031</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="Constr-attr-enclexpr-8" FilePath="Expressions/Construct/DirectConElem/DirectConElemAttr/" scenario="standard" Creator="Andreas Behm">
<description>Multiple content units in attribute content.</description>
<spec-citation spec="XQuery" section-number="3.7.1.1" section-title="Attributes" section-pointer="id-attributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-attr-enclexpr-8" date="2010-03-16"/>
<output-file role="principal" compare="XML">Constr-attr-enclexpr-8.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-baseuri-3" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Andreas Behm">
<description>Base-uri through declaration.</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-cont-baseuri-3" date="2005-04-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Constr-cont-baseuri-3.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-attr-9" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Oliver Hallam">
<description>Attributes in seperate content units.</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-cont-attr-9" date="2010-03-16"/>
<input-file role="principal-data" variable="input-context">TopMany</input-file>
<output-file role="principal" compare="XML">Constr-cont-attr-9.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-1" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Empty document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-1" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-1.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-2" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Atomic values in document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-2" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-2.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-3" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Atomic values and nodes in document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-3" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">DupNode</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-3.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-enclexpr-4" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Andreas Behm">
<description>Empty string in document content.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3771</reflects-resolution>
<query name="Constr-docnode-enclexpr-4" date="2005-05-26"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">Constr-docnode-enclexpr-4.xml</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E032">
<xqts:GroupInfo>
<xqts:title>FS.E032</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="sequence-type-10" FilePath="Basics/Types/SequenceTypeSyntax/" scenario="standard" Creator="Carmelo Montanez">
<description>Simple evaluation of sequence type matching involving castable as and a sequence of two integers. (Uses integer?).</description>
<spec-citation spec="XQuery" section-number="2.5.4" section-title="SequenceType Matching" section-pointer="id-sequencetype-matching"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="sequence-type-10" date="2006-03-29"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">falsevalue.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="sequence-type-12" FilePath="Basics/Types/SequenceTypeSyntax/" scenario="standard" Creator="Carmelo Montanez">
<description>Simple evaluation of sequence type matching involving castable as and a sequence of two double. (Uses double?).</description>
<spec-citation spec="XQuery" section-number="2.5.4" section-title="SequenceType Matching" section-pointer="id-sequencetype-matching"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="sequence-type-12" date="2006-03-29"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">falsevalue.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="sequence-type-14" FilePath="Basics/Types/SequenceTypeSyntax/" scenario="standard" Creator="Carmelo Montanez">
<description>Simple evaluation of sequence type matching involving castable as and a sequence of two decimals. (Uses decimal?).</description>
<spec-citation spec="XQuery" section-number="2.5.4" section-title="SequenceType Matching" section-pointer="id-sequencetype-matching"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="sequence-type-14" date="2006-03-29"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">falsevalue.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="sequence-type-16" FilePath="Basics/Types/SequenceTypeSyntax/" scenario="standard" Creator="Carmelo Montanez">
<description>Simple evaluation of sequence type matching involving castable as and a sequence of two strings. (Uses string?).</description>
<spec-citation spec="XQuery" section-number="2.5.4" section-title="SequenceType Matching" section-pointer="id-sequencetype-matching"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="sequence-type-16" date="2006-03-29"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">falsevalue.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="sequence-type-18" FilePath="Basics/Types/SequenceTypeSyntax/" scenario="standard" Creator="Carmelo Montanez">
<description>Simple evaluation of sequence type matching involving castable as and a sequence of two strings. (Uses integer?).</description>
<spec-citation spec="XQuery" section-number="2.5.4" section-title="SequenceType Matching" section-pointer="id-sequencetype-matching"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="sequence-type-18" date="2006-03-29"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">falsevalue.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-20" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
<description>Casting an empty sequence to xs:QName does not work.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="K-SeqExprCastable-20" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCastable-20.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-21" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
<description>Casting an empty sequence to xs:QName? works.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="K-SeqExprCastable-21" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCastable-21.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-23" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
<description>A test whose essence is: `not(("one", "two") castable as xs:string?)`.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="K-SeqExprCastable-23" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCastable-23.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-34" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
<description>A test whose essence is: `not((1, 2, 3) castable as xs:integer)`.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="K-SeqExprCastable-34" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCastable-34.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-35" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
<description>A test whose essence is: `not(() castable as xs:integer)`.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="K-SeqExprCastable-35" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCastable-35.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-36" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
<description>A test whose essence is: `() castable as xs:integer?`.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="K-SeqExprCastable-36" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCastable-36.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-38" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
<description>A test whose essence is: `not(("one", "two") castable as xs:string?)`.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="K-SeqExprCastable-38" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K-SeqExprCastable-38.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-1" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="standard">
<description>Testing castability to xs:QName where the cardinality is wrong.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="K2-SeqExprCastable-1" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K2-SeqExprCastable-1.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-2" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="standard">
<description>Testing castability to xs:QName where the cardinality is wrong(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
<query name="K2-SeqExprCastable-2" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K2-SeqExprCastable-2.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E033">
<xqts:GroupInfo>
<xqts:title>FS.E033</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="fn-abs-1" FilePath="Functions/NumericFunc/ABSFunc/" scenario="standard">
<description>check dynamic type of fn:abs on argument of union of numeric types.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-abs-1" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-abs-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="fn-ceiling-1" FilePath="Functions/NumericFunc/CeilingFunc/" scenario="standard">
<description>check dynamic type of fn:ceiling on argument of union of numeric types.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-ceiling-1" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-ceiling-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="fn-floor-1" FilePath="Functions/NumericFunc/FloorFunc/" scenario="standard">
<description>check dynamic type of fn:floor on argument of union of numeric types.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-floor-1" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-floor-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="fn-round-1" FilePath="Functions/NumericFunc/RoundFunc/" scenario="standard">
<description>check dynamic type of fn:round on argument of union of numeric types.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-round-1" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-round-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="fn-round-half-to-even-1" FilePath="Functions/NumericFunc/RoundEvenFunc/" scenario="standard">
<description>check dynamic type of fn:round-half-to-even on argument of union of numeric types.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-round-half-to-even-1" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-round-half-to-even-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="fn-round-half-to-even-2" FilePath="Functions/NumericFunc/RoundEvenFunc/" scenario="standard">
<description>check dynamic type of fn:round-half-to-even on argument of union of numeric types.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-round-half-to-even-2" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-round-half-to-even-2.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-max-4" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMAXFunc/" scenario="standard">
<description>Test fn:max on a sequence of xs:dayTimeDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-max-4" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-max-4.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-max-5" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMAXFunc/" scenario="standard">
<description>Test fn:max on a sequence of xs:dayTimeDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-max-5" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-max-5.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-max-6" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMAXFunc/" scenario="standard">
<description>Test fn:max on a sequence of xs:yearMonthDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-max-6" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-max-6.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-max-7" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMAXFunc/" scenario="standard">
<description>Test fn:max on a sequence of xs:yearMonthDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-max-7" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-max-7.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-max-8" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMAXFunc/" scenario="runtime-error">
<description>Test fn:max on a sequence of xs:yearMonthDuration and xs:dayTimeDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-max-8" date="2010-03-15"/>
<expected-error>FORG0006</expected-error>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-max-9" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMAXFunc/" scenario="runtime-error">
<description>Test fn:max on a sequence of xs:duration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-max-9" date="2010-03-15"/>
<expected-error>FORG0006</expected-error>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="false" name="fn-max-10" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMAXFunc/" scenario="standard">
<description>Test dynamic type of fn:max on a sequence of numeric arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-max-10" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-max-10.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-min-4" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMINFunc/" scenario="standard">
<description>Test fn:min on a sequence of xs:dayTimeDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-min-4" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-min-4.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-min-5" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMINFunc/" scenario="standard">
<description>Test fn:min on a sequence of xs:dayTimeDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-min-5" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-min-5.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-min-6" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMINFunc/" scenario="standard">
<description>Test fn:min on a sequence of xs:yearMonthDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-min-6" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-min-6.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-min-7" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMINFunc/" scenario="standard">
<description>Test fn:min on a sequence of xs:yearMonthDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-min-7" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-min-7.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-min-8" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMINFunc/" scenario="runtime-error">
<description>Test fn:min on a sequence of xs:yearMonthDuration and xs:dayTimeDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-min-8" date="2010-03-15"/>
<expected-error>FORG0006</expected-error>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-min-9" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMINFunc/" scenario="runtime-error">
<description>Test fn:min on a sequence of xs:duration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-min-9" date="2010-03-15"/>
<expected-error>FORG0006</expected-error>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="false" name="fn-min-10" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqMINFunc/" scenario="standard">
<description>Test dynamic type of fn:min on a sequence of numeric arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5459</reflects-resolution>
<query name="fn-min-10" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-min-10.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-sum-1" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqSUMFunc/" scenario="standard">
<description>Test fn:sum on a sequence of xs:dayTimeDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5460</reflects-resolution>
<query name="fn-sum-1" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-sum-1.txt</output-file>
</test-case>
<test-case Creator="Oliver Hallam" is-XPath2="true" name="fn-sum-3" FilePath="Functions/SeqFunc/AggregateSeqFunc/SeqSUMFunc/" scenario="standard">
<description>Test fn:sum on a sequence of xs:dayTimeDuration arguments.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5460</reflects-resolution>
<query name="fn-sum-3" date="2010-03-15"/>
<output-file role="principal" compare="Text">fn-sum-3.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E057">
<xqts:GroupInfo>
<xqts:title>FS.E057</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="op-numeric-add-1" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericAdd/" scenario="standard">
<description>Check dynamic type of add on arguments of union of numeric types and untypedAtomic.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6160</reflects-resolution>
<query name="op-numeric-add-1" date="2010-03-16"/>
<output-file role="principal" compare="Text">op-numeric-add-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="op-numeric-subtract-1" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericSubtract/" scenario="standard">
<description>Check dynamic type of subtract on arguments of union of numeric types and untypedAtomic.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6160</reflects-resolution>
<query name="op-numeric-subtract-1" date="2010-03-16"/>
<output-file role="principal" compare="Text">op-numeric-subtract-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="op-numeric-multiply-1" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericMultiply/" scenario="standard">
<description>Check dynamic type of multiply on arguments of union of numeric types and untypedAtomic.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6160</reflects-resolution>
<query name="op-numeric-multiply-1" date="2010-03-16"/>
<output-file role="principal" compare="Text">op-numeric-multiply-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="op-numeric-divide-1" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericDivide/" scenario="standard">
<description>Check dynamic type of divide on arguments of union of numeric types and untypedAtomic.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6160</reflects-resolution>
<query name="op-numeric-divide-1" date="2010-03-16"/>
<output-file role="principal" compare="Text">op-numeric-divide-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="op-numeric-mod-1" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericMod/" scenario="standard">
<description>Check dynamic type of mod on arguments of union of numeric types and untypedAtomic.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6160</reflects-resolution>
<query name="op-numeric-mod-1" date="2010-03-16"/>
<output-file role="principal" compare="Text">op-numeric-mod-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="op-numeric-unary-plus-1" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericUnaryPlus/" scenario="standard">
<description>Check dynamic type of unary plus on argument of union of numeric types and untypedAtomic.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6160</reflects-resolution>
<query name="op-numeric-unary-plus-1" date="2010-03-16"/>
<output-file role="principal" compare="Text">op-numeric-unary-plus-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="op-numeric-unary-minus-1" FilePath="Expressions/Operators/ArithExpr/NumericOpr/NumericUnaryMinus/" scenario="standard">
<description>Check dynamic type of unary minus on argument of union of numeric types and untypedAtomic.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6160</reflects-resolution>
<query name="op-numeric-unary-minus-1" date="2010-03-16"/>
<output-file role="principal" compare="Text">op-numeric-unary-minus-1.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E058">
<xqts:GroupInfo>
<xqts:title>FS.E058</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="validateexpr-30" FilePath="SchemaValidation/ValidateExpression/" scenario="standard" Creator="Oliver Hallam">
<description>Test that validating a document node (with processing instructions and comments) does not throw a type error in static typing implementations when used as an expression of type document().</description>
<spec-citation spec="XQuery" section-number="3.13" section-title="Validate Expressions" section-pointer="id-validate"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5254</reflects-resolution>
<query name="validateexpr-30" date="2010-03-15"/>
<output-file role="principal" compare="Text">validateexpr-30.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="validateexpr-31" FilePath="SchemaValidation/ValidateExpression/" scenario="standard" Creator="Oliver Hallam">
<description>Description: Test that validating a union of element nodes does not raise a type error.</description>
<spec-citation spec="XQuery" section-number="3.13" section-title="Validate Expressions" section-pointer="id-validate"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5254</reflects-resolution>
<query name="validateexpr-31" date="2010-03-15"/>
<output-file role="principal" compare="Text">validateexpr-31.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="validateexpr-32" FilePath="SchemaValidation/ValidateExpression/" scenario="standard" Creator="Oliver Hallam">
<description>Description: Test that validating a union of document nodes does not raise a type error.</description>
<spec-citation spec="XQuery" section-number="3.13" section-title="Validate Expressions" section-pointer="id-validate"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5254</reflects-resolution>
<query name="validateexpr-32" date="2010-03-15"/>
<output-file role="principal" compare="Text">validateexpr-32.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="validateexpr-33" FilePath="SchemaValidation/ValidateExpression/" scenario="standard" Creator="Oliver Hallam">
<description>Description: Test that validating a union of element and document nodes does not raise a type error.</description>
<spec-citation spec="XQuery" section-number="3.13" section-title="Validate Expressions" section-pointer="id-validate"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5254</reflects-resolution>
<query name="validateexpr-33" date="2010-03-15"/>
<output-file role="principal" compare="Text">validateexpr-33.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E059">
<xqts:GroupInfo>
<xqts:title>FS.E059</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="step-expr-si-1" FilePath="SchemaImport/PathExprSI/" scenario="runtime-error">
<description>Ensure that the type of the child axis on an extended schema type is computed correctly.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4189</reflects-resolution>
<query name="step-expr-si-1" date="2010-03-17"/>
<input-file role="principal-data" variable="input-context">extendedTypes</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="step-expr-si-2" FilePath="SchemaImport/PathExprSI/" scenario="standard">
<description>Ensure that static type of the child axis on a restricted schema type is computed correctly.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4189</reflects-resolution>
<query name="step-expr-si-2" date="2010-03-17"/>
<input-file role="principal-data" variable="input-context">extendedTypes</input-file>
<output-file role="principal" compare="XML">step-expr-si-2.xml</output-file>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="step-expr-si-3" FilePath="SchemaImport/PathExprSI/" scenario="standard">
<description>Ensure that static type of the child axis on a restricted schema type is computed correctly.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4189</reflects-resolution>
<query name="step-expr-si-3" date="2010-03-17"/>
<input-file role="principal-data" variable="input-context">extendedTypes</input-file>
<output-file role="principal" compare="XML">step-expr-si-3.xml</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E060">
<xqts:GroupInfo>
<xqts:title>FS.E060</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case name="following-sibling-attr" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard" Creator="Michael Dyck">
<description>Apply the following-sibling axis to an attribute node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6538</reflects-resolution>
<query name="following-sibling-attr" date="2009-03-11"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">following-sibling-attr.txt</output-file>
</test-case>
<test-case name="preceding-sibling-attr" FilePath="Optional/FullAxis/preceding-siblingAxis/" scenario="standard" Creator="Michael Dyck">
<description>Apply the preceding-sibling axis to an attribute node.</description>
<spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6538</reflects-resolution>
<query name="preceding-sibling-attr" date="2009-03-11"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">preceding-sibling-attr.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="FS.E061">
<xqts:GroupInfo>
<xqts:title>FS.E061</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" Creator="Nicolae Brinza" name="fn-datacomplextype-1" FilePath="Functions/AccessorFunc/DataFunc/" scenario="runtime-error">
<description>Evaluates The "data" function with the argument set to a complex element.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4273</reflects-resolution>
<query name="fn-datacomplextype-1" date="2009-04-01+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOTY0012</expected-error>
</test-case>
<test-case is-XPath2="false" Creator="Oliver Hallam" name="ST-Data001" FilePath="StaticTyping/STFunctions/" scenario="runtime-error">
<description>Evaluates The "data" function with the argument set to a complex element with a mixed content type.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4273</reflects-resolution>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=9327</reflects-resolution>
<query name="ST-Data001" date="2010-06-08"/>
<input-file role="principal-data" variable="input-context">mixed</input-file>
<expected-error>FOTY0012</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E1">
<xqts:GroupInfo>
<xqts:title>XQ.E1</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="Constr-cont-nsmode-7" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="runtime-error" Creator="Michael Kay">
<description>Copy namespace sensitive attribute content: see bug 4151</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<spec-citation spec="XQuery" section-number="4.9" section-title="Copy-Namespaces Declaration" section-pointer="id-copy-namespaces-decl"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4151</reflects-resolution>
<query name="Constr-cont-nsmode-7" date="2005-11-15"/>
<input-file role="principal-data" variable="input-context">atomic</input-file>
<expected-error input-document="typed">XQTY0086</expected-error>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-nsmode-8" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="runtime-error" Creator="Michael Kay">
<description>Copy namespace sensitive attribute content: see bug 4151</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<spec-citation spec="XQuery" section-number="4.9" section-title="Copy-Namespaces Declaration" section-pointer="id-copy-namespaces-decl"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4151</reflects-resolution>
<query name="Constr-cont-nsmode-8" date="2005-11-15"/>
<input-file role="principal-data" variable="input-context">atomic</input-file>
<expected-error input-document="typed">XQTY0086</expected-error>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-nsmode-9" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Michael Kay">
<description>Copy namespace sensitive attribute content: see bug 4151.
              This test succeeds: a namespace-sensitive element can be copied if copy-namespaces=preserve,
              and its namespace-sensitive attribute can be copied if its parent element is copied</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<spec-citation spec="XQuery" section-number="4.9" section-title="Copy-Namespaces Declaration" section-pointer="id-copy-namespaces-decl"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4151</reflects-resolution>
<query name="Constr-cont-nsmode-9" date="2005-11-15"/>
<input-file role="principal-data" variable="input-context">atomic</input-file>
<output-file role="principal" compare="Fragment">Constr-cont-nsmode-9.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-nsmode-10" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Copy namespace sensitive content</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<spec-citation spec="XQuery" section-number="4.9" section-title="Copy-Namespaces Declaration" section-pointer="id-copy-namespaces-decl"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4151</reflects-resolution>
<query name="Constr-cont-nsmode-10" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">atomic</input-file>
<expected-error>XQTY0086</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E2">
<xqts:GroupInfo>
<xqts:title>XQ.E2</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="Constr-cont-document-1" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Andrew Eisenberg">
<description>Check the merging of text nodes introduced by the contents of a document node</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3637</reflects-resolution>
<query name="Constr-cont-document-1" date="2006-09-25"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Constr-cont-document-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-document-2" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Andrew Eisenberg">
<description>Check the merging of text nodes introduced by the contents of a document node</description>
<spec-citation spec="XQuery" section-number="3.7.1.3" section-title="Content" section-pointer="id-content"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3637</reflects-resolution>
<query name="Constr-cont-document-2" date="2006-09-25"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Constr-cont-document-2.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-document-4" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Nicolae Brinza">
<description>Check the merging of text nodes introduced by the contents of a document node.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3637</reflects-resolution>
<query name="Constr-cont-document-4" date="2006-09-25"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Constr-cont-document-4.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-cont-document-5" FilePath="Expressions/Construct/DirectConElem/DirectConElemContent/" scenario="standard" Creator="Nicolae Brinza">
<description>Check the merging of text nodes introduced by the contents of a document node.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3637</reflects-resolution>
<query name="Constr-cont-document-5" date="2006-09-25"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">Constr-cont-document-5.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-nested-3" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Oliver Hallam">
<description>Check that text nodes are merged in nested document constructors.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3637</reflects-resolution>
<query name="Constr-docnode-nested-3" date="2009-10-05"/>
<output-file role="principal" compare="Text">Constr-docnode-nested-3.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-docnode-nested-4" FilePath="Expressions/Construct/ComputeCon/ConDocNode/" scenario="standard" Creator="Oliver Hallam">
<description>Check that empty text nodes are stripped in nested document constructors.</description>
<spec-citation spec="XQuery" section-number="3.7.3.3" section-title="Document Node Constructors" section-pointer="id-documentConstructors"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=3637</reflects-resolution>
<query name="Constr-docnode-nested-4" date="2009-10-05"/>
<output-file role="principal" compare="Text">Constr-docnode-nested-4.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E4">
<xqts:GroupInfo>
<xqts:title>XQ.E4</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="CondExpr022" FilePath="Expressions/CondExpr/" scenario="standard" Creator="Nicolae Brinza">
<description>Test case where then-expression raises a dynamic error, but test-expression selects else-expression so no error is raised.</description>
<spec-citation spec="XQuery" section-number="3.10" section-title="Conditional Expressions" section-pointer="id-conditionals"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="CondExpr022" date="2009-04-01">
<description>Test case where else-expression raises a dynamic error, but test-expression selects then-expression so no error is raised.</description>
</query>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">CondExpr022.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="CastableAs648" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Carmelo Montanez">
<description>Try variable castable as xs:QName.</description>
<spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
<spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="CastableAs648" date="2006-06-08"/>
<input-file variable="input-context" role="principal-data">emptydoc</input-file>
<output-file compare="Text" role="principal">CastableAs648.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="CastableAs649" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Nicolae Brinza">
<description>Reordering the predicates should not cause the expression to raise an error.</description>
<spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="CastableAs649" date="2009-04-01"/>
<input-file variable="input-context" role="principal-data">acme_corp</input-file>
<output-file compare="Text" role="principal">CastableAs649.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="CastableAs650" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Nicolae Brinza">
<description>The expression should not raise a dynamic error.</description>
<spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="CastableAs650" date="2009-04-01"/>
<input-file variable="input-context" role="principal-data">acme_corp</input-file>
<output-file compare="Text" role="principal">CastableAs650.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="errors-and-optimization-1" FilePath="ErrorsAndOptimization/" scenario="standard" Creator="Jonathan Robie">
<description>Conditional and typeswitch expressions must not
      raise a dynamic error in respect of subexpressions occurring in
      a branch that is not selected</description>
<spec-citation spec="XQuery" section-number="2.3.4" section-title="Errors and Optimization" section-pointer="id-errors-and-opt"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="errors-and-optimization-1" date="2010-02-18"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">errors-and-optimization-1.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="errors-and-optimization-2" FilePath="ErrorsAndOptimization/" scenario="runtime-error" Creator="Jonathan Robie">
<description>Conditional expressions must not return the value delivered by a
      branch unless that branch is selected.</description>
<spec-citation spec="XQuery" section-number="2.3.4" section-title="Errors and Optimization" section-pointer="id-errors-and-opt"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="errors-and-optimization-2" date="2010-02-18"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>FOAR0001</expected-error>
</test-case>
<test-case is-XPath2="false" name="errors-and-optimization-3" FilePath="ErrorsAndOptimization/" scenario="standard" Creator="Jonathan Robie">
<description>To avoid unexpected errors caused by expression
      rewrite, tests that are designed to prevent dynamic errors
      should be expressed using conditional or typeswitch
      expressions.</description>
<spec-citation spec="XQuery" section-number="2.3.4" section-title="Errors and Optimization" section-pointer="id-errors-and-opt"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="errors-and-optimization-3" date="2010-02-18"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<output-file role="principal" compare="Text">errors-and-optimization-3.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="errors-and-optimization-4" FilePath="ErrorsAndOptimization/" scenario="runtime-error" Creator="Jonathan Robie">
<description>If a processor evaluates an operand E (wholly or in
      part), then it is required to establish that the actual value of
      the operand E does not violate any constraints on its
      cardinality.</description>
<spec-citation spec="XQuery" section-number="2.3.4" section-title="Errors and Optimization" section-pointer="id-errors-and-opt"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="errors-and-optimization-4" date="2010-02-18"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case is-XPath2="false" name="errors-and-optimization-5" FilePath="ErrorsAndOptimization/" scenario="runtime-error" Creator="Jonathan Robie">
<description>If a processor evaluates an operand E (wholly or
      in part), then it is required to establish that the actual value
      of the operand E does not violate any constraints on its
      cardinality.</description>
<spec-citation spec="XQuery" section-number="2.3.4" section-title="Errors and Optimization" section-pointer="id-errors-and-opt"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="errors-and-optimization-5" date="2010-02-18"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case is-XPath2="true" name="errors-and-optimization-6" FilePath="ErrorsAndOptimization/" scenario="runtime-error" Creator="Jonathan Robie">
<description>Expressions must not be rewritten in such a way as
      to create or remove static errors.</description>
<spec-citation spec="XQuery" section-number="2.3.4" section-title="Errors and Optimization" section-pointer="id-errors-and-opt"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="errors-and-optimization-6" date="2010-02-18"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>XPST0017</expected-error>
</test-case>
<test-case is-XPath2="false" name="errors-and-optimization-7" FilePath="ErrorsAndOptimization/" scenario="runtime-error" Creator="Jonathan Robie">
<description>Expressions must not be rewritten in such a way as
      to create or remove static errors.</description>
<spec-citation spec="XQuery" section-number="2.3.4" section-title="Errors and Optimization" section-pointer="id-errors-and-opt"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
<query name="errors-and-optimization-7" date="2010-02-18"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>XPST0081</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E5">
<xqts:GroupInfo>
<xqts:title>XQ.E5</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-3" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="runtime-error">
<description>Combine operator div with castable as.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4873</reflects-resolution>
<query name="K2-SeqExprCastable-3" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0001</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-4" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="runtime-error">
<description>Combine operator div with castable as(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4873</reflects-resolution>
<query name="K2-SeqExprCastable-4" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FOAR0001</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E6">
<xqts:GroupInfo>
<xqts:title>XQ.E6</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case name="errata6-001" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="John Snelson">
<description>Test XQST0036 for unknown simple type in imported function parameter type</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4321</reflects-resolution>
<query name="errata6-001" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata6-1">errata6-module1</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="errata6-002" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="John Snelson">
<description>Test XQST0036 for unknown simple type in imported function return type</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4321</reflects-resolution>
<query name="errata6-002" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata6-2">errata6-module2</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="errata6-003" FilePath="Modules/ModuleImport/" scenario="standard" Creator="John Snelson">
<description>Test XQST0036 for known simple type in imported function return type</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4321</reflects-resolution>
<query name="errata6-003" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata6-2">errata6-module2</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">errata6-003.txt</output-file>
</test-case>
<test-case name="errata6-004" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="John Snelson">
<description>Test of XQST0036 for unknown simple type in imported global variable</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4321</reflects-resolution>
<query name="errata6-004" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata6-4">errata6-module4</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="errata6-005" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="John Snelson">
<description>Test of XQST0036 for unknown element declaration in imported function parameter type</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4321</reflects-resolution>
<query name="errata6-005" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata6-5">errata6-module5</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="errata6-006" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="John Snelson">
<description>Test of XQST0036 for unknown attribute declaration in imported function parameter type</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4321</reflects-resolution>
<query name="errata6-006" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata6-6">errata6-module6</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="errata6-007" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="John Snelson">
<description>Test of XQST0036 for unknown complex type in imported function parameter type</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4321</reflects-resolution>
<query name="errata6-007" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata6-7">errata6-module7</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E7">
<xqts:GroupInfo>
<xqts:title>XQ.E7</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" Creator="Nicolae Brinza" name="validate-constraints-1" FilePath="SchemaValidation/ValidateExpression/" scenario="runtime-error">
<description>Test validation of elements with unique/id/idref schema constraints.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4353</reflects-resolution>
<query name="validate-constraints-1" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0027</expected-error>
</test-case>
<test-case is-XPath2="false" Creator="Nicolae Brinza" name="validate-constraints-2" FilePath="SchemaValidation/ValidateExpression/" scenario="runtime-error">
<description>Test validation of elements with unique/id/idref schema constraints.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4353</reflects-resolution>
<query name="validate-constraints-2" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0027</expected-error>
</test-case>
<test-case is-XPath2="false" Creator="Nicolae Brinza" name="validate-constraints-3" FilePath="SchemaValidation/ValidateExpression/" scenario="runtime-error">
<description>Test validation of elements with unique/id/idref schema constraints.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4353</reflects-resolution>
<query name="validate-constraints-3" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0027</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E8">
<xqts:GroupInfo>
<xqts:title>XQ.E8</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case name="modules-19" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Load a library but do not import the schema.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-19" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/module3">module3-lib</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="modules-20" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Load a library but do not import the schema.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-20" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/module3">module3-lib</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="modules-21" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Load a library but do not import the schema.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-21" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/module3">module3-lib</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPST0081</expected-error>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="modules-22" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Load a library but do not import the schema.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-22" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/module3">module3-lib</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="modules-23" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Load a library but do not import the schema.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-23" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/module3">module3-lib</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="modules-24" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Load a library but do not import the schema.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-24" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/module3">module3-lib</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPST0081</expected-error>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="modules-25" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Load a library but do not import the schema.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-25" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/module4">module4-lib</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="modules-26" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Load a library but do not import the schema.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-26" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/module4">module4-lib</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="modules-27" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Load a library but do not import the schema.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-27" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/module4">module4-lib</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0036</expected-error>
</test-case>
<test-case name="modules-28" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="Nicolae Brinza">
<description>Cyclic module imports.</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="modules-28" date="2009-04-01"/>
<module namespace="http://www.w3.org/TestModules/defs1">modules-recursive1</module>
<module namespace="http://www.w3.org/TestModules/defs2">modules-recursive2</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0093</expected-error>
</test-case>
<test-case name="errata8-001" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="John Snelson">
<description>Test XQST0093 by importing a module with a circular dependency</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="errata8-001" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata8_1a">errata8-module1a</module>
<module namespace="http://www.w3.org/TestModules/errata8_1b">errata8-module1b</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0093</expected-error>
</test-case>
<test-case name="errata8-002" FilePath="Modules/ModuleImport/" scenario="runtime-error" Creator="John Snelson">
<description>Test XQST0093 by importing a module with a more complex circular dependency</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="errata8-002" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata8_2a">errata8-module2a</module>
<module namespace="http://www.w3.org/TestModules/errata8_2b">errata8-module2b</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0093</expected-error>
</test-case>
<test-case name="errata8-003" FilePath="Modules/ModuleImport/" scenario="standard" Creator="John Snelson">
<description>Test lack of XQST0093 by importing a module without a circular dependency</description>
<spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
<spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4418</reflects-resolution>
<query name="errata8-003" date="2009-10-01"/>
<module namespace="http://www.w3.org/TestModules/errata8_3a">errata8-module3a</module>
<module namespace="http://www.w3.org/TestModules/errata8_3b">errata8-module3b</module>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">errata8-003.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E9">
<xqts:GroupInfo>
<xqts:title>XQ.E9</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-ComputeConAttr-51" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="standard">
<description>Construct an attribute with no prefix and a non-empty namespace URI.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4443</reflects-resolution>
<query name="K2-ComputeConAttr-51" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Ignore"/>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-ComputeConAttr-54" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="standard">
<description>Ensure that a valid prefix has been constructed for a QName which the implementation is supposed to create a prefix for. See http://www.w3.org/Bugs/Public/show_bug.cgi?id=4443.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4443</reflects-resolution>
<query name="K2-ComputeConAttr-54" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K2-ComputeConAttr-54.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E12">
<xqts:GroupInfo>
<xqts:title>XQ.E12</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-NameTest-21" FilePath="PathExpr/Steps/NodeTestSection/NameTest/" scenario="runtime-error">
<description>A processing-instruction() with an invalid NCName in a string literal.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5351</reflects-resolution>
<query name="K2-NameTest-21" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-NameTest-22" FilePath="PathExpr/Steps/NodeTestSection/NameTest/" scenario="standard">
<description>A processing-instruction() with an invalid NCName in a string literal.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5351</reflects-resolution>
<query name="K2-NameTest-22" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">K2-NameTest-22.txt</output-file>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-NameTest-23" FilePath="PathExpr/Steps/NodeTestSection/NameTest/" scenario="runtime-error">
<description>A processing-instruction() with an invalid NCName in a string literal.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5351</reflects-resolution>
<query name="K2-NameTest-23" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E13">
<xqts:GroupInfo>
<xqts:title>XQ.E13</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="DirectConElemAttr-1" FilePath="Construct/DirectConElem/DirectConElemAttr/" scenario="standard" Creator="Sorin Nasoi">
<description>Namespace declaration attributes in direct element constructors.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="DirectConElemAttr-1" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="XML">DirectConElemAttr-1.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="DirectConElemAttr-2" FilePath="Construct/DirectConElem/DirectConElemAttr/" scenario="standard" Creator="Sorin Nasoi">
<description>Namespace declaration attributes in direct element constructors.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="DirectConElemAttr-2" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="XML">DirectConElemAttr-2.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="Constr-namespace-24" FilePath="Expressions/Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error" Creator="Andreas Behm">
<description>Namespace Declarations - namespace URI is not string literal.</description>
<spec-citation spec="XQuery" section-number="3.7.1.2" section-title="Namespace Declaration Attributes" section-pointer="id-namespaces"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="Constr-namespace-24" date="2005-03-05"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case is-XPath2="false" name="Constr-namespace-25" FilePath="Expressions/Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error" Creator="Andreas Behm">
<description>Namespace Declarations - namespace URI is not string literal.</description>
<spec-citation spec="XQuery" section-number="3.7.1.2" section-title="Namespace Declaration Attributes" section-pointer="id-namespaces"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="Constr-namespace-25" date="2005-03-05"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-15" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>A namespace must be a literal.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-15" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-16" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>A namespace must be a literal(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-16" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-17" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>A namespace must be a literal, for which bracket-escapes are invalid.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-17" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-18" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>A namespace must be a literal, for which bracket-escapes are invalid(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-18" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-34" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>Use an enclosed expression inside an namespace declaration.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-34" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-35" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>Use an enclosed expression inside an namespace declaration(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-35" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-36" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>Use an enclosed expression inside an namespace declaration(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-36" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-37" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>Use an enclosed expression inside an namespace declaration(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-37" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-DirectConElemNamespace-44" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="parse-error">
<description>Use an inproperly enclosed expression inside an namespace declaration(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-44" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-59" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="standard">
<description>Use the {}-escape mechanism.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-59" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K2-DirectConElemNamespace-59.txt</output-file>
<expected-error>XQST0046</expected-error>
<!-- optional error: the namespace URI is illegal, processors MAY detect this -->
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-DirectConElemNamespace-61" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="parse-error">
<description>An non-matched { inside a namespace constructor.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-61" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-DirectConElemNamespace-63" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="parse-error">
<description>An non-matched { inside a namespace constructor(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-63" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-DirectConElemNamespace-67" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="parse-error">
<description>An non-matched { inside a namespace constructor with content afterwards.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-67" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Frans Englich" name="K2-DirectConElemNamespace-69" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="parse-error">
<description>An non-matched { inside a namespace constructor with content afterwards(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-69" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-71" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>Enclosed expressions cannot be used.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-71" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-72" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>Enclosed expressions cannot be used(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-72" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-73" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>Enclosed expressions containing the empty sequence cannot be used.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-73" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-74" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="runtime-error">
<description>Enclosed expressions containing the empty sequence cannot be used(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="K2-DirectConElemNamespace-74" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0022</expected-error>
</test-case>
<test-case is-XPath2="false" name="DirectConElemNamespace-3" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="standard" Creator="Sorin Nasoi">
<description>Use the ""-escape mechanism.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="DirectConElemNamespace-3" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">DirectConElemNamespace-3.txt</output-file>
<expected-error>XQST0046</expected-error>
<!-- optional error: the namespace URI is illegal, processors MAY detect this -->
</test-case>
<test-case is-XPath2="false" name="DirectConElemNamespace-4" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="standard" Creator="Sorin Nasoi">
<description>Use the ""-escape mechanism.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="DirectConElemNamespace-4" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">DirectConElemNamespace-4.txt</output-file>
<expected-error>XQST0046</expected-error>
<!-- optional error: the namespace URI is illegal, processors MAY detect this -->
</test-case>
<test-case is-XPath2="false" name="DirectConElemNamespace-5" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="standard" Creator="Sorin Nasoi">
<description>Use the ''-escape mechanism.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="DirectConElemNamespace-5" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">DirectConElemNamespace-5.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="DirectConElemNamespace-6" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="standard" Creator="Sorin Nasoi">
<description>Use the ''-escape mechanism.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5083</reflects-resolution>
<query name="DirectConElemNamespace-6" date="2009-04-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">DirectConElemNamespace-6.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E17">
<xqts:GroupInfo>
<xqts:title>XQ.E17</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="orderBy60" FilePath="Expressions/FLWORExpr/OrderbyExpr/OrderbyExprWith/" scenario="standard" Creator="Sorin Nasoi">
<description>Evaluation of "order by" clause using a relative, valid collation.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5290</reflects-resolution>
<query name="orderBy60" date="2009-05-01+02:00"/>
<input-file role="principal-data" variable="input-context1">orderData</input-file>
<output-file role="principal" compare="XML">orderBy60.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="orderBy61" FilePath="Expressions/FLWORExpr/OrderbyExpr/OrderbyExprWith/" scenario="standard" Creator="Sorin Nasoi">
<description>Evaluation of "order by" clause using a relative, valid collation.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5290</reflects-resolution>
<query name="orderBy61" date="2009-05-01+02:00"/>
<input-file role="principal-data" variable="input-context1">orderData</input-file>
<output-file role="principal" compare="XML">orderBy61.txt</output-file>
</test-case>
<test-case Creator="Benjamin NGUYEN &amp; Bogdan BUTNARU" name="orderBy62" FilePath="Expressions/FLWORExpr/OrderbyExpr/OrderbyExprWith/" scenario="standard">
<description>Evaluation of a FLOWR over a sequence of decimals, with an orderspec specifying a collation but comparing xs:decimal values. XQ.E17 specifies the collation should be ignored.</description>
<spec-citation spec="XQuery" section-number="3.8.3" section-title="Order By and Return Clauses" section-pointer="id-orderby-return"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5290</reflects-resolution>
<query name="orderBy62" date="2009-11-18"/>
<input-file role="principal-data" variable="input-context1">orderData</input-file>
<output-file role="principal" compare="Fragment">orderBy62.txt</output-file>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-OrderbyExprWithout-1" FilePath="FLWORExpr/OrderbyExpr/OrderbyExprWithout/" scenario="standard">
<description>Use a relative, valid collation.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5290</reflects-resolution>
<query name="K2-OrderbyExprWithout-1" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">K2-OrderbyExprWithout-1.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E18">
<xqts:GroupInfo>
<xqts:title>XQ.E18</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="GenCompEq-1" FilePath="Expressions/Operators/CompExpr/GenComprsn/GenCompEq/" scenario="standard" Creator="Sorin Nasoi">
<description>General comparison where both types are instances of xs:untypedAtomic.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5223</reflects-resolution>
<query name="GenCompEq-1" date="2009-05-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">GenCompEq-1.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="GenCompEq-2" FilePath="Expressions/Operators/CompExpr/GenComprsn/GenCompEq/" scenario="standard" Creator="Sorin Nasoi">
<description>General comparison where one of the types is xs:untypedAtomic and the other xs:NCName. Expected error FORG0001.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5223</reflects-resolution>
<query name="GenCompEq-2" date="2009-05-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">GenCompEq-2.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="GenCompEq-3" FilePath="Expressions/Operators/CompExpr/GenComprsn/GenCompEq/" scenario="standard" Creator="Sorin Nasoi">
<description>General comparison where one of the types is xs:untypedAtomic and the other xs:dayTimeDuration.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5223</reflects-resolution>
<query name="GenCompEq-3" date="2009-05-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">GenCompEq-3.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="GenCompEq-4" FilePath="Expressions/Operators/CompExpr/GenComprsn/GenCompEq/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>General comparison where one of the types is xs:untypedAtomic and the other xs:dayTimeDuration. Expected error FORG0001.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5223</reflects-resolution>
<query name="GenCompEq-4" date="2009-05-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORG0001</expected-error>
</test-case>
<test-case is-XPath2="true" name="GenCompEq-5" FilePath="Expressions/Operators/CompExpr/GenComprsn/GenCompEq/" scenario="standard" Creator="Sorin Nasoi">
<description>General comparison where one of the types is xs:untypedAtomic and the other xs:yearMonthDuration.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5223</reflects-resolution>
<query name="GenCompEq-5" date="2009-05-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Text">GenCompEq-5.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="GenCompEq-6" FilePath="Expressions/Operators/CompExpr/GenComprsn/GenCompEq/" scenario="runtime-error" Creator="Sorin Nasoi">
<description>General comparison where one of the types is xs:untypedAtomic and the other xs:yearMonthDuration. Expected error FORG0001.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5223</reflects-resolution>
<query name="GenCompEq-6" date="2009-05-01+02:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>FORG0001</expected-error>
</test-case>
<test-case is-XPath2="false" name="validateexpr-28" FilePath="SchemaValidation/ValidateExpression/" scenario="standard" Creator="Norm Walsh">
<description>Test Bug 5223, [XPath] Casting rules in 3.5.2 General Comparisons (editorial)</description>
<spec-citation spec="XQuery" section-number="3.13" section-title="Validate Expressions" section-pointer="id-validate"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5223</reflects-resolution>
<query name="validateexpr-28" date="2010-03-11"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="XML">validateexpr-28.xml</output-file>
<expected-error>XQST0012</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E19">
<xqts:GroupInfo>
<xqts:title>XQ.E19</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElem-40" FilePath="Construct/DirectConElem/" scenario="runtime-error">
<description>Bind the 'xmlns' namespace URI to an invalid prefix(#3).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="K2-DirectConElem-40" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0070</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemAttr-69" FilePath="Construct/DirectConElem/DirectConElemAttr/" scenario="runtime-error">
<description>Use two namespace declarations with the same name, in addition to doing invalid bindings.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="K2-DirectConElemAttr-69" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0071</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-elem-bad-name-1" FilePath="Construct/ComputeCon/ComputeConElem/" scenario="runtime-error">
<description>XQ.E19 XQDY0096 if namespace prefix is 'xmlns'</description>
<spec-citation spec="XQuery" section-number="3.7.3.1" section-title="Computed Element Constructors" section-pointer="id-computedElements"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-elem-bad-name-1" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0096</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-elem-bad-name-2" FilePath="Construct/ComputeCon/ComputeConElem/" scenario="runtime-error">
<description>XQ.E19 XQDY0096 if namespace URI is 'http://www.w3.org/2000/xmlns/'</description>
<spec-citation spec="XQuery" section-number="3.7.3.1" section-title="Computed Element Constructors" section-pointer="id-computedElements"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-elem-bad-name-2" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0096</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-elem-bad-name-3" FilePath="Construct/ComputeCon/ComputeConElem/" scenario="runtime-error">
<description>XQ.E19 XQDY0096 if namespace URI is 'http://www.w3.org/2000/xmlns/'</description>
<spec-citation spec="XQuery" section-number="3.7.3.1" section-title="Computed Element Constructors" section-pointer="id-computedElements"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-elem-bad-name-3" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0096</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-elem-bad-name-4" FilePath="Construct/ComputeCon/ComputeConElem/" scenario="runtime-error">
<description>XQ.E19 XQDY0096 if namespace prefix is 'xml' and namespace URI is not 'http://www.w3.org/XML/1998/namespace'</description>
<spec-citation spec="XQuery" section-number="3.7.3.1" section-title="Computed Element Constructors" section-pointer="id-computedElements"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-elem-bad-name-4" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0096</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-elem-bad-name-5" FilePath="Construct/ComputeCon/ComputeConElem/" scenario="runtime-error">
<description>XQ.E19 XQDY0096 if namespace prefix is not 'xml' and namespace URI is 'http://www.w3.org/XML/1998/namespace'</description>
<spec-citation spec="XQuery" section-number="3.7.3.1" section-title="Computed Element Constructors" section-pointer="id-computedElements"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-elem-bad-name-5" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0096</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-elem-bad-name-6" FilePath="Construct/ComputeCon/ComputeConElem/" scenario="runtime-error">
<description>XQ.E19 XQDY0096 if namespace prefix is 'xmlns'</description>
<spec-citation spec="XQuery" section-number="3.7.3.1" section-title="Computed Element Constructors" section-pointer="id-computedElements"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-elem-bad-name-6" date="2010-02-17"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0096</expected-error>
</test-case>
<test-case is-XPath2="false" Creator="Frans Englich" name="K2-ComputeConAttr-38" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>This query yields XPST0081 because the prefix 'xmlns' is unbound(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="K2-ComputeConAttr-38" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0044</expected-error>
<expected-error>XQDY0074</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-ComputeConAttr-42" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>It's not allowed to bind the xmlns to any prefix with computed attribute constructors.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="K2-ComputeConAttr-42" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0070</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-ComputeConAttr-43" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>It's not allowed to bind the xmlns to any prefix with computed attribute constructors(#2).</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="K2-ComputeConAttr-43" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQST0070</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-attr-bad-name-1" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>XQ.E19 XQDY0044 if namespace prefix is 'xmlns' </description>
<spec-citation spec="XQuery" section-number="3.7.3.2" section-title="Computed Attribute Constructors" section-pointer="id-computedAttributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-attr-bad-name-1" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0044</expected-error>
<expected-error>XQDY0074</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-attr-bad-name-2" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>XQ.E19 XQDY0044 if namespace prefix is empty and local name is 'xmlns' </description>
<spec-citation spec="XQuery" section-number="3.7.3.2" section-title="Computed Attribute Constructors" section-pointer="id-computedAttributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-attr-bad-name-2" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0044</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-attr-bad-name-3" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>XQ.E19 XQDY0044 if namespace URI is 'http://www.w3.org/2000/xmlns/' </description>
<spec-citation spec="XQuery" section-number="3.7.3.2" section-title="Computed Attribute Constructors" section-pointer="id-computedAttributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-attr-bad-name-3" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0044</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-attr-bad-name-4" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>XQ.E19 XQDY0044 if namespace URI is 'http://www.w3.org/2000/xmlns/' </description>
<spec-citation spec="XQuery" section-number="3.7.3.2" section-title="Computed Attribute Constructors" section-pointer="id-computedAttributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-attr-bad-name-4" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0044</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-attr-bad-name-5" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>XQ.E19 XQDY0044 if namespace prefix is 'xml' and namespace URI is not 'http://www.w3.org/XML/1998/namespace' </description>
<spec-citation spec="XQuery" section-number="3.7.3.2" section-title="Computed Attribute Constructors" section-pointer="id-computedAttributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-attr-bad-name-5" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0044</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-attr-bad-name-6" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>XQ.E19 XQDY0044 if namespace prefix is 'xml' and namespace URI is not 'http://www.w3.org/XML/1998/namespace' </description>
<spec-citation spec="XQuery" section-number="3.7.3.2" section-title="Computed Attribute Constructors" section-pointer="id-computedAttributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-attr-bad-name-6" date="2009-12-10"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0044</expected-error>
</test-case>
<test-case Creator="Mary Holstege" is-XPath2="false" name="comp-attr-bad-name-7" FilePath="Construct/ComputeCon/ComputeConAttr/" scenario="runtime-error">
<description>XQ.E19 XQDY0044 if namespace prefix is 'xmlns' </description>
<spec-citation spec="XQuery" section-number="3.7.3.2" section-title="Computed Attribute Constructors" section-pointer="id-computedAttributes"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="comp-attr-bad-name-7" date="2010-02-17"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XQDY0044</expected-error>
</test-case>
<test-case is-XPath2="false" name="namespaceDecl-4" FilePath="Expressions/PrologExpr/NamespaceProlog/" scenario="runtime-error" Creator="Carmelo Montanez">
<description>Evaluation of redeclaration of the namespace uri associated with "xml".</description>
<spec-citation spec="XQuery" section-number="4.12" section-title="Namespace Declaration" section-pointer="id-namespace-declaration"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463</reflects-resolution>
<query name="namespaceDecl-4" date="2005-11-18"/>
<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
<expected-error>XQST0070</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E21">
<xqts:GroupInfo>
<xqts:title>XQ.E21</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="false" name="XML10-3ed-Mixed-content" FilePath="XMLEdition/" scenario="standard" Creator="Tim Kraska">
<description>CDATA sections, comments and PIs may occur in ANY content in XML 1.0 3th edition and older </description>
<spec-citation spec="XQuery" section-number="E.1" section-title="E.1 Normative References" section-pointer="id-normative-references"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5347</reflects-resolution>
<query name="XML10-3ed-Mixed-content" date="2010-01-20"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">XML10-3ed-Mixed-content.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="XML10-4ed-Excluded-char-1" FilePath="XMLEdition/" scenario="standard" Creator="Nicolae Brinza">
<description>The character #x037E is excluded from the start of a Name in XML 1.0 4th edition and older.</description>
<spec-citation spec="XQuery" section-number="E.1" section-title="E.1 Normative References" section-pointer="id-normative-references"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5347</reflects-resolution>
<query name="XML10-4ed-Excluded-char-1" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">XML10-4ed-Excluded-char-1.xml</output-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="false" name="XML10-4ed-Excluded-char-2" FilePath="XMLEdition/" scenario="standard" Creator="Nicolae Brinza">
<description>The character #x0100 is excluded from the start of a Name in XML 1.0 4th edition and older.</description>
<spec-citation spec="XQuery" section-number="E.1" section-title="E.1 Normative References" section-pointer="id-normative-references"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5347</reflects-resolution>
<query name="XML10-4ed-Excluded-char-1" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">XML10-4ed-Excluded-char-2.xml</output-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="false" name="XML10-5ed-Included-char-1" FilePath="XMLEdition/" scenario="standard" Creator="Nicolae Brinza">
<description>Contains a DEL, legal in XML 1.0, a restricted character in XML 1.1 </description>
<spec-citation spec="XQuery" section-number="E.1" section-title="E.1 Normative References" section-pointer="id-normative-references"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5347</reflects-resolution>
<query name="XML10-5ed-Included-char-1" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">XML10-5ed-Included-char-1.xml</output-file>
</test-case>
<test-case is-XPath2="false" name="XML11-1ed-Included-char-1" FilePath="XMLEdition/" scenario="standard" Creator="Nicolae Brinza">
<description>Has a "long s" in a name, legal in XML 1.1, illegal in XML 1.0.</description>
<spec-citation spec="XQuery" section-number="E.1" section-title="E.1 Normative References" section-pointer="id-normative-references"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5347</reflects-resolution>
<query name="XML11-1ed-Included-char-1" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">XML11-1ed-Included-char-1.xml</output-file>
<expected-error>XPST0003</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E24">
<xqts:GroupInfo>
<xqts:title>XQ.E24</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case is-XPath2="true" name="PathExpr-1" FilePath="Expressions/PathExpr/PathExpressions/" scenario="standard" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-1" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<output-file role="principal" compare="Text">PathExpr-1.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="PathExpr-2" FilePath="Expressions/PathExpr/PathExpressions/" scenario="standard" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-2" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<output-file role="principal" compare="Text">PathExpr-2.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="PathExpr-3" FilePath="Expressions/PathExpr/PathExpressions/" scenario="parse-error" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-3" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" name="PathExpr-4" FilePath="Expressions/PathExpr/PathExpressions/" scenario="standard" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-4" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<output-file role="principal" compare="Text">PathExpr-4.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="PathExpr-5" FilePath="Expressions/PathExpr/PathExpressions/" scenario="parse-error" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-5" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" name="PathExpr-6" FilePath="Expressions/PathExpr/PathExpressions/" scenario="standard" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-6" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<output-file role="principal" compare="Text">PathExpr-6.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="PathExpr-7" FilePath="Expressions/PathExpr/PathExpressions/" scenario="parse-error" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-7" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="false" name="PathExpr-8" FilePath="Expressions/PathExpr/PathExpressions/" scenario="parse-error" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-8" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="false" name="PathExpr-9" FilePath="Expressions/PathExpr/PathExpressions/" scenario="parse-error" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-9" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" name="PathExpr-10" FilePath="Expressions/PathExpr/PathExpressions/" scenario="parse-error" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-10" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" name="PathExpr-11" FilePath="Expressions/PathExpr/PathExpressions/" scenario="parse-error" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-11" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" name="PathExpr-12" FilePath="Expressions/PathExpr/PathExpressions/" scenario="parse-error" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-12" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" name="PathExpr-13" FilePath="Expressions/PathExpr/PathExpressions/" scenario="parse-error" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-13" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="false" name="PathExpr-14" FilePath="Expressions/PathExpr/PathExpressions/" scenario="standard" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-14" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<output-file role="principal" compare="Text">PathExpr-14.txt</output-file>
</test-case>
<test-case is-XPath2="true" name="PathExpr-15" FilePath="Expressions/PathExpr/PathExpressions/" scenario="standard" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-15" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<output-file role="principal" compare="Text">PathExpr-15.txt</output-file>
</test-case>
<test-case is-XPath2="false" name="PathExpr-16" FilePath="Expressions/PathExpr/PathExpressions/" scenario="standard" Creator="Nicolae Brinza">
<description>Leading lone slash syntax contraints.</description>
<spec-citation spec="XQuery" section-number="A.1.2" section-title="Extra-grammatical Constraints" section-pointer="extra-grammatical-constraints"/>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="PathExpr-16" date="2009-04-01"/>
<input-file role="principal-data" variable="input-context">OneTopElement</input-file>
<output-file role="principal" compare="Text">PathExpr-16.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Jim Melton" name="Steps-leading-lone-slash-1" FilePath="PathExpr/Steps/" scenario="parse-error">
<description>Verify xgc:leading-lone-slash implementation; parse error.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-1" date="2009-10-01"/>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-1a" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-1a" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-1a.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Jim Melton" name="Steps-leading-lone-slash-2" FilePath="PathExpr/Steps/" scenario="parse-error">
<description>Verify xgc:leading-lone-slash implementation; parse error.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-2" date="2009-10-01"/>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-2a" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-2a" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-2a.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Jim Melton" name="Steps-leading-lone-slash-3" FilePath="PathExpr/Steps/" scenario="parse-error">
<description>Verify xgc:leading-lone-slash implementation; parse error.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-3" date="2009-10-01"/>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-3a" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-3a" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-3a.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Jim Melton" name="Steps-leading-lone-slash-4" FilePath="PathExpr/Steps/" scenario="parse-error">
<description>Verify xgc:leading-lone-slash implementation; parse error.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-4" date="2009-10-01"/>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Jim Melton" name="Steps-leading-lone-slash-5" FilePath="PathExpr/Steps/" scenario="parse-error">
<description>Verify xgc:leading-lone-slash implementation; parse error.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-5" date="2009-10-01"/>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-5a" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-5a" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-5a.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Jim Melton" name="Steps-leading-lone-slash-6" FilePath="PathExpr/Steps/" scenario="parse-error">
<description>Verify xgc:leading-lone-slash implementation; parse error.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-6" date="2009-10-01"/>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case is-XPath2="true" Creator="Jim Melton" name="Steps-leading-lone-slash-7" FilePath="PathExpr/Steps/" scenario="parse-error">
<description>Verify xgc:leading-lone-slash implementation; parse error.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-7" date="2009-10-01"/>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-7a" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-7a" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-7a.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Jim Melton" name="Steps-leading-lone-slash-8" FilePath="PathExpr/Steps/" scenario="parse-error">
<description>Verify xgc:leading-lone-slash implementation; parse error.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-8" date="2009-10-01"/>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-8a" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-8a" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-8a.txt</output-file>
</test-case>
<test-case is-XPath2="true" Creator="Jim Melton" name="Steps-leading-lone-slash-9" FilePath="PathExpr/Steps/" scenario="parse-error">
<description>Verify xgc:leading-lone-slash implementation; valid path expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-9" date="2009-10-01"/>
<expected-error>XPST0003</expected-error>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-10" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid path expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-10" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-10.txt</output-file>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-11" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid path expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-11" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-11.txt</output-file>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-12" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid path expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-12" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-12.txt</output-file>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-13" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid path expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-13" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-13.txt</output-file>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-14" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid path expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-14" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-14.txt</output-file>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-15" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-15" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-15.txt</output-file>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-16" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-16" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-16.txt</output-file>
</test-case>
<test-case Creator="Jim Melton" is-XPath2="false" name="Steps-leading-lone-slash-17" FilePath="PathExpr/Steps/" scenario="standard">
<description>Verify xgc:leading-lone-slash implementation; valid expression.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727</reflects-resolution>
<query name="Steps-leading-lone-slash-17" date="2009-10-01"/>
<output-file role="principal" compare="Text">Steps-leading-lone-slash-17.txt</output-file>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQ.E27">
<xqts:GroupInfo>
<xqts:title>XQ.E27</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-NameTest-21" FilePath="PathExpr/Steps/NodeTestSection/NameTest/" scenario="runtime-error">
<description>A processing-instruction() with an invalid NCName in a string literal.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5351</reflects-resolution>
<query name="K2-NameTest-21" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-NameTest-22" FilePath="PathExpr/Steps/NodeTestSection/NameTest/" scenario="standard">
<description>A processing-instruction() with an invalid NCName in a string literal.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5351</reflects-resolution>
<query name="K2-NameTest-22" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="Fragment">K2-NameTest-22.txt</output-file>
</test-case>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-NameTest-23" FilePath="PathExpr/Steps/NodeTestSection/NameTest/" scenario="runtime-error">
<description>A processing-instruction() with an invalid NCName in a string literal.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5351</reflects-resolution>
<query name="K2-NameTest-23" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<expected-error>XPTY0004</expected-error>
</test-case>
</xqts:test-group>
<xqts:test-group name="XQX.E5">
<xqts:GroupInfo>
<xqts:title>XQX.E5</xqts:title>
<xqts:description/>
</xqts:GroupInfo>
<test-case Creator="Frans Englich" is-XPath2="false" name="K2-DirectConElemNamespace-76" FilePath="Construct/DirectConElem/DirectConElemNamespace/" scenario="standard">
<description>Serialize a prefixed namespace that has braces.</description>
<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5343</reflects-resolution>
<query name="K2-DirectConElemNamespace-76" date="2007-11-26+01:00"/>
<input-file role="principal-data" variable="input-context">emptydoc</input-file>
<output-file role="principal" compare="XML">K2-DirectConElemNamespace-76.txt</output-file>
<expected-error>XQST0046</expected-error>
<!-- optional error: the namespace URI is illegal, processors MAY detect this -->
</test-case>
</xqts:test-group>
</xqts:test-group>
</test-suite>