Project

Profile

Help

Bug #3048

closed

NodeOverNodeInfo interface exposes namespace undeclarations

Added by Michael Kay over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DOM Interface
Sprint/Milestone:
-
Start date:
2016-11-28
Due date:
% Done:

100%

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

Description

The NodeOverNodeInfo interface, which gives a DOM view of a Saxon XDM tree, exposes namespace undeclarations in the underlying tree (which occur very frequently especially in XQuery results, because of the way element constructors in XQuery work). DOM applications may be unable to cope with namespace undeclarations. It is probably best to exclude them except when XML1.1 is enabled in the Configuration.

A patch is being applied to DOMAttributeMap that excludes namespace undeclarations (specifically, bindings of a non-empty prefix to an empty uri) from the attributes returned for any element.

Actions #1

Updated by Michael Kay over 7 years ago

Unit tests nativetests/TestXQueryDOM/testNamespaceUndeclaration(10|11) added.

Actions #2

Updated by O'Neil Delpratt over 7 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.7.0.13 added

Bug fix applied in the Saxon 9.7.0.13 maintenance release.

Actions #3

Updated by O'Neil Delpratt about 7 years ago

  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)
Actions #4

Updated by O'Neil Delpratt about 7 years ago

  • Applies to branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF