Project

Profile

Help

Bug #4924

closed

.NET API: new QName(XmlQualifiedName)

Added by Michael Kay about 3 years ago. Updated about 3 years 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:
Platforms:

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);**
        }

Please register to edit this issue

Also available in: Atom PDF