Project

Profile

Help

Bug #2258

QName.ToString() returns incorrect lexical form

Added by Max Toro over 6 years ago. Updated over 5 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:

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.

History

#1 Updated by Michael Kay over 6 years ago

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

#2 Updated by O'Neil Delpratt over 6 years ago

  • Found in version changed from 9.6.0.3 to 9.6

#3 Updated by O'Neil Delpratt over 6 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.

#4 Updated by O'Neil Delpratt over 6 years ago

  • Fixed in version set to 9.6.0.4

Bug fix applied in the Saxon 9.6.0.4 maintenance release.

#5 Updated by O'Neil Delpratt over 6 years ago

  • Status changed from Resolved to Closed

#6 Updated by O'Neil Delpratt over 5 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

#7 Updated by O'Neil Delpratt over 5 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)

#8 Updated by O'Neil Delpratt over 5 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