[Mono-bugs] [Bug 52558][Nor] Changed - No error reported on unexpected whitespace in XmlValidatingReader

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Jan 2004 10:10:47 -0500 (EST)


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@ximian.com.

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

--- shadow/52558	2004-01-13 01:23:53.000000000 -0500
+++ shadow/52558.tmp.13643	2004-01-14 10:10:47.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 52558
 Product: Mono/Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.XML
 AssignedTo: atsushi@ximian.com                            
 ReportedBy: jaak@zd.com.pl               
@@ -78,6 +78,23 @@
 To reproduce: compile and run the attached program.
 
 ------- Additional Comments From jaak@zd.com.pl  2003-12-25 06:40 -------
 Created an attachment (id=6327)
 test program to reproduce the problem
 
+
+------- Additional Comments From atsushi@ximian.com  2004-01-14 10:10 -------
+I confirmed this content is treated as invalid by XercesJ v2
+http://tools.decisionsoft.com/schemaValidate.html
+
+However, I think this instance is valid due to the description below:
+http://www.w3.org/TR/xmlschema-1/#formal-complex-type
+
+2.3 If the {content type} is element-only, then the element 
+information item has no character information item [children] other 
+than those whose [character code] is defined as a white space in [XML 
+1.0 (Second Edition)]
+
+So MS and Xerces2 error messages say "Element cannot contain text or 
+whitespace. Content model is empty.", but it looks wrong.
+
+Comments are welcome.