You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2014/04/02 06:12:25 UTC

[45/50] [abbrv] New weather benchmark test suite that includes tests for 1, 2, and 4 partitions of data.

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/d2771c04/vxquery-xtest/tests/XQTSCatalogSecondEdition.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/XQTSCatalogSecondEdition.xml b/vxquery-xtest/tests/XQTSCatalogSecondEdition.xml
new file mode 100644
index 0000000..e076557
--- /dev/null
+++ b/vxquery-xtest/tests/XQTSCatalogSecondEdition.xml
@@ -0,0 +1,3816 @@
+<?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</ref

<TRUNCATED>