You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2010/02/20 17:24:58 UTC
svn commit: r912140 -
/xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/XSDAbstractTraverser.java
Author: mukulg
Date: Sat Feb 20 16:24:58 2010
New Revision: 912140
URL: http://svn.apache.org/viewvc?rev=912140&view=rev
Log:
applying the fix for JIRA issue, XERCESJ-1422 to trunk as well
Modified:
xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/XSDAbstractTraverser.java
Modified: xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/XSDAbstractTraverser.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/XSDAbstractTraverser.java?rev=912140&r1=912139&r2=912140&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/XSDAbstractTraverser.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/XSDAbstractTraverser.java Sat Feb 20 16:24:58 2010
@@ -776,7 +776,8 @@
// minOccurs and maxOccurs must be one.
if (processingAllEl) {
if (max != 1) {
- reportSchemaError("cos-all-limited.2", new Object[]{new Integer(max),
+ reportSchemaError("cos-all-limited.2", new Object[]{
+ (max == -1) ? SchemaSymbols.ATTVAL_UNBOUNDED : Integer.toString(max),
((XSElementDecl)particle.fValue).getName()}, parent);
max = 1;
if (min > 1)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org