[Mono-bugs] [Bug 523971] New: XmlTextReader.read throws wrong exception on invalid XML file

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 21 15:39:48 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=523971


           Summary: XmlTextReader.read throws wrong exception on invalid
                    XML file
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: PC
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: hib at hiberis.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User


Created an attachment (id=306654)
 --> (http://bugzilla.novell.com/attachment.cgi?id=306654)
invalid-utf.patch

Description of Problem:

When I tried to run light.exe from the Windows Installer XML toolkit (WiX), to
create an msi package with the windows version of mono installed in wine, it
failed because the XmlTextReader throws the wrong exception when it tries to
read a binary file that is not an XML file.

I have attached a test showing how to reproduce this, as well as a fix for
this.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list