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/06/23 05:42:23 UTC
cvs commit: xml-xalan/src/org/apache/xalan/xpath/dtm DTM.java
sboag 00/06/22 20:42:23
Modified: src/org/apache/xalan/xpath/dtm DTM.java
Log:
Was able to add back fScanner.setDTDHandler(this), since I guess Xerces added support for this again? Anyway this fixes the problem with the unparsed entity uri function.
Revision Changes Path
1.22 +3 -1 xml-xalan/src/org/apache/xalan/xpath/dtm/DTM.java
Index: DTM.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xpath/dtm/DTM.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- DTM.java 2000/05/31 08:33:49 1.21
+++ DTM.java 2000/06/23 03:42:23 1.22
@@ -210,6 +210,7 @@
{
super();
initHandlers(false, this, this);
+ fScanner.setDTDHandler(this);
m_problemListener = new org.apache.xalan.xpath.xml.ProblemListenerDefault();
// setSendCharDataAsCharArray(false);
@@ -224,6 +225,7 @@
{
super();
initHandlers(false, this, this);
+ fScanner.setDTDHandler(this);
m_problemListener = listener;
// setSendCharDataAsCharArray(false);
@@ -1173,7 +1175,7 @@
int w3 = systemId | (notationName << 16);
int slotnumber = m_entityNodes.appendSlot(w0, w1, w2, w3);
-
+ // System.out.println("unparsedEntityDecl: "+entityName+", "+slotnumber);
m_entities.put(entityName, slotnumber);
//revist: how to check if entity was already declared.