[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Problem with form action parameters with underscores

From: David Woolley
Subject: Re: [Lynx-dev] Problem with form action parameters with underscores
Date: Sun, 01 Apr 2007 10:09:19 +0100
User-agent: Thunderbird (X11/20070221)


This HTML is invalid.  It should be:


If Lynx thinks that there really is an ∥ entity, it will substitute that. I don't know if it uses the same error recovery as other browsers and simply leave the entity references unresolved in other caess. If lynx does recognise an ∥ entity, you will have to fix this is the HTML, otherwise, you still should.

Note that both errors would result in true XHTML being rejected completely by any conformant browser (i.e. XHTML served with an XML media type).

The HTML 4.01 specification specifically discusses the common error of failing to use & in this sort of context and reccommends that web servers accept ; as an alternative. You may well find that PHP does that.

Incidentally, the behaviour of action URLs containing ?'s is not well defined by the specifications. Is there any reason why you didn't use hidden parameters? (It looks as though either Lynx is merging the parameters, or PHP accepts ? for &, in this case.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]