#1010 s9api XdmNode.getBaseURI() throws NPE if no known base URI

v9.2
closed
Michael Kay
s9api API (27)
5
2012-10-08
2009-11-30
Michael Kay
No

When a node has no known base URI, for example because the document was built from a StreamSource with no supplied SystemID, or because a node is parentless, the s9api method XdmNode.getBaseURI() throws a NullPointerException rather than returning null as documented.

A patch will be raised on the 9.1 and 9.2 branches.

Discussion

  • Michael Kay
    Michael Kay
    2010-01-27

    Fixed in 9.2.0.5

     
  • Michael Kay
    Michael Kay
    2010-01-27

    Fixed in 9.2.0.5