[Mono-bugs] [Bug 78221][Nor] Changed - [PATCH] XmlSchemaImporter support for (root) simple types.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Nov 10 03:30:26 EST 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=78221
--- shadow/78221 2006-05-03 07:34:56.000000000 -0400
+++ shadow/78221.tmp.3075 2006-11-10 03:30:25.000000000 -0500
@@ -1,12 +1,12 @@
Bug#: 78221
Product: Mono: Class Libraries
Version: 1.1
OS: unknown
OS Details:
-Status: NEW
+Status: NEEDINFO
Resolution:
Severity: Unknown
Priority: Normal
Component: Sys.XML
AssignedTo: lluis at ximian.com
ReportedBy: gert.driesen at pandora.be
@@ -71,6 +71,24 @@
change. Do you have more test cases lying around ?
------- Additional Comments From lluis at ximian.com 2006-05-03 07:14 -------
> Do you have more test cases lying around ?
Nope.
+
+------- Additional Comments From atsushi at ximian.com 2006-11-10 03:30 -------
+In which kind of case does this patch required? At least xsd.exe does
+not support top-level simpleTypes.
+
+<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='Root' />
+ <xs:simpleType name='DerivedType'>
+ <xs:restriction base='xs:int'>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>
+
+$ /cygdrive/c/Program\ Files/Microsoft.NET/SDK/v2.0/Bin/xsd.exe
+test.xsd /c /nologo
+Warning: cannot generate classes because no top-level elements with
+complex type were found.
+
More information about the mono-bugs
mailing list