Skip to content

Commit

Permalink
[JBEAP-19976][JBEAP-19977][JBEAP-19978] XML validation manipulation d…
Browse files Browse the repository at this point in the history
…ue to incomplete application of use-grammar-pool-only in xercesImpl
  • Loading branch information
ropalka committed Sep 2, 2020
1 parent 00d4d55 commit 76348d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
Expand Up @@ -1900,7 +1900,7 @@ Augmentations handleStartElement(QName element, XMLAttributes attributes, Augmen

// root element
if (fElementDepth == -1 && fValidationManager.isGrammarFound()) {
if (fSchemaType == null) {
if (fSchemaType == null && !fUseGrammarPoolOnly) {
// schemaType is not specified
// if a DTD grammar is found, we do the same thing as Dynamic:
// if a schema grammar is found, validation is performed;
Expand Down

0 comments on commit 76348d1

Please sign in to comment.