sandygao 2002/11/21 08:20:37 Modified: java/src/org/apache/xerces/impl/dv/xs XSSimpleTypeDecl.java Log: When normalizing a StringBuffer, and the whitespace facet is collapse, we need to adjust the length of the StringBuffer after the normalization. Revision Changes Path 1.25 +2 -1 xml-xerces/java/src/org/apache/xerces/impl/dv/xs/XSSimpleTypeDecl.java Index: XSSimpleTypeDecl.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/dv/xs/XSSimpleTypeDecl.java,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- XSSimpleTypeDecl.java 20 Nov 2002 23:40:22 -0000 1.24 +++ XSSimpleTypeDecl.java 21 Nov 2002 16:20:37 -0000 1.25 @@ -1708,6 +1708,7 @@ sb.setCharAt(j++, (char)0x20); } } + sb.setLength(j); } return sb.toString();
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]