Skip to content

Commit fc5cf1e

Browse files
authored
Fix MAML Namespaces for rendering (v2) (#708)
1 parent 3180af5 commit fc5cf1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/MamlWriter/DataType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class DataType
1616
/// <summary>
1717
/// The data-type name.
1818
/// </summary>
19-
[XmlElement("name", Namespace = Constants.XmlNamespace.Dev, Order = 0)]
19+
[XmlElement("name", Namespace = Constants.XmlNamespace.MAML, Order = 0)]
2020
public string Name { get; set; } = string.Empty;
2121

2222
/// <summary>

src/MamlWriter/RelatedLink.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class NavigationLink : IEquatable<NavigationLink>
2222
/// <summary>
2323
/// The command parameters associated with this syntax.
2424
/// </summary>
25-
[XmlElement("uri", Namespace = Constants.XmlNamespace.Command, Order = 1)]
25+
[XmlElement("uri", Namespace = Constants.XmlNamespace.MAML, Order = 1)]
2626
public string Uri { get; set; } = string.Empty;
2727

2828
public bool Equals(NavigationLink other)

0 commit comments

Comments
 (0)