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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 29 Oct 2004 02:44:09 -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 atsushi@ximian.com.

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

--- shadow/61274	2004-07-08 23:19:53.000000000 -0400
+++ shadow/61274.tmp.31020	2004-10-29 02:44:09.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 61274
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Wishlist
 Component: Sys.XML
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: ianm@activestate.com               
 QAContact: mono-bugs@ximian.com
@@ -138,6 +138,20 @@
 http://www.w3.org/TR/2004/REC-xml-20040204/#sec-logical-struct
 Follow the "content" link in "[39] element" definition. There is no
 XML declaration there.
 
 Well, bugzilla is not proper place to discuss more general matter. Am
 moving the discussion to mono-list.
+
+------- Additional Comments From atsushi@ximian.com  2004-10-29 02:44 -------
+Fixed this problem, as to accept "text declaration" (TextDecl)
+specified in XML 1.0 so that external entity could be accepted by
+XmlTextReader. This should solve the problem raised by Microsoft XML
+developer. 
+
+http://lists.ximian.com/archives/public/mono-devel-list/2004-July/007123.html
+http://lists.ximian.com/archives/public/mono-devel-list/2004-July/006987.html
+
+This way is also conformant to the W3C specification.
+
+Note that with the fix, the code above is still invalid because it
+does not conform to text declaration (encoding declaration is mandatory).