Skip to content

Commit a3ef53f

Browse files
committed
[bugfix] Document Nodes are created explicitly when parsing an XML Document
1 parent b948018 commit a3ef53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exist-core/src/main/java/org/exist/dom/memtree/SAXAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void endDocument() throws SAXException {
6868

6969
@Override
7070
public void startDocument() throws SAXException {
71-
builder.startDocument();
71+
builder.startDocument(true);
7272
if(replaceAttributeFlag) {
7373
builder.setReplaceAttributeFlag(replaceAttributeFlag);
7474
}

0 commit comments

Comments
 (0)