[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [Bug #2637] XmlTextWriter throws exception when writin
From: |
nobody |
Subject: |
[Pnet-developers] [Bug #2637] XmlTextWriter throws exception when writing |
Date: |
Tue, 15 Apr 2003 21:02:06 -0400 |
=================== BUG #2637: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2637&group_id=353
Changes by: Rhys Weatherley <address@hidden>
Date: Wed 04/16/2003 at 01:02 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Fix committed - 16 April 2003
=================== BUG #2637: FULL BUG SNAPSHOT ===================
Submitted by: mathpup Project: DotGNU Portable.NET
Submitted on: Sat 02/22/2003 at 12:07
Category: None Severity: 5 - Major
Bug Group: None Resolution: Fixed
Assigned to: minddog Status: Closed
Summary: XmlTextWriter throws exception when writing
Original Submission: In the attach test case, which is derived from an example
included in the Rotor docs for XmlTextWriter, ilrun fails with the error:
Uncaught exception: System.InvalidOperationException: Invalid state for
specified write operation
at System.Xml.XmlTextWriter.Sync(WriteStateFlag) in
./XmlTextWriter.cs:246
at System.Xml.XmlTextWriter.WriteStartElement(String, String, String)
in Schema/XmlSchemaParticle.cs
at System.Xml.XmlWriter.WriteStartElement(String) in ./XmlWriter.cs:390
at Sample.Main()
Rotor and Mono both run the program without complaint.
Follow-up Comments
*******************
-------------------------------------------------------
Date: Wed 04/16/2003 at 01:02 By: rweather
Fix committed - 16 April 2003
-------------------------------------------------------
Date: Sun 03/02/2003 at 16:37 By: mdupont
Here is the patch,
it includes a debug output to try and diagnose the problem.
it seems that the exception is just wrong :
246,247c285,289
< throw new
InvalidOperationException
<
(S._("Xml_InvalidWriteState"));
---
>
> Console.WriteLine("After");
>
> DebugFlag(flags);
>
> // throw new
> InvalidOperationException
> //
> (S._("Xml_InvalidWriteState"));
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Sun 03/02/2003 at 16:37 Name: XMLWriter.diff Size: 3KB By: mdupont
diff to XMLWriter
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=2637&bug_file_id=330
-------------------------------------------------------
Date: Sat 02/22/2003 at 12:07 Name: xml-example.cs Size: 0KB By: mathpup
Test case
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=2637&bug_file_id=317
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2637&group_id=353
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [Bug #2637] XmlTextWriter throws exception when writing,
nobody <=