mirror of https://github.com/apache/lucene.git
SOLR-964 -- XPathEntityProcessor now ignores DTD validations
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@736616 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c704058fbb
commit
fa5b4e8f04
|
@ -101,6 +101,9 @@ Other
|
|||
Removed support for 'default' variables, they are automatically available as request parameters.
|
||||
(Noble Paul via shalin)
|
||||
|
||||
2. SOLR-964: XPathEntityProcessor now ignores DTD validations
|
||||
(Fergus McMenemie, Noble Paul via shalin)
|
||||
|
||||
================== Release 1.3.0 20080915 ==================
|
||||
|
||||
Status
|
||||
|
|
|
@ -329,6 +329,10 @@ public class XPathRecordReader {
|
|||
}
|
||||
|
||||
static XMLInputFactory factory = XMLInputFactory.newInstance();
|
||||
static{
|
||||
factory.setProperty(XMLInputFactory.IS_VALIDATING , Boolean.FALSE);
|
||||
factory.setProperty(XMLInputFactory.SUPPORT_DTD , Boolean.FALSE);
|
||||
}
|
||||
|
||||
public static interface Handler {
|
||||
public void handle(Map<String, Object> record, String xpath);
|
||||
|
|
Loading…
Reference in New Issue