Hallo Liste,

ich wollte gerade die neue Seite im w3c checken und stolpere beim Kontaktformular über powermail. Hier wird eine Zeile generiert, die das w3c nicht mag:

Warning cannot generate system identifier for general entity X

An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.

Line 129, column 46: cannot generate system identifier for general entity "tx_powermail_pi1" … id="kontakt" action="index.php?id=11&tx_powermail_pi1%5BmailID%5D=18&cHash=4b…

Line 129, column 78: cannot generate system identifier for general entity "cHash"

…id=11&tx_powermail_pi1%5BmailID%5D=18&cHash=4b950a217708811c0da9608e4863b398#c…


zusätzlich scheint der w3c Check auch die Attibute Angaben nicht zu mögen:
Line 129, column 207: there is no attribute "novalidate"
…="tx_powermail_pi1_form" enctype="multipart/form-data" novalidate="novalidate">

Line 138, column 176: there is no attribute "required"
…_uid1" id="uid1" size="100" maxlength="100" tabindex="1" required="required" />

Line 143, column 173: there is no attribute "pattern"
…" id="uid2" size="50" maxlength="50" tabindex="2" pattern="^[a-zA-Z0-9\s]*$" />

Line 181, column 144: there is no attribute "maxlength"
…"uid7" rows="20" cols="100" maxlength="1000" tabindex="7" required="required" …

Line 181, column 173: there is no attribute "required"
…="20" cols="100" maxlength="1000" tabindex="7" required="required" ></textarea>
-----------------------------

Das alles wird von Powermail eingetragen.
Hat einer von Euch eine Idee, was ich da machen könnte, um einen validen Code zu bekommen?

Die generierte Zeile 129 macht offensichtlich einen Heidenärger.
Hab ich den falschen Seitentyp angegeben?

############
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xml:lang="de" lang="de" xmlns="http://www.w3.org/1999/xhtml";>
#############

Funktionieren tuts, aber irgendwie finde ich es schade dass das nicht einfach so durch läuft. Die installierte typo3 Version ist 4.5.25 und Powermail 1.6.9 ich nehme das basic template.

Einen lieben Gruß
Heike

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an