Author: amassari
Date: Thu Oct 30 05:20:42 2008
New Revision: 709149

URL: http://svn.apache.org/viewvc?rev=709149&view=rev
Log:
Fire startExtSubset and endExtSubset under the same conditions (XERCESC-1828)

Modified:
    xerces/c/trunk/src/xercesc/validators/DTD/DTDScanner.cpp

Modified: xerces/c/trunk/src/xercesc/validators/DTD/DTDScanner.cpp
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/DTD/DTDScanner.cpp?rev=709149&r1=709148&r2=709149&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/DTD/DTDScanner.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/DTD/DTDScanner.cpp Thu Oct 30 
05:20:42 2008
@@ -2445,7 +2445,7 @@
     //  If we have a doc type handler and we are not being called recursively
     //  to handle an include section, tell it the ext subset starts
     //
-    if (fDocTypeHandler && !inIncludeSect)
+    if (fDocTypeHandler && isDTD && !inIncludeSect)
         fDocTypeHandler->startExtSubset();
 
     //
@@ -2652,7 +2652,7 @@
     }
 
     // If we have a doc type handler, tell it the ext subset ends
-    if (fDocTypeHandler && isDTD)
+    if (fDocTypeHandler && isDTD && !inIncludeSect)
         fDocTypeHandler->endExtSubset();
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to