Author: mukulg Date: Tue Mar 25 15:53:03 2014 New Revision: 1581385 URL: http://svn.apache.org/r1581385 Log: committing fix for jira issue XERCESJ-1628
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/opti/SchemaDOMParser.java Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/opti/SchemaDOMParser.java URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/opti/SchemaDOMParser.java?rev=1581385&r1=1581384&r2=1581385&view=diff ============================================================================== --- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/opti/SchemaDOMParser.java (original) +++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/opti/SchemaDOMParser.java Tue Mar 25 15:53:03 2014 @@ -633,7 +633,7 @@ public class SchemaDOMParser extends Def } catch (NumberFormatException nfe) { fErrorReporter.reportError(XSMessageFormatter.SCHEMA_DOMAIN, "s4s-att-invalid-value", - new Object[] {element.localpart, attrLocalName, nfe.getMessage()}, XMLErrorReporter.SEVERITY_ERROR); + new Object[] {element.localpart, attrLocalName, attrValue}, XMLErrorReporter.SEVERITY_ERROR); } } else if (SchemaSymbols.ATT_MAXVERSION.equals(attrLocalName)) { @@ -642,7 +642,7 @@ public class SchemaDOMParser extends Def } catch (NumberFormatException nfe) { fErrorReporter.reportError(XSMessageFormatter.SCHEMA_DOMAIN, "s4s-att-invalid-value", - new Object[] {element.localpart, attrLocalName, nfe.getMessage()}, XMLErrorReporter.SEVERITY_ERROR); + new Object[] {element.localpart, attrLocalName, attrValue}, XMLErrorReporter.SEVERITY_ERROR); } } else if (SchemaSymbols.ATT_TYPEAVAILABLE.equals(attrLocalName)) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org