jocarreira / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

hamcrest-java XPath matcher should provide namespace support #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The current "hasXPath" method does not allow XML namespace resolution, so
any test against a namespace-aware DOM Document fails.  I've attached a
patch that would add this functionality via an optional
javax.xml.namespace.NamespaceContext object.

Please see the attached diff for the code patch and unit test.  Thanks.

Original issue reported on code.google.com by brian.j.sanders on 30 Oct 2007 at 4:56

Attachments:

GoogleCodeExporter commented 8 years ago
I've integrated the patch into trunk. Sorry for the delay. Keep up the patches!

Original comment by neild...@gmail.com on 17 Nov 2007 at 12:45

GoogleCodeExporter commented 8 years ago

Original comment by smgfree...@gmail.com on 22 Nov 2008 at 12:20