Actions
Bug #2184
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
With a DOM with unknown baseURI, unparsed-entity-uri() throws a NullPointerException
Start date:
2014-10-15
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Description
When unparsed-entity-uri() or unparsed-entity-public-id() is called on a DOM tree with no known base URI, a NullPointerException is thrown.
Reported here:
https://saxonica.plan.io/boards/2/topics/6017?r=6024
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
Actions