-
-
Notifications
You must be signed in to change notification settings - Fork 234
Closed
Milestone
Description
Although XML module works best when used over Woodstox or Aalto, ideally any Stax parser implementation should work for basic usage. So use of JDK-bundled Stax processor (which is nowadays based on Xerces it seems) should be supported.
But although all problems should be reported as XMLStreamException
s, there are reports that some issues with DOCTYPE declaration are instead reported using java.util. MissingResourceException
(subtype of RuntimeException
).
This can lead to leakage from method XmlFactory._initializeXmlReader()
.
It's not unclear what'd be the best approach balancing minimal intervention and safety, but for now maybe wrap all RuntimeException
s from that particular spot, to reduce the likelihood that caller leaks exception.
Metadata
Metadata
Assignees
Labels
No labels