- From: Terry Teague <teague@mailandnews.com>
- Date: Wed, 29 Dec 1999 18:15:19 -0800
- To: <html-tidy@w3.org>
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åste ange ODBC-källa!")
frm.txtODBCSource.focus()
return false
}
if (frm.txtODBCUser.value == "") {
alert ("Du måste ange anvä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"> </td>
<td width="30%"> </td>
<td width="60%">
<h1>Driftkalendarium</h1>
</td>
</tr>
<tr>
<td width="10%" bgcolor="SteelBlue"> </td>
<td width="30%"><b> ODBC-source:</b></td>
<td width="60%"><input id="txtODBCSource" name="txtODBCSource"
value='<%=Session("ODBCDataSource")%>'></td>
</tr>
<tr>
<td width="10%" bgcolor="SteelBlue"> </td>
<td width="30%"><b> User:</b></td>
<td width="60%"><input id="txtODBCUser" name="txtODBCUser" value=
'<%=Session("ODBCUser")%>'></td>
</tr>
<tr>
<td width="10%" bgcolor="SteelBlue"> </td>
<td width="30%"><b> Password:</b></td>
<td width="60%"><input id="txtODBCPassWord" name="txtODBCPassWord"
type="password"></td>
</tr>
<tr>
<td width="10%" bgcolor="SteelBlue"> </td>
<td width="30%"><b> 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> Oracle:</b> <input type="radio" id="radio2"
name="radio" value="Or" <%If Session("ODBCRdbms") = "Or" Then
Response.Write(" checked")End If%>> <b> Sybase:</b>
<input type="radio" id="radio3" name="radio" value="Sy" <%If
Session("ODBCRdbms") = "Sy" Then Response.Write(" checked")End
If%>> <b> 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"> </td>
<td width="30%"> </td>
<td width="60%"> </td>
</tr>
<tr>
<td width="10%" bgcolor="SteelBlue"> </td>
<td width="30%"> </td>
<td width="60%"><input id="submit1" name="submit1" type="submit"
value=" OK "></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