[Mono-bugs] [Bug 79650][Wis] New - xml schema xs:enumeration doesn't work correct with mono

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Oct 11 17:04:01 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 reypolskyy at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79650

--- shadow/79650	2006-10-11 17:04:01.000000000 -0400
+++ shadow/79650.tmp.10433	2006-10-11 17:04:01.000000000 -0400
@@ -0,0 +1,53 @@
+Bug#: 79650
+Product: Mono: Class Libraries
+Version: 1.1
+OS: unknown
+OS Details: Red Hat Enterprise 3 x86_64
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: reypolskyy at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: xml schema xs:enumeration doesn't work correct with mono
+
+Description of Problem:
+Validate xml with schema. xs:enumeration doesn't work correct with mono.
+
+Steps to reproduce the problem:
+1. run XSDEnumerationValidationProblem.exe on linux with mono.
+2. run XSDEnumerationValidationProblem.exe on windows platform with
+original .NET
+
+Actual Results:
+Linux output with mono:
+Test1 (no error)
+Test1 (wrong enumeration)
+
+
+Expected Results:
+Windows output with original .NET 1.1:
+Test1 (no error)
+Test1 (wrong enumeration)
+The 'mode' attribute has an invalid value according to its data type. An
+error occurred at , (2, 7).
+
+How often does this happen? 
+Every time the same.
+
+Additional Information:
+The problem is in xml schema enumerations. See schema.xsd :
+------------
+    <xs:simpleType name="ModeType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="on" />
+            <xs:enumeration value="off" />
+        </xs:restriction>
+    </xs:simpleType>
+------------
+It seems that mono dosn't validate xml schema enumerations well.


More information about the mono-bugs mailing list