2003-05-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
authorAtsushi Eno <atsushieno@gmail.com>
Mon, 5 May 2003 13:17:45 +0000 (13:17 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Mon, 5 May 2003 13:17:45 +0000 (13:17 -0000)
* XmlSchemaAnnotation.cs : It depended on incorrect ReadNode().

svn path=/trunk/mcs/; revision=14296

mcs/class/System.XML/System.Xml.Schema/ChangeLog
mcs/class/System.XML/System.Xml.Schema/XmlSchemaAnnotation.cs

index 8140e2eb45e2da47300549bdaa30c53c7ce7a8e5..d299438f38b65120c24e62e0a9af09bb97082d37 100755 (executable)
@@ -1,3 +1,7 @@
+2003-05-05  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
+
+       * XmlSchemaAnnotation.cs : It depended on incorrect ReadNode().
+
 2003-02-19  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
 
        * XmlSchemaAnnotation.cs : expect the correct closing tag on <appinfo>
index b121b415b546464e8750e6b7846f9a4d345a826e..0f02c4fe6de595f89004d297a6fefbfddd5e70d9 100755 (executable)
@@ -140,7 +140,6 @@ namespace System.Xml.Schema
                                        XmlSchemaAppInfo appinfo = XmlSchemaAppInfo.Read(reader,h,out skip);\r
                                        if(appinfo != null)\r
                                                annotation.items.Add(appinfo);\r
-                                       expectedEnd = "appinfo";\r
                                        continue;\r
                                }\r
                                if(reader.LocalName == "documentation")\r
@@ -148,7 +147,6 @@ namespace System.Xml.Schema
                                        XmlSchemaDocumentation documentation = XmlSchemaDocumentation.Read(reader,h, out skip);\r
                                        if(documentation != null)\r
                                                annotation.items.Add(documentation);\r
-                                       expectedEnd = "documentation";\r
                                        continue;\r
                                }\r
                                reader.RaiseInvalidElementError();\r