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


Atsushi Enomoto <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
           Severity|Normal                                          |Minor
           Priority|P5 - None                                       |P4 - Low




--- Comment #2 from Atsushi Enomoto <[EMAIL PROTECTED]>  2007-10-11 14:33:10 
MST ---
There are couple of points that we should not follow .NET behavior:

- The fact that XmlTextWriter used to throw 
  InvalidOperationException is nothing more than lucky, and
  it is not for the same reason as .NET throws. .NET thinks
  attribute after attribute is invalid, while mono used to
  raise an error since StartAttribute at Attribute state is
  wrong.

- Current .NET behavior is of contradiction. It should reject
  element (WriteStartElement) too because it also results in
  invalid XML output.

I don't want to make such a compatibility change that is very likely changed in
the near future. Making compatibility change that will result in
incompatibility does not make sense. Also such a difference is nothing
practical.


-- 
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

Reply via email to