dayvonjersen / ajaxslt

Automatically exported from code.google.com/p/ajaxslt
Other
0 stars 0 forks source link

Xpath Expresssion Axis Names #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an XML fragment with an Axis specifier as a node name e.g.
parent, child etc...
2. Create an XSL template with an Xpath Query which selects based on node
name. e.g. <xsl:value-of select="//child"/>
3. The Xpath doesn't output any results and the js method reports no
exception or handled exceptions.

Attached is the source with a HTML page in the test folder. This should
help recreate the fault.

What is the expected output? What do you see instead?
I would expect to see the XSLT to output the result of the xsl:value-of
select when using 'child' in the expression.

What version of the product are you using? On what operating system?
ajaxslt0.8.1, Windows XP SP2, Mozilla Firefox 3.5.5

Please provide any additional information below.
I think the problem is 'child' and 'parent' are considered delimited node
names within an xpath. However they only become delimited when the '::'
double colon is used. Otherwise they should be considred a qualified name
(QName) rather tthan an Axis specifier. 

Original issue reported on code.google.com by srolaw...@hotmail.com on 8 Dec 2009 at 12:10

Attachments: