Skip to content

Commit

Permalink
Fixes #161 - Made sure we set the parent if it where not set.
Browse files Browse the repository at this point in the history
  • Loading branch information
seberget committed Mar 8, 2017
1 parent 2c4bf20 commit 797fdd6
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 797fdd6

Please sign in to comment.