You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Santhosh Kumar Tekuri (JIRA)" <xa...@xml.apache.org> on 2009/02/23 23:04:02 UTC
[jira] Commented: (XALANJ-2488) name() function is not returning
name of first document in nodeset
[ https://issues.apache.org/jira/browse/XALANJ-2488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676085#action_12676085 ]
Santhosh Kumar Tekuri commented on XALANJ-2488:
-----------------------------------------------
i forgot to specify xpath in first comment:
XPath: name(//book/*[ 2 ])
Xalan Result: year
Expected Result: author
XPath: name(//*)
Xalan Result:
Expected Result: root
> name() function is not returning name of first document in nodeset
> ------------------------------------------------------------------
>
> Key: XALANJ-2488
> URL: https://issues.apache.org/jira/browse/XALANJ-2488
> 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:
> <?xml version="1.0"?>
> <!-- This comment belongs to Document Node -->
> <?xml-stylesheet href="XSL\Sample.html.xsl" type="text/xsl"?>
> <root doc-id="Sample.xml" purpose="test" xml:lang="en-us">
> <!-- This is first comment of root node -->
> <?odbc-to-xml table="test" ?>
> <pub>
> <book id="2">x
> <book>y
> <name>NameZ</name>
> <author>AuthorZ</author>
> </book>
> <year>1999</year>
> </book>
> <year>2002</year>
> </pub>
> </root>
> Xalan Result:
> year
> Expected Result:
> author
--
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