Author: mukulg Date: Mon Apr 18 14:58:54 2022 New Revision: 1899982 URL: http://svn.apache.org/viewvc?rev=1899982&view=rev Log: improvements to, fixes for jira issue XERCESJ-1744
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDAssertionValidator.java Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDAssertionValidator.java URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDAssertionValidator.java?rev=1899982&r1=1899981&r2=1899982&view=diff ============================================================================== --- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDAssertionValidator.java (original) +++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDAssertionValidator.java Mon Apr 18 14:58:54 2022 @@ -107,7 +107,7 @@ public class XSDAssertionValidator { // only supporting, when all the union member types are with variety atomic. int unionTypeNoOfMembers = 0; int noOfUnionAtomicTypes = 0; - if (assertionList == null && fAssertionProcessor == null) { + if (assertionList == null) { XSTypeDefinition typeDefn = fXmlSchemaValidator.fCurrentPSVI.getTypeDefinition(); if (typeDefn != null && typeDefn.getTypeCategory() == XSTypeDefinition.SIMPLE_TYPE) { XSSimpleTypeDefinition xsSimpleTypeDefn = (XSSimpleTypeDefinition)typeDefn; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org