XQuery/XPath Test Suite Evaluation

Overview

Command line: --mode xquery3 --print-failed-inputs --print-test-cases fe --parser fcl-xml --format html --exclude-test-case same-key-023,same-key-024,RangeExpr-407c,RangeExpr-407d,RangeExpr-409c,RangeExpr-409d --test-set file


NamePassedFailedWrong errorN/ASkipped
 
Total1795000
 
 
expath-file1795000
 

expath-file

file/file.xml:

Passed: 179 Failures: 5 Wrong errors: 0 N/A: 0 Skipped: 0
TestnameStatusGotExpectedTest Input
EXPath-file-appendText3-002FAILED 2()<all-of> <assert-empty/> <assert>xs:hexBinary(Q{http://expath.org/ns/file}read-binary("sandpit/test3.txt")) eq xs:hexBinary("FEFF0061FEFF0062FEFF0063")</assert> </all-of> (unescaped) (if (file:exists("sandpit/test3.txt")) then file:delete("sandpit/test3.txt") else ()), file:append-text("sandpit/test3.txt", ("a"), "UTF-16"), file:append-text("sandpit/test3.txt", ("b"), "UTF-16"), file:append-text("sandpit/test3.txt", ("c"), "UTF-16")
EXPath-file-readText2-005FAILED""<error code="Q{http://expath.org/ns/file}io-error"/> (if (file:exists("sandpit/test.txt")) then file:delete("sandpit/test.txt") else ()), file:write-binary("sandpit/test.txt", xs:base64Binary(xs:hexBinary("A3"))), file:read-text("sandpit/test.txt", "UTF-8")
EXPath-file-readTextLines1-015FAILED""<error code="Q{http://expath.org/ns/file}io-error"/> (if (file:exists("sandpit/test.txt")) then file:delete("sandpit/test.txt") else ()), file:write-binary("sandpit/test.txt", xs:base64Binary(xs:hexBinary("A3"))), file:read-text-lines("sandpit/test.txt", "UTF-8")
EXPath-file-writeText3-002FAILED 2()<all-of> <assert-empty/> <assert>xs:hexBinary(Q{http://expath.org/ns/file}read-binary("sandpit/test3.txt")) eq xs:hexBinary("FEFF006100620063")</assert> </all-of> (unescaped) (if (file:exists("sandpit/test3.txt")) then file:delete("sandpit/test3.txt") else ()), file:write-text("sandpit/test3.txt", "abc", "UTF-16")
EXPath-file-baseDir-001FAILED 1"http://QT3.W3.ORG"<all-of> <assert>ends-with($result, file:dir-separator())</assert> <assert> let $base := static-base-uri() return empty($base) or $result = file:parent($base) </assert> </all-of> file:base-dir()