Project

Profile

Help

Bug #417

closed

Unexpected result when there is xmlns attribute in XML doc

Added by Anonymous over 18 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-1399138
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

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:

  1. XSLT doc I used

  2. old_err.xml -> that produces the unexpected result

  3. new_err.xml -> that produces the correct result, but

without xmlns attribute


Files

err.zip (9.56 KB) err.zip Anonymous, 2006-01-07 11:46
Actions #1

Updated by Anonymous over 18 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

Also available in: Atom PDF