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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4336

Xalan 2.2.D11 adds a strange Attribute

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From [EMAIL PROTECTED]  2001-11-26 
10:56 -------
Sorry to bug you again. I found a follow-up-problem:

When I get the xmlns:xml attribute node through an XPath query and use this as 
context node for a new XPath query, it crashes:

Apache Xerces Xerces 1.4.4
Apache Xalan  Xalan Java 2.2.D13 (the version from CVS 1 hour ago)

0 DOCUMENT [#document: null]
1 COMMENT [#comment:  full document with decl ]
2 ELEMENT [doc: null]
3 ATTRIBUTE attr="asfd"
3 attr asfd
3 specified true
3 owner document: [#document: null]
4 ATTRIBUTE 
org.apache.xml.dtm.ref.dom2dtm.DOM2DTM$defaultNamespaceDeclarationNode@3570b0
4 xmlns:xml http://www.w3.org/XML/1998/namespace
4 specified false
4 owner document: [#document: null]
java.lang.RuntimeException: Could not resolve the node to a handle
        at org.apache.xml.dtm.ref.DTMManagerDefault.getDTMHandleFromNode
(DTMManagerDefault.java:453)
        at org.apache.xpath.XPathContext.getDTMHandleFromNode
(XPathContext.java:195)
        at org.apache.xpath.XPathAPI.eval(XPathAPI.java:274)
        at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:202)
        at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:182)
        at org.apache.xml.security.temp.XalanBug4336.main(XalanBug4336.java:149)
Exception in thread "main" 



The sample program will follow

Reply via email to