![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 12
Join Date: Jul 2012
Device: none
|
XHTML <form> and <input> usage
Greetings,
For a textbook, there is a search page towards the end containing a text field which is getting flagged: Code:
<form action="" method="get"> <div> <input name="q" type="text" value="" /> <input type="submit" value="search" /> <span class="sgc-2" id="search-progress"></span> </div> </form> Code:
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. Epubcheck Version 1.2 ERROR: C:\file.epub/OEBPS/Text/search.html(308): element "form" not allowed anywhere; e xpected the element end-tag, text or element "a", "abbr", "acronym", "address", "applet", "b", "bdo", "big", "blockquote", "br", "cite", "code", "del", "dfn", " div", "dl", "em", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "iframe", "img" , "ins", "kbd", "map", "noscript", "ns:svg", "object", "ol", "p", "pre", "q", "s amp", "script", "small", "span", "strong", "sub", "sup", "table", "tt", "ul" or "var" (with xmlns:ns="http://www.w3.org/2000/svg") ERROR: C:\file.epub/OEBPS/Text/search.html(310): element "input" not allowed anywhere; expected text or element "a", "abbr", "acronym", "address", "applet", "b", "bdo" , "big", "blockquote", "br", "cite", "code", "del", "dfn", "div", "dl", "em", "h 1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "iframe", "img", "ins", "kbd", "map ", "noscript", "ns:svg", "object", "ol", "p", "pre", "q", "samp", "script", "sma ll", "span", "strong", "sub", "sup", "table", "tt", "ul" or "var" (with xmlns:ns ="http://www.w3.org/2000/svg") ERROR: C:\file.epub/OEBPS/Text/search.html(310): element "input" not allowed anywhere; expected text or element "a", "abbr", "acronym", "address", "applet", "b", "bdo" , "big", "blockquote", "br", "cite", "code", "del", "dfn", "div", "dl", "em", "h 1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "iframe", "img", "ins", "kbd", "map ", "noscript", "ns:svg", "object", "ol", "p", "pre", "q", "samp", "script", "sma ll", "span", "strong", "sub", "sup", "table", "tt", "ul" or "var" (with xmlns:ns ="http://www.w3.org/2000/svg") ERROR: C:\file.epub/OEBPS/Text/search.html(311): element "input" not allowed anywhere; expected text or element "a", "abbr", "acronym", "address", "applet", "b", "bdo" , "big", "blockquote", "br", "cite", "code", "del", "dfn", "div", "dl", "em", "h 1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "iframe", "img", "ins", "kbd", "map ", "noscript", "ns:svg", "object", "ol", "p", "pre", "q", "samp", "script", "sma ll", "span", "strong", "sub", "sup", "table", "tt", "ul" or "var" (with xmlns:ns ="http://www.w3.org/2000/svg") Check finished with warnings or errors! |
![]() |
![]() |
![]() |
#2 | |
Berti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
The forms-module is a among the required modules, see here |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Berti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Not condone, I wasn't referring to condoning something, specs don't usually use that term. There are some things that are optional in the spec, that is not required. The reading app can ignore them if desired. Things that are required cannot be ignored by the reading app.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Input Plugin] DOCX Input | SauliusP. | Plugins | 42 | 06-05-2013 04:01 AM |
TOC xhtml | giosa | Sigil | 3 | 01-17-2012 09:12 PM |
xhtml from epub | georger | ePub | 8 | 10-13-2009 07:14 AM |
FORM INPUT: Cute idea, but nevertheless useful | nrapallo | IMP | 2 | 04-05-2008 09:11 AM |
xhtml document | deadite66 | iRex | 1 | 08-02-2006 03:15 PM |