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