Bug #2184
closedWith a DOM with unknown baseURI, unparsed-entity-uri() throws a NullPointerException
100%
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:
Updated by Michael Kay over 9 years ago
- Status changed from New to Resolved
A patch to class DOMDocumentWrapper has been committed on the 9.5, 9.6, and 9.7 branches. Considered very low risk both because the code is obvious and because it's a very rarely used path, therefore untested.
Updated by O'Neil Delpratt over 9 years ago
Bug fix applied in the Saxon maintenance release 9.5.1.8
Saxon 9.6 pending
Updated by O'Neil Delpratt over 9 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.2
Bug fix applied to the maintenance release Saxon 9.6.0.2
Updated by O'Neil Delpratt over 8 years ago
- Sprint/Milestone set to 9.6.0.2
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.2 added
Please register to edit this issue