-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
NullPointerException
in DTDValidator.validateElementEnd()
for element undefined in DTD
#104
Comments
Thank you for reporting the issue; sounds like a bug. |
Hmmh. One problem: |
Ok can probably just implement |
Except... this requires catalog resolution. Will try to see if I can temporarily use different JDK and see if I can at least temporarily reproduce the issue. |
Ok no. I just can't make the test work as described. Catalog resolves throws
regardless of how I try to initialize it. So unfortunately I can not replicate the problem at this point. Would it be possible to somehow get a flattened version of |
I get that error when the path to the catalog is incorrect in the test case. Here's a new catalog to try. |
Thank you! Now I can reproduce this locally, and it seems to be due to undefined element, for which |
NullPointerException
in DTDValidator.validateElementEnd()
for element undefined in DTD
Fixed for next release (either 6.1.2 or 6.2.0, depending a bit on if #103 fix is included and needs minor version bump); also backported in 5.3 branch just in case there's need for release there. |
The DTDValidator class is throwing a NullPointerException when processing invalid XML. To reproduce, use this catalog: https://github.com/oasis-tcs/dita/tree/v1.3/doctypes
test.xml
WstxValidatorTest.java
The text was updated successfully, but these errors were encountered: