From: Paul Rabin <prabin@so...> - 2005-05-26 19:39:28
In DOMAttributeMap.java, methods that return nodes don't in every case use
wrap(); some just cast a NodeInfo to Node. Is the code correct, or was the
change to use wrappers not quite completed?
From: Michael Kay <mike@sa...> - 2005-05-28 08:36:02
Thanks for reporting this. I think you are right: the two methods
getNamedItem() and getNamedItemNS() should use NodeOverNodeInfo.wrap(att)
rather than simply casting att to a Node. As you can probably guess, my
testing of DOM interfaces to Saxon trees is less than complete (the reverse,
Saxon interfaces to DOM trees, has improved greatly however).
> -----Original Message-----
> From: saxon-help-admin@...
> [mailto:saxon-help-admin@...] On Behalf Of
> Paul Rabin
> Sent: 26 May 2005 20:39
> To: saxon-help@...
> Subject: [saxon] Saxon8.4 DOMAttributeMap.java
> In DOMAttributeMap.java, methods that return nodes don't in
> every case use
> wrap(); some just cast a NodeInfo to Node. Is the code
> correct, or was the
> change to use wrappers not quite completed?
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit
> saxon-help mailing list
Get latest updates about Open Source Projects, Conferences and News.