[Mono-bugs] [Bug 33012][Nor] New - unable to load valid XML document

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
29 Oct 2002 22:43:21 -0000


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 mono.vanberne@xs4all.nl.

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

--- shadow/33012	Tue Oct 29 17:43:21 2002
+++ shadow/33012.tmp.7527	Tue Oct 29 17:43:21 2002
@@ -0,0 +1,47 @@
+Bug#: 33012
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mono.vanberne@xs4all.nl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: unable to load valid XML document
+
+Description of Problem:   
+ Loading valid xmldocument fails.  
+   
+Steps to reproduce the problem:   
+1.  sample code  
+ XmlDocument GenreInfo = new XmlDocument();   
+ GenreInfo.Load("genre_info.xml");   
+  
+2.  will cause an exception to be thrown:  
+ProcessID3Genre, exception: System.ArgumentException: length  
+in <0x00210> 00 System.Array:Copy (System.Array,int,System.Array,int,int)  
+in <0x000a5> 00 System.Text.StringBuilder:Remove (int,int)  
+in <0x000f4> 00 System.Xml.XmlTextReader:ReadSystemLiteral ()  
+in <0x000cc> 00 System.Xml.XmlTextReader:ReadDoctypeDecl ()  
+in <0x000bb> 00 System.Xml.XmlTextReader:ReadDeclaration ()  
+in <0x000a3> 00 System.Xml.XmlTextReader:ReadTag ()  
+in <0x000e3> 00 System.Xml.XmlTextReader:ReadContent ()  
+in <0x00020> 00 System.Xml.XmlTextReader:Read ()  
+in <0x00521> 00 System.Xml.XmlNode:ConstructDOM  
+(System.Xml.XmlReader,System.Xml.XmlNode)  
+in <0x0002e> 00 System.Xml.XmlDocument:Load (System.Xml.XmlReader)  
+in <0x0006b> 00 System.Xml.XmlDocument:Load (string)  
+in <0x000ef> 00 .RecursiveFileProcessor:ProcessID3Genre (int)  
+   
+How often does this happen?    
+ Always 
+ 
+I am able to load this (unchanged) docunment with the latest stable 
+release, this only occurs with a recent snapshot/CVS