[Mono-bugs] [Bug 59410][Wis] New - ColorizeXml in DefaultWsdlHelpGenerator.aspx generating bad output

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Jun 2004 13:45:22 -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 fawad@fawad.net.

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

--- shadow/59410	2004-06-01 13:45:22.000000000 -0400
+++ shadow/59410.tmp.29535	2004-06-01 13:45:22.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 59410
+Product: Mono: Runtime
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: fawad@fawad.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ColorizeXml in DefaultWsdlHelpGenerator.aspx generating bad output
+
+Description of Problem: Since recent mono cvs updates,
+DefaultWsdlHelpGenerator.aspx is generating bad output. As illustrated in
+the attachment, it is eating up starting '<' and other characters.
+
+
+Steps to reproduce the problem:
+1. Create a 'Hello world' web service (Hello.asmx).
+2. Browse to the Hello.asmx?page=wsdl page
+
+Actual Results:
+Opening '<'s of all XML tags are missing. '>'s for a lot of the tags are
+missing.
+
+Expected Results:
+Colorized accurate XML output
+
+How often does this happen? 
+Every time
+
+Additional Information:
+This might not be a problem in the regexp used per se, as the ColorizeXml
+routine is used in the monodoc browser to colorize XML as well. Adding code
+like
+
+<code lang="xml">
+&lt;Foo /&gt;
+</code>
+
+to any doc, and saving it crashes the monodoc browser.