You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by le...@apache.org on 2001/03/20 00:08:23 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl XMLValidator.java
lehors 01/03/19 15:08:22
Modified: java/src/org/apache/xerces/impl Tag: xerces_j_2
XMLValidator.java
Log:
fixed normalizeDefaultAttrValue - patch from Glenn Marcy
Revision Changes Path
No revision
No revision
1.1.2.66 +4 -3 xml-xerces/java/src/org/apache/xerces/impl/Attic/XMLValidator.java
Index: XMLValidator.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/Attic/XMLValidator.java,v
retrieving revision 1.1.2.65
retrieving revision 1.1.2.66
diff -u -r1.1.2.65 -r1.1.2.66
--- XMLValidator.java 2001/03/16 02:26:54 1.1.2.65
+++ XMLValidator.java 2001/03/19 23:08:18 1.1.2.66
@@ -126,7 +126,7 @@
* @author Andy Clark, IBM
* @author Jeffrey Rodriguez IBM
*
- * @version $Id: XMLValidator.java,v 1.1.2.65 2001/03/16 02:26:54 lehors Exp $
+ * @version $Id: XMLValidator.java,v 1.1.2.66 2001/03/19 23:08:18 lehors Exp $
*/
public class XMLValidator
implements XMLComponent,
@@ -2202,12 +2202,13 @@
else {
// simply shift non space chars if needed
if (current != i) {
- value.ch[current++] = value.ch[i];
+ value.ch[current] = value.ch[i];
}
+ current++;
skipSpace = false;
}
}
- if (current != value.offset) {
+ if (current != end) {
if (skipSpace) {
// if we finished on a space trim it
current--;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org