Author: mukulg
Date: Wed May 2 21:25:19 2012
New Revision: 1333217
URL: http://svn.apache.org/viewvc?rev=1333217&view=rev
Log:
reversing previous changes, as per new comments for jira issue XERCESJ-1559
Modified:
xerces/java/trunk/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
Modified:
xerces/java/trunk/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
URL:
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java?rev=1333217&r1=1333216&r2=1333217&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
(original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java Wed
May 2 21:25:19 2012
@@ -2106,14 +2106,6 @@ public class XMLSchemaValidator
xsiType = attributes.getValue(SchemaSymbols.URI_XSI,
SchemaSymbols.XSI_TYPE);
}
- if (fCurrentType == null && xsiType != null && fElementDepth == 0) {
- fXSIErrorReporter.fErrorReporter.reportError(
- XSMessageFormatter.SCHEMA_DOMAIN,
- "cvc-elt.1.a",
- new Object[] { element.rawname },
- XMLErrorReporter.SEVERITY_ERROR);
- }
-
// if no decl/type found for the current element
if (fCurrentType == null && xsiType == null) {
// if this is the validation root, report an error, because
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]