473,394 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

I can get my homesit validatet, It's someting about sgml parser and "actoion" that is not specified. Help!

I'm a danish librarian who would like to get my new homesite
validated. I have tried to get it validatet in the w3c but I get the
same message all the time.

This is the massage.

"
Below are the results of attempting to parse this document with an
SGML parser.

Line 47, column 176: required attribute "ACTION" not specified

....e);document.sf.submit();return false">

The attribute given above is required for an element that you've used,
but you have omitted it. For instance, in most HTML and XHTML document
types the "type" attribute is required on the "script" element and the
"alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and
type="text/javascript" for <script>.
"

I use a form. Look here
<FORM NAME="sf" ACTION="http://www.grindstedbib.dk/sites/WWX/pub/search.html?doaction=search&amp;data=scode_ccl%3d"
METHOD="post" TARGET="_blank">
<INPUT TYPE="hidden" NAME="doaction" /><INPUT TYPE="hidden"
NAME="data" />
</FORM>
<FORM ONSUBMIT="document.sf.doaction.value='search';
document.sf.data.value='request_attr_base=bib scode_freetext='+escape
(freetext.value);document.sf.submit();return false">
<TABLE>
<TR>
<TD><INPUT TYPE="text" NAME="freetext" / SIZE="20"></TD>
<TD><INPUT TYPE="submit" VALUE="Søg" /></TD>
</TR>
</TABLE>
</FORM>

I also use css. This is the sektion before the body part

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>

<HEAD>
<TITLE>Startside</TITLE>
<META NAME="robots" CONTENT="none">
<META NAME="Author" CONTENT="Mette Kulmbach">
<LINK REV="made" HREF="mailto:mk@grindstedbib.dk">
<META HTTP-EQUIV="Reply-to" CONTENT="mk@grindstedbib.dk">
<META NAME="Copyright" CONTENT="Mette Kulmbach">
<META HTTP-EQUIV="Content-language" CONTENT="dan">
<META HTTP-EQUIV="Content-type" CONTENT="text/html;
charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<META NAME="GENERATOR" CONTENT="Microsoft FrontPage 4.0">
<META NAME="ProgId" CONTENT="FrontPage.Editor.Document">
<LINK REL="alternate stylesheet" TYPE="text/css" TITLE="link"
MEDIA="Screen" HREF="css/link1a.css">
<LINK REL="stylesheet" TYPE="text/css" TITLE="standard"
HREF="css/standard1a.css">
<LINK REL="stylesheet" MEDIA="print" TYPE="text/css"
HREF="css/print.css">
<script type="text/javascript"
src="Scripts/styleswitcher.js"></script>

</HEAD>

What is wrong. I can understand it.

If anybody has an answer I would bee very happy

Thanks from Mette in Denmark
Jul 23 '05 #1
2 1983
Mette Kulmbach <mk@grindstedbib.dk> wrote:
Line 47, column 176: required attribute "ACTION" not specified
Forms are required to have an ACTION attribute.
<FORM NAME="sf"
ACTION="http://www.grindstedbib.dk/sites/WWX/pub/search.html?doaction=search&amp;data=scode_ccl%3d"
METHOD="post" TARGET="_blank">
This form has an ACTION attribute.
<FORM ONSUBMIT="document.sf.doaction.value='search';
document.sf.data.value='request_attr_base=bib scode_freetext='+escape
(freetext.value);document.sf.submit();return false">


This one doesn't.
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"Advice is what you ask for when you know the answer but wish you didn't."
Jul 23 '05 #2
Mette Kulmbach wrote:
I'm a danish librarian who would like to get my new homesite
validated. I have tried to get it validatet in the w3c but I get the
same message all the time.

This is the massage.

"
Below are the results of attempting to parse this document with an
SGML parser.

Line 47, column 176: required attribute "ACTION" not specified

...e);document.sf.submit();return false">

The attribute given above is required for an element that you've used,
but you have omitted it.


Your FORM tag doesn't have an ACTION attribute. The validator *tells*
you that you haven't specified an ACTION attribute, and it tells you
that an ACTION attribute is *required*. I don't see how it can be made
any clearer than that.
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Benjamin Niemann | last post by:
Hi, does anyone know of a validating SGML parser in python (like xmlproc.xmlval does for XML)? Goal is to validation HTML against the DTD, similar to validator.w3.org, not all SGML obscurities...
0
by: Nick Kew | last post by:
Rationale ========= Many applications today benefit from an SGML and/or XML Entity Catalogue to dereference entities referenced by a Public Identifier. For a validating SGML parser this is an...
3
by: Boris Kester | last post by:
Hello, I tried to validate this page: http://www.traveladventures.org/xhtml/ daralhajar01.html on validator.w3.org and got a message that the page is not valid transitional xhtml. However, after...
2
by: VB Programmer | last post by:
If I run my ASP.NET solution locally it runs perfectly. I uploaded it to my website and I keep getting this error on load.. Any ideas? Thanks. Server Error in '/' Application....
3
by: jimmy.williamson | last post by:
Hi, I'm currently working on a project where I am required to investigate how to convert SGML to XML, and then back again. >From what I've seen on the web so far, James Clark's SP software can...
36
by: aljamala | last post by:
Hi, I keep getting this warning on a page, but I do not know what the problem is...does anyone have an idea about what could be wrong? line 88 column 7 - Warning: missing </formbefore <td> it...
1
by: David Greenberg | last post by:
Hello I am running a DTS (Sql 2000) and transfering data from an SqlServer database to an Ingres database. I am transfering 153k rows. Execution fails with the error message: "The number of...
3
by: analeyaisabel | last post by:
i am slightly new to VB, and I am currently working on a project for work where i need to get it to copy 3 lines of information from one excel sheet and paste it onto another and then skip 2 lines...
1
by: dark lord | last post by:
extern void *malloc(); //structure of a token struct token { int tval; char *lexeme; struct token *link; }; struct token *tfirst=NULL; char *seentext;
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.