Skip to content

Commit

Permalink
Added xml namespace in each XInclude element.
Browse files Browse the repository at this point in the history
  • Loading branch information
harmen-xb committed Nov 26, 2024
1 parent 1416e91 commit 09c0d34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ private Path parseAndWriteDocumentParts(VTDNav nv, Charset fileCharset, TargetFi
// Insert the include sub element in the include tag.
includeElementStringBuffer.append(String.format(" %s=\"%s\"", includeAttributeName, XMLUtils.escapeXMLChars(includeAttributesWithValues.get(includeAttributeName))));
}
includeElementStringBuffer.append(" />");
includeElementStringBuffer.append(" xmlns:xi=\"http://www.w3.org/2001/XInclude\" />");

// Insert the full include element.
xm.insertBeforeElement(includeElementStringBuffer.toString());
Expand Down

0 comments on commit 09c0d34

Please sign in to comment.