Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Mayhew <neil_mayhew@sil.org>2011-05-27 01:53:59 +0400
committerEberhard Beilharz <eb1@sil.org>2014-02-27 19:01:50 +0400
commit43ccb972b4d7c10bf7b0b689914ed4a0ae3e0e06 (patch)
tree944f49d9dea7ae3ec73fe9392e15fc97a6d93a38 /mcs/class/System.XML
parentc0ef1fcb022c331dad9db33176d7897e3b94c77e (diff)
[Sys.Xml] Allow qualified names in XmlAttribute serialization
This fixes Mono bug #594490 (https://bugzilla.novell.com/show_bug.cgi?id=594490).
Diffstat (limited to 'mcs/class/System.XML')
-rw-r--r--mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs b/mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs
index 53a88a46a41..968ad43bf36 100644
--- a/mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs
+++ b/mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs
@@ -862,7 +862,7 @@ namespace System.Xml.Serialization {
else
mapAttribute.AttributeName = atts.XmlAttribute.AttributeName;
- mapAttribute.AttributeName = XmlConvert.EncodeLocalName (mapAttribute.AttributeName);
+ mapAttribute.AttributeName = XmlConvert.EncodeName (mapAttribute.AttributeName);
if (typeData.IsComplexType)
mapAttribute.MappedType = ImportTypeMapping (typeData.Type, null, defaultNamespace);