[seam-commits] Seam SVN: r13624 - modules/xml/trunk/impl/src/main/java/org/jboss/seam/xml/model.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Sat Aug 21 07:29:28 EDT 2010
Author: swd847
Date: 2010-08-21 07:29:28 -0400 (Sat, 21 Aug 2010)
New Revision: 13624
Modified:
modules/xml/trunk/impl/src/main/java/org/jboss/seam/xml/model/ModelBuilder.java
Log:
minor
Modified: modules/xml/trunk/impl/src/main/java/org/jboss/seam/xml/model/ModelBuilder.java
===================================================================
--- modules/xml/trunk/impl/src/main/java/org/jboss/seam/xml/model/ModelBuilder.java 2010-08-20 14:22:38 UTC (rev 13623)
+++ modules/xml/trunk/impl/src/main/java/org/jboss/seam/xml/model/ModelBuilder.java 2010-08-21 11:29:28 UTC (rev 13624)
@@ -326,7 +326,7 @@
{
if (count > type.getMaxOccurances())
{
- throw new XmlConfigurationException("Item " + item.getType() + " has " + count + "children of type " + type.getType() + " when it should have at most " + type.getMaxOccurances(), item.getDocument(), item.getLineno());
+ throw new XmlConfigurationException("Item " + item.getType() + " has " + count + " children of type " + type.getType() + " when it should have at most " + type.getMaxOccurances(), item.getDocument(), item.getLineno());
}
}
}
@@ -334,7 +334,7 @@
{
if (count == null || count < type.getMinOccurances())
{
- throw new XmlConfigurationException("Item " + item.getType() + " has " + count + "children of type " + type.getType() + " when it should have at least " + type.getMaxOccurances(), item.getDocument(), item.getLineno());
+ throw new XmlConfigurationException("Item " + item.getType() + " has " + count + " children of type " + type.getType() + " when it should have at least " + type.getMinOccurances(), item.getDocument(), item.getLineno());
}
}
More information about the seam-commits
mailing list