- This topic is empty.
-
AuthorPosts
-
November 7, 2005 at 11:52 pm #590978AnonymousInactive
Hello,
I just ran my site through the W3C HTML Validation, and after pruning it, have got it down to 38 errors. All the errors are with affiliate links, like so:
Quote:Warning Line 660, column 97: cannot generate system identifier for general entity “member” .…asinopays.com/cgi-bin/redir.cgi?id=N&member=myaffiliateid” target=”_window”>Carni
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.
and
Quote:Line 782, column 70: reference to entity “ext” for which no system identifier could be generated .…tpoker.com/?aff=MYID&code=?=0&ext=”>Full Tilt Poker for more informat
What do you do in these cases?
November 9, 2005 at 5:39 pm #675997AnonymousInactiveWhat is the doctype of your pages? Because every doctype has different requirements.
For the first issue:
The link is: asinopays.com/cgi-bin/redir.cgi?id=N&member=myaffiliateid” target=”_window”The new w3c recommendation is that do not use just the & in the url (dinamic sites used to use it to give parameters to a given page.) Its valid form is &, so the url works out these way: asinopays.com/cgi-bin/redir.cgi?id=N&member=myaffiliateid” target=”_window”
Moreover I have never seen a target=”_window” property, so maybe it confuses the validator too. Because there could be _blank, _parent, _self, _top, and not other parameter name with “_”.
I think the second issue is for an empty ‘ext’ tag in the link. (tpoker.com/?aff=MYID&code=?=0&ext=“>) But I am not sure at this point.
Hope this helps.
November 9, 2005 at 6:21 pm #676000AnonymousInactiveI do not use any html validator. There is way too many junk code out there which people insist on using. For example, the html code
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)