<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="SeqExprCastable" featureOwner="IBM/XSLT and Frans Englich">
   <GroupInfo>
      <title>Castable</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="CastableAs001" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(INF) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs001" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs001.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs002" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(0.0E0) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs002" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs002.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs003" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs003" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs003.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs004" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(INF) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs004" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs004.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs005" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(0.0E0) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs005" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs005.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs006" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs006" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs006.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs007" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-0.0E0) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs007" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs007.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs008" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(NaN) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs008" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs008.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs009" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1e-5) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs009" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs009.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs010" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-10000000) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs010" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs010.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs011" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs011" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs011.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs012" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-0.0E0) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs012" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs012.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs013" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(NaN) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs013" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs013.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs014" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1e-5) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs014" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs014.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs015" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-10000000) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs015" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs015.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs016" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs016" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs016.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs017" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-0.0E0) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs017" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs017.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs018" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(NaN) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs018" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs018.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs019" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1e-5) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs019" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs019.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs020" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(5.5432) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs020" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs020.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs021" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs021" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs021.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs022" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-0.0E0) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs022" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs022.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs023" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(NaN) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs023" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs023.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs024" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1e-5) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs024" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs024.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs025" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-1.1234) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs025" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs025.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs026" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs026" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs026.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs027" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(P1Y2M3DT10H30M23S) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs027" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs027.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs028" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-P1Y1M1DT1H1M1.123S) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs028" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs028.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs029" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs029" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs029.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs030" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-P1Y1M1DT1H1M1.123S) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs030" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs030.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs031" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(P24M) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs031" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs031.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs032" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-P21M) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs032" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs032.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs033" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs033" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs033.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs034" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-P1Y1M1DT1H1M1.123S) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs034" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs034.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs035" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(P3DT10H30M) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs035" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs035.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs036" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-PT100M) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs036" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs036.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs037" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs037" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs037.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs038" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1999-05-31T13:20:00) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs038" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs038.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs039" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-1999-05-31T13:20:00+14:00) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs039" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs039.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs040" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(2000-01-16T00:00:00Z) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs040" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs040.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs041" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs041" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs041.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs042" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(13:20:00-05:00) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs042" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs042.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs043" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(13:20:02.123) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs043" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs043.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs044" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(13:20:00Z) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs044" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs044.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs045" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs045" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs045.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs046" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1999-05-31) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs046" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs046.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs047" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-0012-12-03-05:00) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs047" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs047.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs048" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1999-05-31Z) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs048" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs048.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs049" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs049" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs049.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs050" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1999-05) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs050" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs050.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs051" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-0012-12-05:00) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs051" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs051.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs052" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1999-05Z) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs052" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs052.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs053" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs053" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs053.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs054" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1999) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs054" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs054.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs055" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(-0012-05:00) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs055" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs055.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs056" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(1999Z) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs056" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs056.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs057" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs057" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs057.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs058" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(--05-31) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs058" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs058.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs059" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(--05-31+14:00) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs059" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs059.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs060" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(--05-31Z) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs060" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs060.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs061" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs061" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs061.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs062" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(---31) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs062" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs062.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs063" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(---03-05:00) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs063" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs063.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs064" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(---31Z) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs064" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs064.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs065" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs065" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs065.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs066" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(--05) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs066" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs066.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs067" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(--12-05:00) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs067" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs067.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs068" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(--05Z) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs068" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs068.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs069" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs069" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs069.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs070" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(0.0) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs070" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs070.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs071" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(0) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs071" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs071.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs072" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs072" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs072.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs073" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs073" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs073.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs074" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(00000000) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs074" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs074.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs075" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(D74D35D35D35) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs075" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs075.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs076" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs076" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs076.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs077" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(010010101) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs077" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs077.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs078" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(0fb7) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs078" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs078.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs079" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(D74D35D35D35) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs079" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs079.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs080" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(http://www.example.com/~b%C3%A9b%C3%A9) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs080" date="2006-01-27-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs080.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs081" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(true) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs081" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs081.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs082" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:untypedAtomic(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs082" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs082.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs083" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(INF) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs083" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs083.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs084" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(0.0E0) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs084" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs084.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs085" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs085" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs085.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs086" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(INF) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs086" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs086.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs087" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(0.0E0) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs087" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs087.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs088" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs088" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs088.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs089" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-0.0E0) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs089" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs089.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs090" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(NaN) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs090" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs090.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs091" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1e-5) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs091" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs091.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs092" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-10000000) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs092" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs092.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs093" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs093" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs093.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs094" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-0.0E0) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs094" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs094.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs095" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(NaN) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs095" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs095.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs096" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1e-5) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs096" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs096.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs097" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-10000000) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs097" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs097.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs098" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs098" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs098.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs099" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-0.0E0) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs099" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs099.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs100" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(NaN) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs100" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs100.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs101" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1e-5) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs101" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs101.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs102" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(5.5432) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs102" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs102.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs103" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs103" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs103.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs104" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-0.0E0) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs104" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs104.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs105" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(NaN) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs105" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs105.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs106" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1e-5) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs106" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs106.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs107" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-1.1234) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs107" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs107.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs108" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs108" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs108.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs109" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(P1Y2M3DT10H30M23S) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs109" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs109.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs110" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-P1Y1M1DT1H1M1.123S) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs110" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs110.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs111" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs111" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs111.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs112" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-P1Y1M1DT1H1M1.123S) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs112" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs112.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs113" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(P24M) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs113" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs113.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs114" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-P21M) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs114" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs114.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs115" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs115" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs115.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs116" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-P1Y1M1DT1H1M1.123S) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs116" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs116.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs117" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(P3DT10H30M) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs117" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs117.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs118" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-PT100M) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs118" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs118.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs119" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs119" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs119.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs120" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1999-05-31T13:20:00) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs120" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs120.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs121" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-1999-05-31T13:20:00+14:00) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs121" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs121.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs122" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(2000-01-16T00:00:00Z) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs122" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs122.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs123" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs123" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs123.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs124" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(13:20:00-05:00) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs124" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs124.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs125" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(13:20:02.123) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs125" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs125.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs126" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(13:20:00Z) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs126" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs126.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs127" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs127" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs127.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs128" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1999-05-31) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs128" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs128.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs129" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-0012-12-03-05:00) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs129" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs129.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs130" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1999-05-31Z) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs130" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs130.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs131" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs131" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs131.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs132" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1999-05) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs132" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs132.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs133" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-0012-12-05:00) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs133" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs133.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs134" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1999-05Z) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs134" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs134.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs135" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs135" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs135.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs136" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1999) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs136" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs136.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs137" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(-0012-05:00) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs137" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs137.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs138" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(1999Z) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs138" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs138.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs139" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs139" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs139.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs140" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(--05-31) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs140" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs140.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs141" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(--05-31+14:00) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs141" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs141.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs142" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(--05-31Z) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs142" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs142.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs143" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs143" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs143.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs144" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(---31) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs144" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs144.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs145" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(---03-05:00) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs145" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs145.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs146" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(---31Z) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs146" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs146.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs147" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs147" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs147.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs148" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(--05) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs148" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs148.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs149" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(--12-05:00) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs149" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs149.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs150" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(--05Z) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs150" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs150.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs151" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs151" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs151.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs152" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(0.0) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs152" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs152.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs153" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(0) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs153" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs153.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs154" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs154" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs154.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs155" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs155" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs155.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs156" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(00000000) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs156" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs156.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs157" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(D74D35D35D35) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs157" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs157.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs158" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs158" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs158.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs159" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(010010101) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs159" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs159.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs160" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(0fb7) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs160" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs160.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs161" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(D74D35D35D35) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs161" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs161.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs162" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(http://www.example.com/~b%C3%A9b%C3%A9) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs162" date="2006-01-27-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs162.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs163" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(true) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs163" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs163.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs164" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:string(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs164" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs164.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs165" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(1e5) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs165" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs165.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs166" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-INF) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs166" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs166.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs167" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-0.0E0) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs167" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs167.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs168" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(NaN) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs168" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs168.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs169" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs169" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs169.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs170" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-1.75e-3) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs170" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs170.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs171" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(INF) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs171" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs171.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs172" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-0.0E0) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs172" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs172.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs173" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-INF) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs173" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs173.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs174" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-0.0E0) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs174" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs174.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs175" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs175" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs175.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs176" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(1e5) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs176" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs176.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs177" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-1.75e-3) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs177" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs177.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs178" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-0.0E0) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs178" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs178.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs179" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(1e5) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs179" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs179.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs180" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(INF) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs180" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs180.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs181" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-1.75e-3) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs181" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs181.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs182" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs182" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs182.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs183" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs183" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs183.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs184" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs184" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs184.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs185" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs185" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs185.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs186" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs186" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs186.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs187" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs187" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs187.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs188" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs188" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs188.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs189" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs189" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs189.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs190" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs190" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs190.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs191" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs191" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs191.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs192" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-0.0E0) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs192" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs192.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs193" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(1e5) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs193" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs193.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs194" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(-INF) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs194" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs194.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs195" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(NaN) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs195" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs195.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs196" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs196" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs196.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs197" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs197" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs197.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs198" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:float(5.4321E-100) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs198" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs198.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs199" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs199" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs199.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs200" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(INF) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs200" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs200.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs201" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e8) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs201" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs201.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs202" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(INF) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs202" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs202.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs203" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(-0.0E0) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs203" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs203.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs204" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(5.4321E-1001) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs204" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs204.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs205" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs205" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs205.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs206" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(-1.75e-3) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs206" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs206.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs207" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(NaN) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs207" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs207.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs208" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs208" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs208.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs209" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(INF) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs209" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs209.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs210" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(-0.0E0) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs210" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs210.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs211" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(5.4321E-1001) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs211" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs211.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs212" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(-1.75e-3) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs212" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs212.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs213" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(INF) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs213" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs213.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs214" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(-0.0E0) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs214" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs214.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs215" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs215" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs215.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs216" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(-1.75e-3) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs216" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs216.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs217" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(INF) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs217" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs217.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs218" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(NaN) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs218" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs218.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs219" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs219" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs219.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs220" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs220" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs220.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs221" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs221" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs221.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs222" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs222" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs222.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs223" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs223" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs223.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs224" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs224" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs224.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs225" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs225" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs225.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs226" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs226" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs226.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs227" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs227" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs227.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs228" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs228" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs228.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs229" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs229" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs229.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs230" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs230" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs230.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs231" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs231" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs231.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs232" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs232" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs232.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs233" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:double(1e5) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs233" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs233.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs234" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs234" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs234.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs235" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs235" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs235.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs236" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs236" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs236.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs237" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs237" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs237.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs238" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs238" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs238.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs239" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs239" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs239.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs240" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(5.5432) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs240" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs240.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs241" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs241" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs241.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs242" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs242" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs242.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs243" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs243" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs243.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs244" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs244" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs244.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs245" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs245" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs245.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs246" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs246" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs246.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs247" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs247" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs247.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs248" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs248" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs248.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs249" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs249" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs249.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs250" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs250" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs250.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs251" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs251" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs251.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs252" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs252" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs252.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs253" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs253" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs253.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs254" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs254" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs254.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs255" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:decimal(-1.1234) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs255" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs255.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs256" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(1) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs256" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs256.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs257" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs257" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs257.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs258" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs258" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs258.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs259" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs259" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs259.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs260" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs260" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs260.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs261" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs261" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs261.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs262" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs262" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs262.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs263" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs263" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs263.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs264" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs264" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs264.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs265" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs265" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs265.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs266" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs266" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs266.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs267" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs267" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs267.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs268" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs268" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs268.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs269" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs269" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs269.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs270" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs270" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs270.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs271" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs271" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs271.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs272" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs272" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs272.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs273" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs273" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs273.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs274" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs274" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs274.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs275" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs275" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs275.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs276" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:integer(-100) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs276" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs276.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs277" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs277" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs277.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs278" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs278" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs278.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs279" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs279" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs279.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs280" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs280" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs280.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs281" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs281" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs281.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs282" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs282" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs282.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs283" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs283" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs283.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs284" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(PT10H) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs284" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs284.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs285" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs285" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs285.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs286" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(PT10H) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs286" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs286.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs287" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P24M) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs287" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs287.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs288" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs288" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs288.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs289" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(PT10H) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs289" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs289.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs290" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P24M) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs290" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs290.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs291" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs291" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs291.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs292" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs292" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs292.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs293" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs293" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs293.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs294" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs294" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs294.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs295" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs295" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs295.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs296" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs296" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs296.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs297" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs297" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs297.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs298" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs298" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs298.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs299" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs299" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs299.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs300" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs300" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs300.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs301" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs301" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs301.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs302" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:duration(P1Y2M3DT10H30M23S) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs302" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs302.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs303" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs303" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs303.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs304" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs304" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs304.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs305" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs305" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs305.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs306" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs306" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs306.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs307" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs307" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs307.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs308" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs308" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs308.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs309" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs309" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs309.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs310" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs310" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs310.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs311" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(-P21M) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs311" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs311.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs312" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs312" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs312.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs313" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs313" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs313.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs314" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs314" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs314.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs315" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs315" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs315.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs316" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs316" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs316.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs317" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs317" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs317.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs318" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs318" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs318.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs319" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs319" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs319.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs320" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs320" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs320.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs321" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs321" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs321.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs322" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs322" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs322.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs323" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs323" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs323.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs324" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:yearMonthDuration(P1Y2M) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs324" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs324.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs325" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs325" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs325.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs326" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(-PT100M) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs326" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs326.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs327" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs327" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs327.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs328" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(-PT100M) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs328" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs328.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs329" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs329" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs329.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs330" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs330" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs330.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs331" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs331" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs331.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs332" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs332" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs332.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs333" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs333" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs333.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs334" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(PT24H) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs334" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs334.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs335" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(-PT100M) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs335" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs335.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs336" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs336" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs336.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs337" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs337" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs337.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs338" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P14D) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs338" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs338.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs339" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(-PT100M) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs339" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs339.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs340" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs340" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs340.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs341" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs341" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs341.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs342" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs342" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs342.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs343" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs343" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs343.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs344" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs344" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs344.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs345" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs345" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs345.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs346" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs346" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs346.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs347" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs347" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs347.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs348" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs348" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs348.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs349" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs349" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs349.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs350" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs350" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs350.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs351" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dayTimeDuration(P3DT10H30M) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs351" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs351.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs352" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs352" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs352.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs353" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(-1999-05-31T13:20:00+14:00) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs353" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs353.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs354" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs354" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs354.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs355" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(-1999-05-31T13:20:00+14:00) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs355" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs355.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs356" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs356" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs356.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs357" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(2000-01-16T00:00:00Z) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs357" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs357.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs358" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs358" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs358.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs359" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs359" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs359.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs360" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs360" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs360.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs361" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs361" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs361.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs362" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs362" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs362.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs363" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs363" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs363.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs364" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs364" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs364.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs365" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(-1999-05-31T13:20:00+14:00) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs365" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs365.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs366" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs366" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs366.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs367" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(-1999-05-31T13:20:00+14:00) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs367" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs367.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs368" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs368" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs368.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs369" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(-1999-05-31T13:20:00+14:00) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs369" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs369.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs370" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs370" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs370.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs371" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(-1999-05-31T13:20:00+14:00) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs371" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs371.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs372" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs372" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs372.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs373" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(-1999-05-31T13:20:00+14:00) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs373" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs373.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs374" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs374" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs374.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs375" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(-1999-05-31T13:20:00+14:00) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs375" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs375.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs376" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs376" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs376.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs377" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(-1999-05-31T13:20:00+14:00) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs377" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs377.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs378" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs378" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs378.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs379" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs379" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs379.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs380" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs380" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs380.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs381" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:dateTime(1999-05-31T13:20:00) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs381" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs381.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs382" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs382" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs382.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs383" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs383" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs383.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs384" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs384" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs384.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs385" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs385" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs385.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs386" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs386" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs386.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs387" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs387" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs387.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs388" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs388" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs388.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs389" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs389" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs389.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs390" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs390" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs390.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs391" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs391" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs391.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs392" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs392" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs392.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs393" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:02.123) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs393" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs393.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs394" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00Z) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs394" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs394.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs395" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs395" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs395.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs396" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs396" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs396.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs397" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs397" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs397.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs398" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs398" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs398.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs399" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs399" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs399.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs400" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs400" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs400.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs401" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs401" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs401.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs402" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs402" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs402.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs403" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs403" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs403.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs404" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:time(13:20:00-05:00) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs404" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs404.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs405" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs405" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs405.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs406" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(-0012-12-03-05:00) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs406" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs406.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs407" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs407" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs407.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs408" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(-0012-12-03-05:00) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs408" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs408.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs409" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs409" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs409.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs410" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs410" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs410.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs411" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31Z) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs411" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs411.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs412" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs412" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs412.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs413" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs413" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs413.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs414" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs414" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs414.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs415" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs415" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs415.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs416" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs416" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs416.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs417" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs417" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs417.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs418" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs418" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs418.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs419" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(-0012-12-03-05:00) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs419" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs419.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs420" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31Z) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs420" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs420.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs421" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs421" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs421.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs422" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs422" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs422.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs423" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(-0012-12-03-05:00) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs423" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs423.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs424" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31Z) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs424" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs424.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs425" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs425" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs425.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs426" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(-0012-12-03-05:00) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs426" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs426.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs427" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31Z) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs427" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs427.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs428" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31Z) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs428" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs428.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs429" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(-0012-12-03-05:00) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs429" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs429.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs430" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31Z) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs430" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs430.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs431" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs431" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs431.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs432" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs432" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs432.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs433" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs433" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs433.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs434" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:date(1999-05-31) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs434" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs434.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs435" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs435" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs435.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs436" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs436" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs436.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs437" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs437" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs437.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs438" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs438" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs438.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs439" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs439" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs439.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs440" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs440" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs440.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs441" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs441" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs441.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs442" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs442" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs442.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs443" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs443" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs443.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs444" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs444" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs444.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs445" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs445" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs445.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs446" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs446" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs446.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs447" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs447" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs447.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs448" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs448" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs448.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs449" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(-0012-12-05:00) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs449" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs449.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs450" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs450" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs450.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs451" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs451" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs451.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs452" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs452" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs452.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs453" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs453" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs453.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs454" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs454" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs454.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs455" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs455" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs455.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs456" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs456" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs456.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs457" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs457" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs457.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs458" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYearMonth(1999-05Z) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs458" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs458.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs459" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs459" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs459.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs460" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs460" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs460.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs461" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs461" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs461.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs462" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs462" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs462.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs463" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs463" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs463.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs464" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs464" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs464.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs465" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs465" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs465.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs466" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs466" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs466.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs467" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs467" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs467.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs468" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs468" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs468.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs469" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs469" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs469.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs470" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs470" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs470.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs471" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs471" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs471.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs472" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(-0012-05:00) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs472" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs472.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs473" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999Z) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs473" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs473.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs474" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs474" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs474.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs475" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs475" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs475.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs476" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs476" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs476.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs477" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs477" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs477.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs478" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs478" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs478.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs479" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs479" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs479.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs480" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gYear(1999) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs480" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs480.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs481" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs481" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs481.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs482" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs482" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs482.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs483" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs483" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs483.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs484" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs484" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs484.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs485" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs485" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs485.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs486" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs486" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs486.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs487" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs487" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs487.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs488" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs488" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs488.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs489" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs489" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs489.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs490" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs490" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs490.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs491" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs491" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs491.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs492" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs492" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs492.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs493" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs493" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs493.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs494" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs494" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs494.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs495" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs495" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs495.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs496" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--12-03-05:00) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs496" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs496.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs497" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31Z) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs497" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs497.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs498" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs498" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs498.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs499" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs499" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs499.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs500" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs500" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs500.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs501" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs501" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs501.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs502" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs502" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs502.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs503" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonthDay(--05-31) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs503" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs503.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs504" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs504" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs504.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs505" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs505" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs505.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs506" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs506" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs506.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs507" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs507" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs507.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs508" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs508" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs508.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs509" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs509" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs509.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs510" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs510" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs510.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs511" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs511" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs511.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs512" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs512" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs512.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs513" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs513" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs513.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs514" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs514" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs514.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs515" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs515" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs515.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs516" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs516" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs516.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs517" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs517" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs517.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs518" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs518" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs518.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs519" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs519" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs519.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs520" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---03-05:00) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs520" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs520.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs521" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31Z) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs521" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs521.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs522" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs522" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs522.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs523" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs523" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs523.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs524" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs524" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs524.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs525" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs525" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs525.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs526" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gDay(---31) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs526" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs526.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs527" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs527" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs527.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs528" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs528" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs528.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs529" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs529" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs529.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs530" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs530" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs530.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs531" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs531" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs531.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs532" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs532" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs532.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs533" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs533" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs533.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs534" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs534" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs534.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs535" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs535" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs535.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs536" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs536" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs536.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs537" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs537" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs537.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs538" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs538" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs538.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs539" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs539" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs539.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs540" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs540" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs540.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs541" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs541" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs541.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs542" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs542" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs542.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs543" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs543" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs543.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs544" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--12-05:00) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs544" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs544.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs545" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05Z) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs545" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs545.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs546" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs546" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs546.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs547" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs547" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs547.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs548" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs548" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs548.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs549" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:gMonth(--05) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs549" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs549.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs550" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs550" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs550.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs551" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs551" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs551.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs552" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs552" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs552.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs553" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(false) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs553" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs553.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs554" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs554" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs554.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs555" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(false) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs555" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs555.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs556" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs556" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs556.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs557" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(false) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs557" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs557.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs558" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs558" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs558.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs559" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(false) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs559" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs559.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs560" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs560" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs560.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs561" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs561" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs561.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs562" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs562" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs562.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs563" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs563" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs563.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs564" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs564" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs564.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs565" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs565" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs565.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs566" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs566" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs566.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs567" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs567" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs567.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs568" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs568" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs568.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs569" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs569" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs569.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs570" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs570" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs570.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs571" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs571" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs571.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs572" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(false) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs572" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs572.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs573" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs573" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs573.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs574" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs574" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs574.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs575" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:boolean(true) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs575" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs575.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs576" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(01001010) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs576" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs576.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs577" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(0FB7) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs577" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs577.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs578" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(01001010) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs578" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs578.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs579" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(0FB7) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs579" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs579.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs580" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs580" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs580.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs581" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs581" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs581.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs582" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs582" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs582.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs583" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs583" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs583.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs584" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs584" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs584.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs585" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs585" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs585.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs586" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs586" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs586.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs587" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs587" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs587.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs588" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs588" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs588.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs589" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs589" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs589.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs590" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs590" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs590.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs591" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs591" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs591.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs592" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs592" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs592.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs593" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs593" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs593.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs594" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs594" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs594.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs595" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs595" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs595.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs596" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(01001010) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs596" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs596.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs597" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(0FB7) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs597" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs597.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs598" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(00000000) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs598" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs598.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs599" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs599" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs599.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs600" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(aA+zZ/09) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs600" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs600.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs601" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(0FB7) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs601" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs601.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs602" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:base64Binary(10010101) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs602" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs602.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs603" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs603" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs603.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs604" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs604" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs604.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs605" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs605" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs605.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs606" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs606" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs606.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs607" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs607" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs607.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs608" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs608" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs608.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs609" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs609" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs609.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs610" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs610" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs610.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs611" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs611" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs611.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs612" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs612" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs612.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs613" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs613" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs613.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs614" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs614" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs614.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs615" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs615" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs615.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs616" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs616" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs616.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs617" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs617" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs617.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs618" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs618" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs618.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs619" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs619" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs619.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs620" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs620" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs620.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs621" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs621" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs621.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs622" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(0fb7) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs622" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs622.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs623" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs623" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs623.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs624" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(d74d35d35d35) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs624" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs624.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs625" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:hexBinary(D74D35D35D35) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs625" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs625.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs626" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:untypedAtomic.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs626" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs626.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs627" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:string.</description>
      <spec-citation section-number="17.1.2" spec="FuncOps" section-title="Casting to xs:string and xs:untypedAtomic" section-pointer="casting-to-string"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs627" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs627.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs628" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:float.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs628" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs628.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs629" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:double.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs629" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs629.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs630" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:decimal.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs630" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs630.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs631" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:integer.</description>
      <spec-citation section-number="17.1.3" spec="FuncOps" section-title="Casting to numeric types" section-pointer="casting-to-numerics"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs631" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs631.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs632" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:duration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs632" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs632.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs633" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:yearMonthDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs633" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs633.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs634" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:dayTimeDuration.</description>
      <spec-citation section-number="17.1.4" spec="FuncOps" section-title="Casting to duration types" section-pointer="casting-to-durations"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs634" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs634.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs635" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:dateTime.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs635" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs635.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs636" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:time.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs636" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs636.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs637" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:date.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs637" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs637.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs638" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:gYearMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs638" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs638.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs639" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:gYear.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs639" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs639.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs640" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:gMonthDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs640" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs640.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs641" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:gDay.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs641" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs641.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs642" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:gMonth.</description>
      <spec-citation section-number="17.1.5" spec="FuncOps" section-title="Casting to date and time types" section-pointer="casting-to-datetimes"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs642" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs642.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs643" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:boolean.</description>
      <spec-citation section-number="17.1.6" spec="FuncOps" section-title="Casting to xs:boolean" section-pointer="casting-boolean"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs643" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs643.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs644" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:base64Binary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs644" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs644.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs645" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:hexBinary.</description>
      <spec-citation section-number="17.1.7" spec="FuncOps" section-title="Casting to xs:base64Binary and xs:hexBinary" section-pointer="casting-to-binary"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs645" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs645.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs646" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Joanne Tong">
      <description>Try xs:anyURI(http://www.ietf.org/rfc/rfc2396.txt) castable as xs:anyURI.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs646" date="2005-07-21-07:00"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs646.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs647" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Carmelo Montanez">
      <description>Try string lieral castable as xs:QName.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <query name="CastableAs647" date="2006-06-08"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs647.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="CastableAs648" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Carmelo Montanez">
      <description>Try variable castable as xs:QName.</description>
      <spec-citation section-number="17.1.8" spec="FuncOps" section-title="Casting to xs:anyURI" section-pointer="casting-to-anyuri"/>
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
      <query name="CastableAs648" date="2006-06-08"/>
      <input-file variable="input-context" role="principal-data">emptydoc</input-file>
      <output-file compare="Text" role="principal">CastableAs648.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs649" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Nicolae Brinza">
      <description>Reordering the predicates should not cause the expression to raise an error.</description>      
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
      <query name="CastableAs649" date="2009-04-01"/>
      <input-file variable="input-context" role="principal-data">acme_corp</input-file>
      <output-file compare="Text" role="principal">CastableAs649.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="CastableAs650" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard" Creator="Nicolae Brinza">
      <description>The expression should not raise a dynamic error.</description>      
      <spec-citation section-number="3.12.4" spec="XQuery" section-title="Castable" section-pointer="id-castable"/>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4446</reflects-resolution>
      <query name="CastableAs650" date="2009-04-01"/>
      <input-file variable="input-context" role="principal-data">acme_corp</input-file>
      <output-file compare="Text" role="principal">CastableAs650.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-1" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="parse-error">
      <description>'+' nor '?' is allowed as a cardinality specifier in 'castable as'.</description>
      <query name="K-SeqExprCastable-1" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-2" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="parse-error">
      <description>'+' nor '?' is allowed as a cardinality specifier in 'castable as'.</description>
      <query name="K-SeqExprCastable-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-3" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="parse-error">
      <description>'+' nor '?' is allowed as a cardinality specifier in 'castable as'.</description>
      <query name="K-SeqExprCastable-3" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-4" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="parse-error">
      <description>'+' nor '?' is allowed as a cardinality specifier in 'castable as'.</description>
      <query name="K-SeqExprCastable-4" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
      <expected-error>XPST0051</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-5" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="runtime-error">
      <description>An invalid type for 'castable as' is specified.</description>
      <query name="K-SeqExprCastable-5" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0051</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-6" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="runtime-error">
      <description>An invalid type for 'castable as' is specified.</description>
      <query name="K-SeqExprCastable-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0051</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-7" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="runtime-error">
      <description>An invalid type for 'castable as' is specified.</description>
      <query name="K-SeqExprCastable-7" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0080</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-8" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="runtime-error">
      <description>An invalid type for 'castable as' is specified.</description>
      <query name="K-SeqExprCastable-8" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0080</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-9" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="runtime-error">
      <description>An invalid type for 'castable as' is specified.</description>
      <query name="K-SeqExprCastable-9" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0080</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-10" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="runtime-error">
      <description>An invalid type for 'castable as' is specified.</description>
      <query name="K-SeqExprCastable-10" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0080</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-11" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="runtime-error">
      <description>An invalid type for 'castable as' is specified.</description>
      <query name="K-SeqExprCastable-11" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0080</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-12" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="parse-error">
      <description>An invalid type for 'castable as' is specified.</description>
      <query name="K-SeqExprCastable-12" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
      <expected-error>XPST0051</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-13" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="parse-error">
      <description>An invalid type for 'castable as' is specified, leading to a syntax error.</description>
      <query name="K-SeqExprCastable-13" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
      <expected-error>XPST0051</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-14" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="parse-error">
      <description>An invalid type for 'castable as' is specified, leading to a syntax error.</description>
      <query name="K-SeqExprCastable-14" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
      <expected-error>XPST0051</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-15" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="parse-error">
      <description>An invalid type for 'castable as' is specified, leading to a syntax error.</description>
      <query name="K-SeqExprCastable-15" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
      <expected-error>XPST0051</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-16" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="parse-error">
      <description>An invalid type for 'castable as' is specified, leading to a syntax error.</description>
      <query name="K-SeqExprCastable-16" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
      <expected-error>XPST0051</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-17" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not(QName("", "lname") castable as xs:integer)`.</description>
      <query name="K-SeqExprCastable-17" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-17.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-18" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>When casting to xs:QName the source value can be a xs:QName value.</description>
      <query name="K-SeqExprCastable-18" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-18.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-19" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>Casting an xs:string to xs:QName works.</description>
      <query name="K-SeqExprCastable-19" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-19.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-20" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>Casting an empty sequence to xs:QName does not work.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
      <query name="K-SeqExprCastable-20" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-20.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-21" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>Casting an empty sequence to xs:QName? works.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
      <query name="K-SeqExprCastable-21" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-21.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-22" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>Casting an xs:untypedAtomic to xs:QName does not work.</description>
      <query name="K-SeqExprCastable-22" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-22.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-23" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not(("one", "two") castable as xs:string?)`.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
      <query name="K-SeqExprCastable-23" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-23.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-24" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not('string' castable as xs:boolean)`.</description>
      <query name="K-SeqExprCastable-24" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-24.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-25" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `'true' castable as xs:boolean`.</description>
      <query name="K-SeqExprCastable-25" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-25.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-26" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `xs:float(1) castable as xs:float`.</description>
      <query name="K-SeqExprCastable-26" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-26.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-27" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `xs:float(1) castable as xs:untypedAtomic`.</description>
      <query name="K-SeqExprCastable-27" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-27.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-28" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `xs:float(1) castable as xs:string`.</description>
      <query name="K-SeqExprCastable-28" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-28.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-29" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not(xs:anyURI("example.com/") castable as xs:integer)`.</description>
      <query name="K-SeqExprCastable-29" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-29.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-30" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not("three" castable as xs:float)`.</description>
      <query name="K-SeqExprCastable-30" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-30.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-31" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not("three" castable as xs:integer)`.</description>
      <query name="K-SeqExprCastable-31" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-31.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-32" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not("three" castable as xs:decimal)`.</description>
      <query name="K-SeqExprCastable-32" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-32.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-33" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not("three" castable as xs:double)`.</description>
      <query name="K-SeqExprCastable-33" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-33.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-34" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not((1, 2, 3) castable as xs:integer)`.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
      <query name="K-SeqExprCastable-34" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-34.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-35" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not(() castable as xs:integer)`.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
      <query name="K-SeqExprCastable-35" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-35.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-36" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `() castable as xs:integer?`.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
      <query name="K-SeqExprCastable-36" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-36.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-37" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `(1) castable as xs:integer?`.</description>
      <query name="K-SeqExprCastable-37" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-37.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCastable-38" FilePath="Expressions/exprSeqTypes/SeqExprCastable/" scenario="standard">
      <description>A test whose essence is: `not(("one", "two") castable as xs:string?)`.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
      <query name="K-SeqExprCastable-38" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-SeqExprCastable-38.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-1" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="standard">
      <description>Testing castability to xs:QName where the cardinality is wrong.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
      <query name="K2-SeqExprCastable-1" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-SeqExprCastable-1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-2" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="standard">
      <description>Testing castability to xs:QName where the cardinality is wrong(#2).</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747</reflects-resolution>
      <query name="K2-SeqExprCastable-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-SeqExprCastable-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-3" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="runtime-error">
      <description>Combine operator div with castable as.</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4873</reflects-resolution>
      <query name="K2-SeqExprCastable-3" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>FOAR0001</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-4" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="runtime-error">
      <description>Combine operator div with castable as(#2).</description>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4873</reflects-resolution>
      <query name="K2-SeqExprCastable-4" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>FOAR0001</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-5" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="standard">
      <description>Check casting an xs:positiveInteger value to xs:double.</description>
      <query name="K2-SeqExprCastable-5" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-SeqExprCastable-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-6" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="standard">
      <description>Check that an invalid xs:anyURI gets flagged as not being castable.</description>
      <query name="K2-SeqExprCastable-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-SeqExprCastable-6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-7" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="standard">
      <description>Check that an invalid xs:anyURI gets flagged as not being castable.</description>
      <query name="K2-SeqExprCastable-7" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-SeqExprCastable-7.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K2-SeqExprCastable-8" FilePath="exprSeqTypes/SeqExprCast/SeqExprCastable/" scenario="standard">
      <description>Check castability of an invalid xs:anyURI.</description>
      <query name="K2-SeqExprCastable-8" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-SeqExprCastable-8.txt</output-file>
      <output-file role="principal" compare="Text">K2-SeqExprCastable-8-2.txt</output-file>
   </test-case>
</test-group>
