You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2012/05/02 23:24:36 UTC
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-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org