[Mono-bugs] [Bug 82183][Nor] New - [2.0] Whitespace rejected when there's a content model
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jul 25 05:50:56 EDT 2007
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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=82183
--- shadow/82183 2007-07-25 05:50:56.000000000 -0400
+++ shadow/82183.tmp.6191 2007-07-25 05:50:56.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 82183
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [2.0] Whitespace rejected when there's a content model
+
+There appears to be a regression in XML schema validation when there's
+whitespace in an element with a content model.
+
+This is probably related to the fix for bug #82099.
+
+To reproduce, compile the code snippet using gmcs
+(gmcs /r:System.Web.Services.dll test.cs) and run it.
+
+using System.IO;
+using System.Web.Services.Description;
+using System.Xml;
+using System.Xml.Schema;
+
+class Program
+{
+ static void Main ()
+ {
+ string xml = @"
+ <webReferenceOptions xmlns='http://microsoft.com/webReference/'>
+ <codeGenerationOptions>properties newAsync</codeGenerationOptions>
+ </webReferenceOptions>";
+
+ XmlReaderSettings s = new XmlReaderSettings ();
+ s.ValidationType = ValidationType.Schema;
+ s.Schemas.Add (WebReferenceOptions.Schema);
+ XmlReader r = XmlReader.Create (new StringReader (xml), s);
+ while (!r.EOF)
+ r.Read ();
+ }
+}
More information about the mono-bugs
mailing list