You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2004/05/04 15:05:21 UTC

DO NOT REPLY [Bug 28762] - NullPointerException in TreeWalker

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28762>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28762

NullPointerException in TreeWalker





------- Additional Comments From keshlam@us.ibm.com  2004-05-04 13:05 -------
First problem: You're creating DOM Level 1 non-namespaced nodes. XPath and XSLT
require namespace support. Replace all DOM calls to createElement/createAttibute
with createElementNS and createAttributeNS. If the problem persists after you've
made that correction, let us know.

(The DOM Working Group would have deprecated the old calls, but there is no
mechanism in the W3C for that sort of deprecation.)

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org