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

MXParser not failing when space is missing in xml declaration #128

Closed
belingueres opened this issue Jan 22, 2021 · 0 comments
Closed

MXParser not failing when space is missing in xml declaration #128

belingueres opened this issue Jan 22, 2021 · 0 comments

Comments

@belingueres
Copy link
Contributor

Discovered with the help of https://github.com/belingueres/xml-conformance

MXParser fails on parts of the W3C XML Conformance Test Suite.

In this issue, it is failing ibm24n02.xml from "IBM XML Conformance Test Suite - Production 24" (see https://github.com/belingueres/xml-conformance/blob/main/src/test/resources/xmlconf/ibm/ibm_oasis_not-wf.xml) regarding the xml declaration as the first line of the file. It should fail if there is no space between xml and version, like: <?xmlversion='1.0'?>

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

No branches or pull requests

1 participant