Project

Profile

Help

getBaseURI - uses xml:base ?

Added by Anonymous about 15 years ago

Legacy ID: #6556337 Legacy Poster: David Lee (daldei)

In XdmNode::getBaseURI() the comment is: /** * Get the base URI of this node * * @return the base URI, as defined in the XDM model */ I cant tell from this, is it supposed to pay attention to the "xml:base" attribute of node ? It appears that it is not in my tests. If its is supposed to , then I can put together a test case for you, but if its not supposed to then I will work around it. Thanks for any clarifications. -David


Replies (1)

RE: getBaseURI - uses xml:base ? - Added by Anonymous about 15 years ago

Legacy ID: #6556381 Legacy Poster: David Lee (daldei)

Sorry about this. My code is looking at the document, not the root element node. When I drill down to the root element and call getBaseURI() it is paying attention to the xml:base my mistake -David

    (1-1/1)

    Please register to reply