<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="EscapeHTMLURIFunc" featureOwner="Frans Englich">
   <GroupInfo>
      <title>fn:escape-html-uri</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="fn-escape-html-uri1args-1" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Joanne Tong">
      <description>Test escape-html-uri from example defined in functions and operators specification.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri1args-1" date="2005-09-29+01:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri1args-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri1args-2" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Joanne Tong">
      <description>Test escape-html-uri from example defined in functions and operators specification.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri1args-2" date="2005-09-29+01:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri1args-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri1args-3" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Joanne Tong">
      <description>Test escape-html-uri with zero-length string argument.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri1args-3" date="2005-09-29+01:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri1args-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri1args-4" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Joanne Tong">
      <description>Test escape-html-uri with empty sequence argument.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri1args-4" date="2005-09-29+01:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri1args-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri1args-5" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="runtime-error" Creator="Joanne Tong">
      <description>Test escape-html-uri with invalid argument types.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri1args-5" date="2005-09-29+01:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <expected-error>XPTY0004</expected-error>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri1args-6" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="runtime-error" Creator="Joanne Tong">
      <description>Test escape-html-uri with incorrect arity.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri1args-6" date="2005-09-29+01:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <expected-error>XPST0017</expected-error>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-1" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape lower case letters.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-1" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-2" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape upper case letters.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-2" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-3" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape digits.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-3" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-4" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the space.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-4" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-5" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "!" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-5" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-6" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "#" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-6" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-7" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "$" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-7" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-7.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-8" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "'" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-8" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-8.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-9" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "(" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-9" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-9.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-10" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the ")" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-10" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-10.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-11" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "*" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-11" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-11.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-12" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "+" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-12" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-12.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-13" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "," symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-13" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-13.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-14" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "-" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-14" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-14.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-15" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "." symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-15" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-15.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-16" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "/" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-16" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-16.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-17" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the ";" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-17" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-17.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-18" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the ":" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-18" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-18.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="fn-escape-html-uri-19" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does not escape the "@" symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-19" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-19.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="fn-escape-html-uri-20" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does escape the extended ascii (decimal 233) symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-20" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-20.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="fn-escape-html-uri-21" FilePath="Functions/AllStringFunc/EscapingFuncs/EscapeHTMLURIFunc/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates that escape-html-uri does escape the euro symbol.</description>
      <spec-citation section-number="7.4.12" spec="FuncOps" section-title="fn:escape-html-uri" section-pointer="func-escape-html-uri"/>
      <query name="fn-escape-html-uri-21" date="2005-11-25"/>
      <input-file variable="input-context1" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">fn-escape-html-uri-21.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-EscapeHTMLURIFunc-1" FilePath="Functions/AllStringFunc/GeneralStringFunc/EscapeHTMLURIFunc/" scenario="runtime-error">
      <description>A test whose essence is: `escape-html-uri()`.</description>
      <query name="K-EscapeHTMLURIFunc-1" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0017</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-EscapeHTMLURIFunc-2" FilePath="Functions/AllStringFunc/GeneralStringFunc/EscapeHTMLURIFunc/" scenario="runtime-error">
      <description>A test whose essence is: `escape-html-uri("http://example.com/", "wrong param")`.</description>
      <query name="K-EscapeHTMLURIFunc-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0017</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-EscapeHTMLURIFunc-3" FilePath="Functions/AllStringFunc/GeneralStringFunc/EscapeHTMLURIFunc/" scenario="standard">
      <description>A test whose essence is: `escape-html-uri(()) eq ""`.</description>
      <query name="K-EscapeHTMLURIFunc-3" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-EscapeHTMLURIFunc-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-EscapeHTMLURIFunc-4" FilePath="Functions/AllStringFunc/GeneralStringFunc/EscapeHTMLURIFunc/" scenario="standard">
      <description>Combine fn:concat and fn:escape-html-uri.</description>
      <query name="K-EscapeHTMLURIFunc-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-EscapeHTMLURIFunc-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-EscapeHTMLURIFunc-5" FilePath="Functions/AllStringFunc/GeneralStringFunc/EscapeHTMLURIFunc/" scenario="standard">
      <description>Combine fn:concat and fn:escape-html-uri.</description>
      <query name="K-EscapeHTMLURIFunc-5" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-EscapeHTMLURIFunc-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-EscapeHTMLURIFunc-6" FilePath="Functions/AllStringFunc/GeneralStringFunc/EscapeHTMLURIFunc/" scenario="standard">
      <description>Invoke fn:normalize-space() on the return value of fn:escape-html-uri().</description>
      <query name="K-EscapeHTMLURIFunc-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-EscapeHTMLURIFunc-6.txt</output-file>
   </test-case>
</test-group>