Validator Fehler: cannot generate system identifier for general
dmx nix
- html
0 Cheatah0 molily
0 Gunnar Bittersmann
Hallo,
was soll an dem Link denn nicht richtig sein? DEr Validator meckert immer rum "cannot generate system identifier for general entity "endung"."
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
<head>
<title>UploadCity</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.php?delete=cba1d14c98a36f498a210ecc776d11fe&endung=gif">Löschen</a>
</body></html>
Hi,
was soll an dem Link denn nicht richtig sein?
Link? Du meinst an dem Attributwert. Nun, er verwendet die Entity "endung", die es nicht gibt.
DEr Validator meckert immer rum "cannot generate system identifier for general entity "endung"."
Er moniert absolut zu Recht, dass Du das HTML-Sonderzeichen "&" nicht als "&" kodiert hast. Da er Deine Absichten nicht kennen kann, erkennt er die nicht existente Entity "endung" als Fehler.
Cheatah
Hallo,
Falls du Englisch kannst, lies doch mal die Erklärung des (W3C-)Validators zum Fehler:
»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.«
(Hervorhebung meinerseits.)
Mathias
@@dmx nix:
was soll an dem Link denn nicht richtig sein? DEr Validator meckert immer rum "cannot generate system identifier for general entity "endung"."
„Lies unsere FAQ, dort sind häufig gestellte Fragen direkt beantwortet.“ (Steht auf der Forum-Startseite.)
Live long and prosper,
Gunnar