[Mono-bugs] [Bug 61274][Wis] Changed - XmlValidatingReader throws exception if xml declatation present

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 8 Jul 2004 01:46:48 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ianm@activestate.com.

http://bugzilla.ximian.com/show_bug.cgi?id=61274

--- shadow/61274	2004-07-08 01:32:34.000000000 -0400
+++ shadow/61274.tmp.5474	2004-07-08 01:46:48.000000000 -0400
@@ -69,6 +69,17 @@
 XmlNodeType.Document, null);   
 
 it works. Which makes sense since you would expect an xml declaration
 at  the document level but not for an element. 
 Still - this is probably another instance where it would be nice to be
 compatible with ms.net's behaviour.
+
+------- Additional Comments From ianm@activestate.com  2004-07-08 01:46 -------
+looking at the msdn docs - the valid content for a fragment when
+nodetype is Element is:
+
+Element : 	Any valid element content (for example, any combination of
+elements, comments, processing instructions, cdata, text, entity
+references).
+from :
+http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemxmlxmlvalidatingreaderclassctortopic2.asp
+Which doesn't explicitly allow or disallow having an xml declatation.