This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
The get-test-file/get-module-file test methods force returning unquoted documents. #638
Labels
Milestone
The
helper:get-modules-file
method called viahelper:get-test-file
has the following behviour:xdmp:unquote
, hiding any errors (e.g. malformed XML).xdmp:unquote
, hiding any errors like with the local file code path.This makes it difficult to load files in a specific format (XML documents as plain text, binary documents, etc.) for use in tests.
The swallowing of errors in
xdmp:unquote
hides potential issues, such as mismatched XML tags in an XML document, making it difficult to catch these errors when running the tests locally.The text was updated successfully, but these errors were encountered: