Bug 47338 - XPath Extractor forces retrieval of document DTD
Summary: XPath Extractor forces retrieval of document DTD
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.3.3
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2009-06-09 10:00 UTC by Taylor Mathewson
Modified: 2009-06-28 18:56 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Taylor Mathewson 2009-06-09 10:00:51 UTC
If you run an XPath Extractor post processor against, for example, an XHTML document, the extractor will attempt to retrieve the doc DTD.

Not sure why, XPath Extractor shouldn't really imply document validation, just well-formedness.  I suggest the xml parser havve this disabled for this component.

As an additional enhancement, consider adding it as an option, defaulted to false.

Comment 1 Taylor Mathewson 2009-06-09 10:01:52 UTC
As an additional point, this makes it difficult to test if w3c.org goes down, for example.
Comment 2 Sebb 2009-06-22 02:27:04 UTC
This is a feature of the parser used to generate the document. The DTD may contain entitiy definitions etc. that are required to process the document fully.

It is possible to disable DTD resolution, and hopefully this will be in the next release of JMeter.
Comment 3 Sebb 2009-06-28 18:56:11 UTC
This has been fixed in SVN:

URL: http://svn.apache.org/viewvc?rev=789187&view=rev
Bug 47338 - XPath Extractor forces retrieval of document DTD