projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff938b5
)
Fix bug #9541 by Bart Verthé - do not reset document schema when reading an element.
author
Atsushi Eno
<atsushieno@gmail.com>
Thu, 24 Apr 2014 03:26:01 +0000
(12:26 +0900)
committer
Atsushi Eno
<atsushieno@gmail.com>
Thu, 24 Apr 2014 03:26:01 +0000
(12:26 +0900)
mcs/class/System.XML/System.Xml/XmlDocument.cs
patch
|
blob
|
history
diff --git
a/mcs/class/System.XML/System.Xml/XmlDocument.cs
b/mcs/class/System.XML/System.Xml/XmlDocument.cs
index 88e18006b0ed57b6c1bfa8af636a601f691d4f82..4d1db5db58f0cf5c08c2597d9d08e26f191a2751 100644
(file)
--- a/
mcs/class/System.XML/System.Xml/XmlDocument.cs
+++ b/
mcs/class/System.XML/System.Xml/XmlDocument.cs
@@
-913,7
+913,7
@@
namespace System.Xml
XmlElement element = CreateElement (reader.Prefix, reader.LocalName, reader.NamespaceURI, reader.NameTable == this.NameTable);
#if NET_2_0
if (reader.SchemaInfo != null)
- SchemaInfo = reader.SchemaInfo;
+
element.
SchemaInfo = reader.SchemaInfo;
#endif
element.IsEmpty = reader.IsEmptyElement;