From fc5cf1ed23a20a6f51445742be2076a36adb0d77 Mon Sep 17 00:00:00 2001 From: teramako Date: Tue, 22 Jul 2025 02:17:55 +0900 Subject: [PATCH] Fix MAML Namespaces for rendering (v2) (#708) --- src/MamlWriter/DataType.cs | 2 +- src/MamlWriter/RelatedLink.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MamlWriter/DataType.cs b/src/MamlWriter/DataType.cs index c6cccfd3..4d9f36c5 100644 --- a/src/MamlWriter/DataType.cs +++ b/src/MamlWriter/DataType.cs @@ -16,7 +16,7 @@ public class DataType /// /// The data-type name. /// - [XmlElement("name", Namespace = Constants.XmlNamespace.Dev, Order = 0)] + [XmlElement("name", Namespace = Constants.XmlNamespace.MAML, Order = 0)] public string Name { get; set; } = string.Empty; /// diff --git a/src/MamlWriter/RelatedLink.cs b/src/MamlWriter/RelatedLink.cs index bcb860a1..00e52e7e 100644 --- a/src/MamlWriter/RelatedLink.cs +++ b/src/MamlWriter/RelatedLink.cs @@ -22,7 +22,7 @@ public class NavigationLink : IEquatable /// /// The command parameters associated with this syntax. /// - [XmlElement("uri", Namespace = Constants.XmlNamespace.Command, Order = 1)] + [XmlElement("uri", Namespace = Constants.XmlNamespace.MAML, Order = 1)] public string Uri { get; set; } = string.Empty; public bool Equals(NavigationLink other)