You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@locus.apache.org on 2000/03/03 05:14:08 UTC
cvs commit: xml-xalan/src/org/apache/xalan/xpath/xdom XercesLiaison.java
sboag 00/03/02 20:14:07
Modified: src/org/apache/xalan/xpath/xdom XercesLiaison.java
Log:
In response to SPR #DMAN4H2NDH, URL-related functions fail under DOM, but okay under DTM. Turned deferred node expansion to true, and namespace support on.
Revision Changes Path
1.12 +2 -1 xml-xalan/src/org/apache/xalan/xpath/xdom/XercesLiaison.java
Index: XercesLiaison.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xpath/xdom/XercesLiaison.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- XercesLiaison.java 2000/03/02 10:22:46 1.11
+++ XercesLiaison.java 2000/03/03 04:14:07 1.12
@@ -213,8 +213,9 @@
{
isDomParser = true;
DOMParser domParser = new MyParser();
- domParser.setFeature("http://apache.org/xml/features/dom/defer-node-expansion", false);
+ domParser.setFeature("http://apache.org/xml/features/dom/defer-node-expansion", true);
domParser.setFeature("http://apache.org/xml/features/dom/create-entity-ref-nodes", getShouldExpandEntityRefs()? false : true);
+ domParser.setFeature("http://xml.org/sax/features/namespaces", true);
parser = domParser;
//((DOMParser)parser).setCreateEntityReferenceNodes(getShouldExpandEntityRefs());
}