Author: mukulg
Date: Thu Feb 28 09:34:35 2019
New Revision: 1854509
URL: http://svn.apache.org/viewvc?rev=1854509&view=rev
Log:
XSD 1.1 validation: minor improvements to assert error messages
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java
URL:
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java?rev=1854509&r1=1854508&r2=1854509&view=diff
==============================================================================
---
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java
(original)
+++
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java
Thu Feb 28 09:34:35 2019
@@ -703,10 +703,10 @@ public class XMLAssertPsychopathXPath2Im
String exceptionMesg = "";
Exception exception = assertError.getException();
if (exception instanceof DynamicError) {
- exceptionMesg = ((DynamicError) exception).code() + " - " +
((DynamicError) exception).getMessage();
+ exceptionMesg = ((DynamicError) exception).code() + " : " +
((DynamicError) exception).getMessage();
}
else if (exception instanceof StaticError) {
- exceptionMesg = ((StaticError) exception).code() + " - " +
((StaticError) exception).getMessage();
+ exceptionMesg = ((StaticError) exception).code() + " : " +
((StaticError) exception).getMessage();
}
if (!"".equals(exceptionMesg) && !exceptionMesg.endsWith(".")) {
exceptionMesg = exceptionMesg + ".";
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]