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

Repairing XMLStreamWriter tries to bind xml namespace URI #108

Closed
cowtowncoder opened this issue May 14, 2020 · 1 comment
Closed

Repairing XMLStreamWriter tries to bind xml namespace URI #108

cowtowncoder opened this issue May 14, 2020 · 1 comment
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: result of FasterXML/jackson-dataformat-xml#395)

Looks like Woodstox tries to bind pre-defined namespace with URI http://www.w3.org/XML/1998/namespace which should always be bound as xml and neither need to be redefined nor legal to rebind. Woodstox parser does properly detect the issue.
This occurs both for attributes and elements.

@cowtowncoder
Copy link
Member Author

Looks like this occurred only in case where no other bindings existed yet (and there was no bindings object); need to ensure check for xml is done even in such case.

@cowtowncoder cowtowncoder added this to the 4.2.1 milestone May 14, 2020
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