diff options
author | Neil Mayhew <neil_mayhew@sil.org> | 2011-05-27 01:53:59 +0400 |
---|---|---|
committer | Eberhard Beilharz <eb1@sil.org> | 2014-02-27 19:01:50 +0400 |
commit | 43ccb972b4d7c10bf7b0b689914ed4a0ae3e0e06 (patch) | |
tree | 944f49d9dea7ae3ec73fe9392e15fc97a6d93a38 /mcs/class/System.XML | |
parent | c0ef1fcb022c331dad9db33176d7897e3b94c77e (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.cs | 2 |
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); |