[Mono-bugs] [Bug 49871][Cri] Changed - xml validating reader bug for parsing TOKEN type

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 20 Oct 2003 13:02:43 -0400 (EDT)


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 ginga@kit.hi-ho.ne.jp.

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

--- shadow/49871	2003-10-20 12:19:01.000000000 -0400
+++ shadow/49871.tmp.28740	2003-10-20 13:02:43.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 49871
 Product: Mono/Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: win 2000
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: 008 One day
 Priority: Critical
 Component: System.XML
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: faisalazhar@yahoo.com               
@@ -45,6 +45,31 @@
 How often does this happen? 
 every time
 
 Additional Information:
 
 please help meeeeeeeeeeeee
+
+------- Additional Comments From ginga@kit.hi-ho.ne.jp  2003-10-20 13:02 -------
+I fact I hadn't implemented the validation of this type so strict as 
+yet, so it won't be validated as such. Which .NET implementation are 
+you using? And if possible, would you please provide the schema and 
+instance with which you tested?
+
+Such validation error looks correct to me (i.e. XML spy and Java 
+validator might be wrong).
+
+See W3C specification here:
+http://www.w3.org/TR/xmlschema-2/#token
+
+[Definition:]   token represents tokenized strings. The ·value space· 
+of token is the set of strings that do not contain the line feed 
+(#xA) nor tab (#x9) characters, that have no leading or trailing 
+spaces (#x20) and that have no internal sequences of two or more 
+spaces. The ·lexical space· of token is the set of strings that do 
+not contain the line feed (#xA) nor tab (#x9) characters, that have 
+no leading or trailing spaces (#x20) and that have no internal 
+sequences of two or more spaces. The ·base type· of token is 
+normalizedString. 
+
+Thanks,
+Atsushi Eno