parse Source through hardened parser in JAXPXPathEngine - #333
Conversation
|
any update? |
|
I forgot to thank you for your contributions when commenting on the other two requests, I really appreciate it. What would you think about allowing people to explicitly specify a |
|
good idea, that reads cleaner. pushed:
also added a test that a caller-supplied factory is honored. |
bodewig
left a comment
There was a problem hiding this comment.
Looks good overall, just small nits about the tests you've added.
XMLUnit uses hamcrest matchers in its tests which should provide better error messages than assertTrue in case the assertion fails.
|
thank you |
add release notes for #331 #332 #333 by @jmestwa-coder
JAXPXPathEngine's Source-based xpath methods bypassed the secure parser:
Added a regression test that feeds an external entity through both methods.