This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Bug #29917 allows the outermost element of a tree supplied to fn:xml-to-json to have an escaped or escaped-key attribute (which is ignored). This means that test cases xml-to-json-065 and -066 are no longer error cases.
I think you mean 064 and 065?
Yes, sorry, -064 and -065.
Test case -065 reveals a minor issue with the spec. The schema does not allow a `<map>` element to have an `escaped` attribute. However, the rules are written to say that the input must either 1. conform to the schema, or 2. conform to the schema after removing any `escaped` or `escaped-key` attribute at the top level. So although it doesn't make much sense, the spec seems unambiguous that this test case is allowed.
The same problem applies to test case xml-to-json-C-016. All three tests have been changed to expect success results.