Author: bimargulies
Date: Wed Nov 14 18:42:22 2007
New Revision: 595191
URL: http://svn.apache.org/viewvc?rev=595191&view=rev
Log:
Clarify validation messages.
Modified:
incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java
Modified:
incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java?rev=595191&r1=595190&r2=595191&view=diff
==============================================================================
---
incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java
(original)
+++
incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java
Wed Nov 14 18:42:22 2007
@@ -195,7 +195,7 @@
XmlSchemaElement element =
schemaCollection.getElementByQName(elementQName);
if (element == null) {
throw new InvalidXmlSchemaReferenceException(referrer
- + " references "
+ + " references
element "
+ elementQName);
}
}
@@ -204,7 +204,7 @@
XmlSchemaType type = schemaCollection.getTypeByQName(typeQName);
if (type == null) {
throw new InvalidXmlSchemaReferenceException(referrer
- + " references "
+ + " references type "
+ typeQName);
}
}