-
Notifications
You must be signed in to change notification settings - Fork 2
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 tokenization fails when PI is before first tag #7
Comments
I think the problem is the parsePI() method: it returns false when parsing the xml declaration ( |
Just tested, tests still fail. |
@belingueres @michael-o I also come up with the same fix. Also, according to the javadoc for |
Consider these valid XML documents:
and
Those tests fail then parsing the PI, returning instead START_DOCUMENT.
The text was updated successfully, but these errors were encountered: