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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]