[Mono-bugs] [Bug 79474][Nor] Changed - xsd generates classes that derive from sealed class
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Sep 22 14:31:02 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79474
--- shadow/79474 2006-09-22 14:13:56.000000000 -0400
+++ shadow/79474.tmp.32315 2006-09-22 14:31:02.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 79474
Product: Mono: Compilers
Version: 1.1
-OS:
+OS: unknown
OS Details: Ubuntu dapper
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
Priority: Normal
Component: XSD
AssignedTo: atsushi at ximian.com
ReportedBy: martin.voelkle at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -77,6 +77,33 @@
gives:
[System.Xml.Serialization.XmlText()]
public string Value;
There might be other ways to extend string indirectly that could trigger
this bug, but I'm no xsd guru.
+
+------- Additional Comments From atsushi at ximian.com 2006-09-22 14:31 -------
+This does not happen with svn head version. Here is what xsd(.exe)
+generated on my box:
+
+// This source code was auto-generated by MonoXSD
+namespace Schemas {
+
+
+ /// <remarks/>
+
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://example.com/ns")]
+
+[System.Xml.Serialization.XmlRootAttribute(Namespace="http://example.com/ns",
+IsNullable=false)]
+ public class element {
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public string attribute;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlTextAttribute()]
+ public string Value;
+ }
+}
+
More information about the mono-bugs
mailing list