Skip to content

Commit

Permalink
Merge pull request #162 from seberget/master
Browse files Browse the repository at this point in the history
Fixes #161 - Made sure we set the parent if it where not set.
  • Loading branch information
rolfl authored Jul 2, 2021
2 parents e378890 + 797fdd6 commit 37c20d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ public XMLReader createXMLReader() throws JDOMException {
this.saxHandler = shandler;

// Allocate (if not provided) and configure the parent parser.
if (this.getParent() != null) {
if (this.getParent() == null) {
setParent(xreader);
}

Expand Down

0 comments on commit 37c20d8

Please sign in to comment.