[Mono-bugs] [Bug 74988][Min] New - Server side including "file"
does not work after specific html comment
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed May 18 08:20:19 EDT 2005
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 barbara at idealnet.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74988
--- shadow/74988 2005-05-18 08:20:19.000000000 -0400
+++ shadow/74988.tmp.25408 2005-05-18 08:20:19.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 74988
+Product: Mono: Class Libraries
+Version: 1.0
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: Sys.Web
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: barbara at idealnet.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Server side including "file" does not work after specific html comment
+
+Description of Problem:
+Using the "File" attribute in a Server-Side Include Directive after this
+specific html comment will thread the server-side Include Directive as
+comment and therefore will not include the specified file.
+
+Steps to reproduce the problem:
+1. Create an aspx file, and a file foot.inc (that includes simple html
+tags, like <h1> etc.)
+2. Put the two files in the same directory
+2. Insert first the specified line with HTML command, then the Include
+directive on the next line:
+
+<!-------------------------------------------------------------------------
+-->
+<!-- #include file="foot.inc" -->
+
+Actual Results:
+the file is not included since it is treated like a comment (also viewable
+in the page source)
+
+Expected Results:
+that the footer from file foot.inc gets included
+
+How often does this happen?
+every time
+
+
+Additional Information:
+it's only a small matter and it works if we don't put this specific html
+comment on the previous line, but a "normal" one with a space after <!--
+test --> However, the specific example with the specific comment works on
+IIS.
+
+Possible Work-around:
+delete the comment before the server side include
+or change the comment so something like
+<!-- test comment -->
+<!-- #include file="foot.inc" -->
More information about the mono-bugs
mailing list