the spec for org.w3c.dom.Document.setDocumentURI(String documentURI) is a copy of the spec for getDocumentURI() and contains meaningless statement 'or null if undefined or if the Document was created using DOMImplementation.createDocument'.
The behaviour of the method isn't clear.
The behaviour of the method isn't clear.