Validation errors from Google App Engine Logout link

Posted by goggin13 on Stack Overflow See other posts from Stack Overflow or by goggin13
Published on 2010-05-04T07:18:49Z Indexed on 2010/05/04 11:48 UTC
Read the original article Hit count: 255

I am making a web page using the Google App Engine. I am validating my pages, and found that the logout link that is generated by the call to the users api (in python) users.create_logout_url(request.uri) does not validate as XHTML 1.0 Strict. The href in the anchor tag looks like this:
/_ah/login?continue=http%3A//localhost%3A8080/&action=Logout
Including a link with this anchor text throws three different validation errors:

*general entity "action" not defined and no default entity
*reference to entity "action" for which no system identifier could be generated
*EntityRef: expecting ';'

Here is a dummy page with the anchor tag in it, if you want to try it on w3c validator.Dummy Page.

The logout link wont work, but you can see how the page is valid without it, but the actual text inside the href tag breaks the validation.

Any thoughts on whats going on? Thank you!

© Stack Overflow or respective owner

Related posts about xhtml-1.0-strict

Related posts about validation