Re: Application error - nov 30 1999 version

At 3:51 PM +0100 12/29/99, Björn Sveding wrote:
>Hi!
>
>I,m having a problem with the Nov 30 1999 version. Tidy crashes when I try
>to analyze the included file. This is what it looks like;
>
>-------------------------------------------
>C:\TE\tidy>tidy login.asp -f login.txt
>
>Tidy (vers 30th November 1999) Parsing "login.asp"
>line 69 column 5 - Warning: <table> lacks "summary" attribute
>
>Application popup: tidy.exe - Application Error : The instruction at
>"0x0040eb27" referenced memory at "0x00000000". The memory could not be
>"read".
>---------------------------------------------
>
>I,ve tried it both on NT 4 workstation and Win2000 RC3 and the same thing
>happens. I first discovered it when I used HTML-kit build 288 and reproduced
>it when trying the latest tidy.exe. I think Tidy managed to check this file
>when I used HTML-kit build 284.
>

FYI, the Mac OS version of Tidy didn't crash on this file - that's not to
say there isn't a bug, as we have seen the "null" parent bug before in
other cases.

Here is the output produced with default settings.

MacTidy (vers 30th November 1999) Parsing "Work:MacTidy:bug reports:login.asp"
line 69 column 5 - Warning: <table> lacks "summary" attribute

"Work:MacTidy:bug reports:login.asp" appears to be HTML proprietary
1 warnings/errors were found!

[stuff deleted]

<%@ Language=VBScript %>
<!--    #include file = "include/Admin.inc" -->
<!--    #include file = "include/Cookie.inc" -->
<!--    #include file = "include/ErrMsg.inc" -->
<!--    #include file = "include/Connect.inc" -->
<!--    #include file = "include/DBError.inc" --><%
Dim Res
Dim MyConnect
Dim ErrKey

Session("Connected") = "No"

If Request.Form("Submit1") <> "" Then
    Session("ODBCDataSource") = Request.Form("txtODBCSource")
    Session("ODBCUser") = Request.Form("txtODBCUser")
    Session("ODBCPassWord") = Request.Form("txtODBCPassWord")
    Session("ODBCRdbms") = Request.Form("radio")

    Res = Connect("0")

    If Res = 0 Then
        Session("Connected") = "Yes"
        Server.Transfer "Hmeny.asp"
    End If
Else
    Call ReadSessionCookie
End If

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 //EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content=
"text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>Drifthantering</title>
<link rel="stylesheet" type="text/css" href="css/base.css">
<link rel="shortcut icon" href="respons.ico">
<script type="text/javascript">
    <!--
    function SubmitCheck(frm){
        if (frm.txtODBCSource.value == "")  {
            alert ("Du m&aring;ste ange ODBC-k&auml;lla!")
            frm.txtODBCSource.focus()
            return false
        }
            if (frm.txtODBCUser.value == "")  {
            alert ("Du m&aring;ste ange anv&auml;ndare!")
            frm.txtODBCUser.focus()
            return false
        }
    return true
    }
    //-->
</script>
</head>
<body leftmargin="0" topmargin="0">
<% Call ErrMsg %>
<form onsubmit="return SubmitCheck(this)" action="login.asp"
method="post" name="form1" id="form1">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="10%" bgcolor="SteelBlue">&nbsp;</td>
<td width="30%">&nbsp;</td>
<td width="60%">
<h1>Driftkalendarium</h1>
</td>
</tr>

<tr>
<td width="10%" bgcolor="SteelBlue">&nbsp;</td>
<td width="30%"><b>&nbsp;ODBC-source:</b></td>
<td width="60%"><input id="txtODBCSource" name="txtODBCSource"
value='<%=Session("ODBCDataSource")%>'></td>
</tr>

<tr>
<td width="10%" bgcolor="SteelBlue">&nbsp;</td>
<td width="30%"><b>&nbsp;User:</b></td>
<td width="60%"><input id="txtODBCUser" name="txtODBCUser" value=
'<%=Session("ODBCUser")%>'></td>
</tr>

<tr>
<td width="10%" bgcolor="SteelBlue">&nbsp;</td>
<td width="30%"><b>&nbsp;Password:</b></td>
<td width="60%"><input id="txtODBCPassWord" name="txtODBCPassWord"
type="password"></td>
</tr>

<tr>
<td width="10%" bgcolor="SteelBlue">&nbsp;</td>
<td width="30%"><b>&nbsp;RDBMS:</b></td>
<td width="60%"><b> MS SQL server:</b> <input type="radio" id=
"radio1" name="radio" value="MS" <%If (Session("ODBCRdbms") = "MS"
Or Session("ODBCRdbms") = "") Then Response.Write(" checked")End
If%>> <b> &nbsp;&nbsp;Oracle:</b> <input type="radio" id="radio2"
name="radio" value="Or" <%If Session("ODBCRdbms") = "Or" Then
Response.Write(" checked")End If%>> <b> &nbsp;&nbsp;Sybase:</b>
<input type="radio" id="radio3" name="radio" value="Sy" <%If
Session("ODBCRdbms") = "Sy" Then Response.Write(" checked")End
If%>> <b> &nbsp;&nbsp;Centura:</b> <input type="radio" id="radio4"
name="radio" value="Ce" <%If Session("ODBCRdbms") = "Ce" Then
Response.Write(" checked")End If%>></td>
</tr>

<tr>
<td width="10%" bgcolor="SteelBlue">&nbsp;</td>
<td width="30%">&nbsp;</td>
<td width="60%">&nbsp;</td>
</tr>

<tr>
<td width="10%" bgcolor="SteelBlue">&nbsp;</td>
<td width="30%">&nbsp;</td>
<td width="60%"><input id="submit1" name="submit1" type="submit"
value="&nbsp;&nbsp;OK&nbsp;&nbsp;"></td>
</tr>
</table>
</form>

<script type="text/javascript">
    <!--
    if (document.forms['form1'].txtODBCSource.value == ""){
        document.forms['form1'].txtODBCSource.focus()
    }
    else {
        document.forms['form1'].txtODBCPassWord.focus()
    }
    //-->
</script>
</body>
</html>


Regards, Terry

Received on Wednesday, 29 December 1999 21:15:33 UTC