Project

Profile

Help

Bug #2357

closed

StreamWriterToReceiver.startElement(localName)

Added by Michael Kay about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
Start date:
2015-04-10
Due date:
% Done:

100%

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

Description

When the method StreamWriterToReceiver.startElement(localName) is called, it is immediately translated into a call on Receiver.startElement(). However, the translation is incorrect, because the default namespace is not yet known, and Receiver.startElement() expects a NodeName object that includes both the namespace and the local name. The StreamWriter interface notifies namespace declarations AFTER the call on startElement.

Found in 9.7 after making changes to the way serialization works; no repro in 9.6 as yet, but the code is clearly incorrect.

Actions #1

Updated by Michael Kay almost 9 years ago

  • Status changed from New to Resolved
  • Priority changed from Low to Normal

The class has been rewritten, and the new version committed on the 9.6 and 9.7 branches.

Actions #2

Updated by O'Neil Delpratt almost 9 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.6.0.6

Bug fix applied in the Saxon 9.6.0.6 maintenance release.

Actions #3

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.6
  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.6 added

Please register to edit this issue

Also available in: Atom PDF