We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e378890 + 797fdd6 commit 37c20d8Copy full SHA for 37c20d8
contrib/src/java/org/jdom2/contrib/input/scanner/ElementScanner.java
@@ -466,7 +466,7 @@ public XMLReader createXMLReader() throws JDOMException {
466
this.saxHandler = shandler;
467
468
// Allocate (if not provided) and configure the parent parser.
469
- if (this.getParent() != null) {
+ if (this.getParent() == null) {
470
setParent(xreader);
471
}
472
0 commit comments