Bug #417
closedUnexpected result when there is xmlns attribute in XML doc
0%
Description
SourceForge user: fairsayan
XSV use as default attribute of tag:
xmlns='http://www.w3.org/2000/05/xsv'
when there is this attribute XSLT result is wrong, but
when I delete the attribute that's ok. The same thing
happends using XQuery.
I attach:
-
XSLT doc I used
-
old_err.xml -> that produces the unexpected result
-
new_err.xml -> that produces the correct result, but
without xmlns attribute
Files
Updated by Anonymous almost 19 years ago
SourceForge user: mhkay
Logged In: YES
user_id=251681
Firstly, please note the highlighted text on the "Submit New
Bug" screen: the "bugs" tracker is for confirmed bugs only,
not for support requests. The latter should be directed to
the saxon-help forum or to the support-requests tracker.
However, for basic XSLT coding questions that aren't
Saxon-specific, you should use the xsl-list at mulberrytech.com
Secondly, this is not a bug. Your element is in a namespace
but your path expression is asking for elements not in a
namespace. To get more information, google for "FAQ XSLT
default namespace".
Michael Kay
Please register to edit this issue