[Mono-bugs] [Bug 68989][Wis] New - Example elements cannot display XML
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 1 Nov 2004 14:55:18 -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 jonpryor@vt.edu.
http://bugzilla.ximian.com/show_bug.cgi?id=68989
--- shadow/68989 2004-11-01 14:55:18.000000000 -0500
+++ shadow/68989.tmp.6961 2004-11-01 14:55:18.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 68989
+Product: Mono: Doctools
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Gui
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: jonpryor@vt.edu
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Example elements cannot display XML
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+In the ECMA provider, <example/> elements cannot be used to properly render
+a < (less-than) immediately followed by content.
+
+For example, this works:
+
+if (a < b) {/* do something */}
+
+but if I remove the spaces, nothing is displayed after the <:
+
+if (a<b) {/* do something */}
+
+The actual text displayed is:
+
+if (a
+
+This is particularly annoying when attempting to render XML, such as for a
+.config file example, as *nothing* is displayed.
+
+For a current example, do this:
+
+1. Start the monodoc browser
+2. File->Lookup Url, T:System.Diagnostics.DefaultTraceListener
+3. Scroll down. Notice that there is a ".confg file Example" example
+which is empty.
+4. Edit the class remarks (the [Edit] button is at the bottom of the page)
+5. Notice that the ".config file" example actually contains content, it
+just isn't rendered:
+
+<example><code lang=".config file>
+<configuration>
+ <system.diagnostics>
+...
+
+The web interface doesn't fare any better; the example content isn't
+rendered in:
+http://www.go-mono.com/docs/monodoc.ashx?tlink=8%40ecma%3a1182%23DefaultTraceListener%2f