Author: atsushi
Date: 2005-03-07 04:31:38 -0500 (Mon, 07 Mar 2005)
New Revision: 41511
Modified:
trunk/mcs/class/System.XML/System.Xml/ChangeLog
trunk/mcs/class/System.XML/System.Xml/DTDValidatingReader.cs
Log:
2005-03-07 Atsushi Enomoto <[EMAIL PROTECTED]>
* DTDValidatingReader.cs : reverted one change in r40985. Entity stack
is nothing to do with ReadAttributeValue().
Modified: trunk/mcs/class/System.XML/System.Xml/ChangeLog
===================================================================
--- trunk/mcs/class/System.XML/System.Xml/ChangeLog 2005-03-07 08:56:33 UTC
(rev 41510)
+++ trunk/mcs/class/System.XML/System.Xml/ChangeLog 2005-03-07 09:31:38 UTC
(rev 41511)
@@ -1,5 +1,10 @@
2005-03-07 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * DTDValidatingReader.cs : reverted one change in r40985. Entity stack
+ is nothing to do with ReadAttributeValue().
+
+2005-03-07 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* DTDValidatingReader.cs : When there was actual attribute in source
XmlReader, MoveToAttribute(i) did not move source reader as expected.
Modified: trunk/mcs/class/System.XML/System.Xml/DTDValidatingReader.cs
===================================================================
--- trunk/mcs/class/System.XML/System.Xml/DTDValidatingReader.cs
2005-03-07 08:56:33 UTC (rev 41510)
+++ trunk/mcs/class/System.XML/System.Xml/DTDValidatingReader.cs
2005-03-07 09:31:38 UTC (rev 41511)
@@ -903,7 +903,7 @@
if (consumedAttribute)
return false;
if (NodeType == XmlNodeType.Attribute &&
- entityReaderStack.Count > 0 &&
currentEntityHandling == EntityHandling.ExpandEntities) {
+ currentEntityHandling ==
EntityHandling.ExpandEntities) {
consumedAttribute = true;
return true;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches