name(//processing-instruction()) returns root element name rather than
returning target of first processing-instruction
-----------------------------------------------------------------------------------------------------------------------
Key: XALANJ-2487
URL: https://issues.apache.org/jira/browse/XALANJ-2487
Project: XalanJ2
Issue Type: Bug
Security Level: No security risk; visible to anyone (Ordinary problems in
Xalan projects. Anybody can view the issue.)
Affects Versions: 2.7.1
Reporter: Santhosh Kumar Tekuri
XML File:
<?xml version="1.0"?>
<a>
<b>foo</b>
<?toc order-by="x"?>
<c>bar</c>
</a>
XPATH:
name(//processing-instruction())
Xalan Result:
a
Expected Result:
toc
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]