Project

Profile

Help

Bug #4509

closed

Saxon 10 DOM builder creates redundant namespace attributes

Added by Gerben Abbink about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DOM Interface
Sprint/Milestone:
-
Start date:
2020-03-31
Due date:
% Done:

100%

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

Description

I have this XML:

<root xmlns="namespace">
	<element/>
	<element/>
</root>

I build a DOM using net.sf.saxon.s9api.DocumentBuilder.

In the resulting DOM each "element" node has a "namespace" attribute.

In version 9 this was not the case, only the root had a "namespace" atribute.

Is this change by design or is it a bug?

Files

TEST.java (2.76 KB) TEST.java Gerben Abbink, 2020-04-01 16:52

Please register to edit this issue

Also available in: Atom PDF