Project

Profile

Help

Bug #4924

.NET API: new QName(XmlQualifiedName)

Added by Michael Kay 2 months ago. Updated 26 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
.NET API
Sprint/Milestone:
-
Start date:
2021-03-02
Due date:
% Done:

100%

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

Description

The code for constructing a QName from an XmlQualifiedName in the .NET API looks obviously wrong:

   public QName(XmlQualifiedName qualifiedName)
        {
            string uri = qualifiedName.Namespace;
            string local = qualifiedName.Name;
            string prefix = String.Empty;
            **sqName = new JQName(prefix, uri, prefix);**
        }

History

#1 Updated by Michael Kay about 1 month ago

  • Status changed from New to Resolved
  • Assignee changed from O'Neil Delpratt to Michael Kay
  • Priority changed from Low to Normal
  • Applies to branch 10, trunk added
  • Fix Committed on Branch 10, trunk added

Fixed without explicit testing.

#2 Updated by O'Neil Delpratt 26 days ago

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

Bug fix applied to Saxon 10.5 maintenance release.

Please register to edit this issue

Also available in: Atom PDF