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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to