With a DOM with unknown baseURI, unparsed-entity-uri() throws a NullPointerException
When unparsed-entity-uri() or unparsed-entity-public-id() is called on a DOM tree with no known base URI, a NullPointerException is thrown.
Occurs in 9.6 and previous releases.
The correct action to take is not clear from the spec. For the TinyTree and LinkedTree, Saxon returns the relative URI unresolved, and I am patching the DOM implementation to do the same. A spec bug has been raised:
Please register to edit this issue