[Mono-bugs] [Bug 66095][Nor] New - ResXResourceReader.cs bug when value nodes are CDATA sections

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 16 Sep 2004 10:43:25 -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 joel.reed@ddiworld.com.

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

--- shadow/66095	2004-09-16 10:43:25.000000000 -0400
+++ shadow/66095.tmp.4110	2004-09-16 10:43:25.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 66095
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: joel.reed@ddiworld.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ResXResourceReader.cs bug when value nodes are CDATA sections
+
+ResGen.exe properly handles CDATA sections in value nodes                 
+       
+of .resx files. monoresgen.exe doesn't properly return                    
+       
+these values within CDATA sections.                                       
+       
+                                                                          
+       
+the attached 1 line patch fixes the problem.                              
+       
+sample testing files also included.                                       
+       
+                                                                          
+       
+to compile & run test with and w/o patch:                                 
+       
+monoresgen sample.resx && mcs temp.cs && ./temp.exe