Project

Profile

Help

Bug #3047

closed

Serialization property saxon:attribute-order not sorting attributes correctly

Added by Michael Kay almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Saxon extensions
Sprint/Milestone:
-
Start date:
2016-11-27
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 serialization property saxon:attribute order is supposed to cause attributes not explicitly listed to be output in sorted order by name. The sort is not working correctly.

The problem is a trivial coding error in AttributeSorted.compare(), which is hereby corrected.

Actions #1

Updated by Michael Kay almost 8 years ago

Updated tests in xslt30-extra. Existing tests were using assert-xml rather than assert-serialization, so the attribute order in the result was being ignored.

Actions #2

Updated by O'Neil Delpratt almost 8 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 over 7 years ago

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

Updated by O'Neil Delpratt over 7 years ago

  • Applies to branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF