[Mono-bugs] [Bug 333137] New: XmlTextWriter: WriteAttributeString should result in IOE when WriteState is not Element

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 11 15:40:23 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=333137

           Summary: XmlTextWriter: WriteAttributeString should result in IOE
                    when WriteState is not Element
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at ximian.com
          Found By: ---


When WriteState is not Element, WriteAttributeString should result in an
InvalidOperationException.

To reproduce, compile and run the attached source code.

Expected result:

The following output is written to the console:
<Root name="" type=""><Whatever

Actual result:

The following output is written to the console:
<Root name="" type="<Whatever
Test2: Should have failed
Test3: Should have failed


-- 
Configure bugmail: https://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