Author: mrglavas
Date: Fri Jun 30 20:10:24 2006
New Revision: 418431
URL: http://svn.apache.org/viewvc?rev=418431&view=rev
Log:
Remove extra spaces added to comments in the internal subset.
Modified:
xerces/java/trunk/src/org/apache/xerces/parsers/AbstractDOMParser.java
Modified: xerces/java/trunk/src/org/apache/xerces/parsers/AbstractDOMParser.java
URL:
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/parsers/AbstractDOMParser.java?rev=418431&r1=418430&r2=418431&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/parsers/AbstractDOMParser.java
(original)
+++ xerces/java/trunk/src/org/apache/xerces/parsers/AbstractDOMParser.java Fri
Jun 30 20:10:24 2006
@@ -579,11 +579,11 @@
public void comment (XMLString text, Augmentations augs) throws
XNIException {
if (fInDTD) {
if (fInternalSubset != null && !fInDTDExternalSubset) {
- fInternalSubset.append ("<!-- ");
+ fInternalSubset.append ("<!--");
if (text.length > 0) {
fInternalSubset.append (text.ch, text.offset, text.length);
}
- fInternalSubset.append (" -->");
+ fInternalSubset.append ("-->");
}
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]