[ 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-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org