You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dave Brosius (JIRA)" <xa...@xml.apache.org> on 2009/02/23 23:22:02 UTC
[jira] Commented: (XALANJ-2487) name(//processing-instruction())
returns root element name rather than returning target of first
processing-instruction
[ https://issues.apache.org/jira/browse/XALANJ-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676091#action_12676091 ]
Dave Brosius commented on XALANJ-2487:
--------------------------------------
interestingly,
name(//processing-instruction('toc'))
works
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org