Skip to content

Commit a82df17

Browse files
committed
fix #266 - missing namespace in document properties
1 parent d6fc6c3 commit a82df17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/marklogic/client/io/DocumentMetadataHandle.java

+1
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@ private void receiveQualityImpl(Document document) {
659659
private void sendMetadataImpl(OutputStream out) {
660660
try {
661661
XMLOutputFactory factory = XMLOutputFactory.newInstance();
662+
factory.setProperty("javax.xml.stream.isRepairingNamespaces", true);
662663

663664
valueSerializer = null;
664665

0 commit comments

Comments
 (0)