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: [email protected]
For additional commands, e-mail: [email protected]