-
-
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
WstxValidationException: Unknown reason (at end element </nl:nillableIntElement>) when validating a document with nillable elements #187
base: master
Are you sure you want to change the base?
Conversation
@cowtowncoder here is the first sketch of what could become a real fix. Any feedback would be appreciated. |
With a quick look that makes sense. My one concern is that the attributes should only be tracked when information is needed (validation enabled, or duplicate check), and avoided otherwise. |
Thank for the feedback, @cowtowncoder!
+1. If SimpleOutputElement is the right place to implement the attribute tracking, then I can gladly have a look to make the implementation more performant. |
That's actually the case already. All calls of |
expected error occurred
validation wherever we test the reader validation
…verbose"' not thrown from RepairingNsStreamWriter when validating against a DTD schema
…idating with SimpleNsStreamWriter
</nl:nillableIntElement>) when validating a document with nillable elements fix FasterXML#179 fix FasterXML#190
Only the last commit is relevant. The rest is also available in #191 where we can discuss it separately. @cowtowncoder could you please review? |
hi @cowtowncoder, I'm interested in this fix, can you please have a look? thanks a lot |
@grigoni I apologize, this hangs due to legal issues with the Contributor Agreement on the side of my company. |
fix #179
fix #190