[Mono-bugs] [Bug 588900] New: XmlWriterSettings.NewLineOnAttributes is not ignored for attributes with namespaces
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Mar 17 00:05:05 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=588900
http://bugzilla.novell.com/show_bug.cgi?id=588900#c0
Summary: XmlWriterSettings.NewLineOnAttributes is not ignored
for attributes with namespaces
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: x86-64
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.XML
AssignedTo: atsushi at ximian.com
ReportedBy: tim_armstrong at sil.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=348786)
--> (http://bugzilla.novell.com/attachment.cgi?id=348786)
Code that demonstrates the problem
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2)
Gecko/20100115 Firefox/3.6
The attached code produces different output on .net than on mono.
It seems that xml attributes with namespaces cause the
XmlWriterSettings.NewLineOnAttributes Property to be ignored under .net but not
under mono.
Reproducible: Always
Steps to Reproduce:
Execute the attached code under mono and windows and compare the output.
Actual Results:
net output:
<?xml version="1.0" encoding="utf-8"?>
<xml xmlns="http://www.lalala.com">
<Element
Attribute1="attribute"
Attribute2="No problem" />
<Element
Attribute1="attribute" xmlns:Attribute2="I break things" />
</xml>
mono output:
<?xml version="1.0" encoding="utf-8"?>
<xml xmlns="http://www.lalala.com">
<Element
Attribute1="attribute"
Attribute2="No problem" />
<Element
Attribute1="attribute"
xmlns:Attribute2="I break things" />
</xml>
Expected Results:
The same line breaking on both platforms.
--
Configure bugmail: http://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