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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
