This page is not Valid HTML 4.01 Transitional!



  • Hi,

    ich habe ein eine Frage zum HTML4.01 Validate:

    Line 17, column 71: cannot generate system identifier for general entity "archiv"

    ...trong>» </strong><a href="index.php?site=news&archiv=true">News Archiv</a></div>

    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.

    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 17, column 71: general entity "archiv" not defined and no default entity

    ...trong>» </strong><a href="index.php?site=news&archiv=true">News Archiv</a></div>

    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

    ✉

    Line 17, column 77: reference to entity "archiv" for which no system identifier could be generated

    ...trong><a href="index.php?site=news&archiv=true">News Archiv</a></div>

    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

    ✉

    Line 17, column 70: entity was defined here

    ...<strong>» </strong><a href="index.php?site=news&archiv=true">News Archiv</a></div>

    Das sind meine Fehler, der pinktelt sich wegen sowas an:
    "index.php?site=news&archiv=true" <<

    Dabei ist das doch richtig???



  • Stefan Hummel schrieb:

    If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!).

    Da stehts doch...



  • Hi,

    index.php?site=news&archiv=true; << klappt bringt aber immer noch den fehler
    index.php?site=news;&archiv=true << klappt ganz und gar net!



  • index.php?var=1&var2=2


  • Mod

    Stefan Hummel schrieb:

    index.php?site=news;&archiv=true << klappt ganz und gar net!

    Vergleich mal
    ;& mit &

    wer findet den Unterschied?


Anmelden zum Antworten