Skip to content
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

namespace declarations do not appear in deterministic order in output #11

Open
jbowtie opened this issue Apr 20, 2016 · 1 comment
Open

Comments

@jbowtie
Copy link
Owner

jbowtie commented Apr 20, 2016

Technically this isn't really an issue - the output is correct according to the XML spec - but it causes several tests to fail seemingly at random.

For example, see REC/test-7.1.1 (which is currently disabled pending investigation into this issue).

Making the test harness smart enough to recognise XML output and do canonicalization first would be a reasonable fix. Alternatively, sorting by prefix before writing (and fixing up the associated expected output) would be another way to fix it.

@jbowtie
Copy link
Owner Author

jbowtie commented Jan 9, 2018

From the libxslt suite it looks like tests 54, 71, 87 are definitely manifestations of this issue.

Also potentially affected are tests 92, 122, 124, and 150.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant