[Mono-bugs] [Bug 70008][Nor] New - System.Xml.DtdReader fails on valid DTD

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 29 Nov 2004 09:42:17 -0500 (EST)

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 arild.fines@broadpark.no.


--- shadow/70008	2004-11-29 09:42:17.000000000 -0500
+++ shadow/70008.tmp.17590	2004-11-29 09:42:17.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 70008
+Product: Mono: Class Libraries
+Version: 1.0
+OS: RHEL 2.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: arild.fines@broadpark.no               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: System.Xml.DtdReader fails on valid DTD
+The Mono XML stack fails on XML documents that reference certain DTDs. A 
+failing DTD will be attached to this bug report, with an XML file and C# 
+source code that exposes the flaw.
+Steps to repro:
+Put DtdBug.cs, file.dtd and file.xml in the same directory. Compile with 
+"mcs DtdBug.cs" and run it with "mono DtdBug.exe".
+Actual Results:
+A stack trace and the message "an attribute value was not quoted Line 8, 
+position 25." is generated.
+Expected Results:
+No error message at all.
+Additional Information:
+arildfi@pantelleria $ gacutil -l | grep System.Xml    
+System.Xml, Version=1.0.5000.0, Culture=neutral, 
+arildfi@pantelleria $ mono --version
+Mono JIT compiler version 1.0.4, (C) 2002-2004 Novell, Inc and 
+Contributors. www.go-mono.com
+        TLS:           __thread
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : normal
+        Globalization: ICU
+arildfi@pantelleria $ mcs --version
+Mono C# compiler version