[Mono-bugs] [Bug 515049] New: #incude virtual seems like broken

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 21 18:01:47 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=515049

User max.karavaev at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515049#c1

           Summary: #incude virtual seems like broken
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: max.karavaev at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User


Description of Problem:
On all aspx-pages with <!--#include virtual="..."--> directive mono reports
error like this:
Expecting </br> System.Web.UI.ControlBuilder

Description: HTTP 500. Error processing request.

Stack Trace: System.Web.Compilation.ParseException: Expecting </br>
System.Web.UI.ControlBuilder
  at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader,
System.String filename, Boolean doInitParser) [0x00000] 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].Parse () [0x00000] 
  at
System.Web.Compilation.GenericBuildProvider`1[TParser].get_CodeCompilerType ()
[0x00000] 
  at System.Web.Compilation.BuildManager.GetCodeDomProviderType
(System.Web.Compilation.BuildProvider provider) [0x00000] 
  at System.Web.Compilation.BuildManager+BuildItem..ctor
(System.Web.Compilation.BuildProvider provider) [0x00000] 


Steps to reproduce the problem:
1. Make simple aspx-page:
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <title>Default</title>
</head>
<body>
    <form id="form1" runat="server">
    <h1>Test</h1>
    </form>
    <!--#include virtual="1.htm"-->
</body>
</html>
And include file 1.htm:
<br>

2. Open this page in browser from Apache 2.2 & mod_mono


Actual Results:
Expecting </br> System.Web.UI.ControlBuilder

Description: HTTP 500. Error processing request.

Stack Trace: System.Web.Compilation.ParseException: Expecting </br>
System.Web.UI.ControlBuilder
  at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader,
System.String filename, Boolean doInitParser) [0x00000] 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].Parse () [0x00000] 
  at
System.Web.Compilation.GenericBuildProvider`1[TParser].get_CodeCompilerType ()
[0x00000] 
  at System.Web.Compilation.BuildManager.GetCodeDomProviderType
(System.Web.Compilation.BuildProvider provider) [0x00000] 
  at System.Web.Compilation.BuildManager+BuildItem..ctor
(System.Web.Compilation.BuildProvider provider) [0x00000] 


Expected Results:
Simple html-page with word "Test"

How often does this happen? 
Always

Additional Information:
# mono -V
Mono JIT compiler version 2.4.2 (tarball Thu Jun 11 02:39:51 MSD 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none

# xsp2 --version
xsp2.exe 2.4.2.0
(c) (c) 2002-2007 Novell, Inc.
Minimalistic web server for testing System.Web

# apachectl -V
Server version: Apache/2.2.9 (Unix)
Server built:   Sep 19 2008 22:17:53
Server's Module Magic Number: 20051115:15
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

# uname -a
Linux s3.1t.ru 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64
x86_64 x86_64 GNU/Linux

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list