Project

Profile

Help

Bug #5480

closed

Saxon (10 on .NET) Adding Extraneous namespaces to each ancestor node, i.e. xmlns=""

Added by John Crane almost 2 years ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
.NET API
Sprint/Milestone:
-
Start date:
2022-05-10
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
.NET

Description

Hi There - we are using Saxon EE 10.6.0 for .NET framework and having an issue with extraneous namespaces in the result-document output when transforming xml.

We have several XSLTs that transform XML which worked properly with Saxon EE 9.6, but with 10.6 we're getting extraneous href attributes added to each node, i.e. <... xmlns="">. When processed using 9.6, the results look correct. We are using a namespace-aware DOM to load the XML, so the issue is unrlated to that.

If anyone knows of a configuration setting or other change that would prevent those hrefs from appearing in each ancestor node it would be most appreciated.

Attached is an exammple of the xsl we are using.


Files

Sample_Transform_XSLT.xsl (4.82 KB) Sample_Transform_XSLT.xsl Example Transform XSLT John Crane, 2022-05-10 15:59
SaxonSampleCode.cs (5.29 KB) SaxonSampleCode.cs John Crane, 2022-05-11 17:17

Related issues

Is duplicate of Saxon - Bug #5565: Saxon-HE 10N: Extra namespaces on every node when serializing into XmlWriterClosedO'Neil Delpratt2022-06-14

Actions

Please register to edit this issue

Also available in: Atom PDF