-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file write serialization tests #134
Comments
It’s supposed to be |
Because |
I’d need to check the W3 serialization spec in more depth to give a helpful answer ( |
There is not really a point in escaping
https://www.w3.org/TR/xslt-xquery-serialization-31/#serphases |
On 26 Jan 2021, at 11:38, Benito van der Zander ***@***.***> wrote:
There is not really a point in escaping > and not escaping " or vice verse.
If you're processing a text node, then escaping " is pointless, but escaping ">" unconditionally saves you the hassle of checking to see whether it's part of a "]]>" sequence.
Michael Kay
Saxonica
|
There are no tests for file:write in https://github.com/expath/expath-cg/blob/master/tests/qt3/file/file.xml
All the serialization tests from qt3 could be imported for it
One case, I am not sure about, is the expected output of
file:write("output.json", "{""a"": ""foo""}" )
. Is it{"a": "foo"}
or{"a": "foo"}
. Probably former, but that is useless..The text was updated successfully, but these errors were encountered: