Hello. I am including Zoom/search.php in my search page, which is declared as XHTML 1.0 Transitional. I get lots of validation errors (using http://validator.w3.org/) about the print statements in search.php, like -
It's objecting to the backslashes.
All I can find about XHTML at Wrensoft is a mention in http://www.wrensoft.com/zoom/whatsnew.html about version 4.2.1000 - "Validated XHTML 1.0 Transitional output".
Is there something else I have to do to get it to validate?
Thanks!
Error Line 20 column 28: an attribute value must be a literal unless it contains only name characters.
print("<form method=\"get\" ...
You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value.
print("<form method=\"get\" ...
You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value.
All I can find about XHTML at Wrensoft is a mention in http://www.wrensoft.com/zoom/whatsnew.html about version 4.2.1000 - "Validated XHTML 1.0 Transitional output".
Is there something else I have to do to get it to validate?
Thanks!
Comment