You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2004/02/26 20:50:09 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/dv/xs XSSimpleTypeDecl.java
sandygao 2004/02/26 11:50:09
Modified: java/src/org/apache/xerces/impl/dv/xs XSSimpleTypeDecl.java
Log:
Fixing a bug in getLexicalPattern. Many thx to Mike Boos for the patch.
Revision Changes Path
1.50 +2 -2 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.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- XSSimpleTypeDecl.java 24 Feb 2004 22:44:24 -0000 1.49
+++ XSSimpleTypeDecl.java 26 Feb 2004 19:50:09 -0000 1.50
@@ -1973,7 +1973,7 @@
}
for (int i = 0; i < size; i++)
strs[i] = (String)fPatternStr.elementAt(i);
- fLexicalPattern = new StringListImpl(strs, size);
+ fLexicalPattern = new StringListImpl(strs, strs.length);
}
return fLexicalPattern;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org