You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Carsten Ziegeler <cz...@sundn.de> on 2000/10/16 16:19:05 UTC
[C2]: Problems with Xalan2 / XPathAPI
Hello,
after a successful update to the latest cocoon release, we have problems with the org.apache.cocoon.xml.xpath.XPathAPI class:
A method-call XPathAPI.selectSingleNode(testFragment, "test") returns null for the following fragment:
<test>
<a/>
</test>
"testFragment" is a DocumentFragment containing the "test"-node.
Changing the call to XPathAPI.selectSingleNode(testFragment, "*[local-nam()='test']") returns the correct node.
Is this a bug in the new Xalan2 code?
Regards
Carsten Ziegeler
Open Source Group sunShine - Lighting up e:Business
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de mailto:cziegeler@sundn.de
================================================================
------------------------------------------------------------------------------------------
...this mail was scanned for viruses by mailserver...