svn commit: r1333217 - /xerces/java/trunk/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
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: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org
svn commit: r1333216 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
Author: mukulg Date: Wed May 2 21:24:36 2012 New Revision: 1333216 URL: http://svn.apache.org/viewvc?rev=1333216&view=rev Log: reversing previous changes, as per new comments for jira issue XERCESJ-1559 Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java?rev=1333216&r1=1333215&r2=1333216&view=diff == --- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java (original) +++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java Wed May 2 21:24:36 2012 @@ -2294,14 +2294,6 @@ public class XMLSchemaValidator final boolean isSchema11 = (fSchemaVersion == Constants.SCHEMA_VERSION_1_1); boolean needToPushErrorContext = false; -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 (fCurrentType == null && xsiType == null) { // if this is the validation root, report an error, because // we can't find eith decl or type for this element - To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org