Project

Profile

Help

Bug #2258

closed

QName.ToString() returns incorrect lexical form

Added by Max Toro over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
.NET API
Sprint/Milestone:
Start date:
2014-12-14
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

If you run:

var qname = QName.XS_INTEGER;

Console.WriteLine(qname.Uri);
Console.WriteLine(qname.Prefix);
Console.WriteLine(qname.LocalName);
Console.WriteLine(qname.ToString());

you get:

http://www.w3.org/2001/XMLSchema
xs
integer
xs:http://www.w3.org/2001/XMLSchema

ToString incorrectly uses the namespace uri instead of the local name.

Actions #1

Updated by Michael Kay over 9 years ago

  • Assignee set to O'Neil Delpratt
  • Priority changed from Low to Normal
Actions #2

Updated by O'Neil Delpratt over 9 years ago

  • Found in version changed from 9.6.0.3 to 9.6
Actions #3

Updated by O'Neil Delpratt over 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Bug fixed and committed to subversion. Available in the next maintenance release.

Actions #4

Updated by O'Neil Delpratt over 9 years ago

  • Fixed in version set to 9.6.0.4

Bug fix applied in the Saxon 9.6.0.4 maintenance release.

Actions #5

Updated by O'Neil Delpratt over 9 years ago

  • Status changed from Resolved to Closed
Actions #6

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.4
  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.4 added
Actions #7

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone changed from 9.6.0.4 to 9.6.0.3
  • Fixed in Maintenance Release 9.6.0.3 added
  • Fixed in Maintenance Release deleted (9.6.0.4)
Actions #8

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone changed from 9.6.0.3 to 9.6.0.4
  • Fixed in Maintenance Release 9.6.0.4 added
  • Fixed in Maintenance Release deleted (9.6.0.3)

Please register to edit this issue

Also available in: Atom PDF