[twill] Twill form parsing error depending on br tag formatting (missing form fields)
felciano at ingenuity.com
Sat Nov 4 14:43:58 PST 2006
Hello again --
Given the following HTML:
<form name="login" method="post" action="test.cgi">
This works:<br /> <input name="username_ok" type="text" />
This does not:<br/> <input name="username_whereami" type="text" />
twill finds the first input field but misses the second one. This appears to be because the BR tag is immediately closed rather than with an intermediate space (i.e. <br/> instead of <br />).
I believe this is legal HTML as well as XML. Any suggestions?
This email message (and any attached document) contains information from Ingenuity Systems Inc. which may be considered confidential by Ingenuity, or which may be privileged or otherwise exempt from disclosure under law, and is for the sole use of the individual or entity to whom it is addressed. Any other dissemination, distribution or copying of this message is strictly prohibited. If you receive this message in error, please notify me and destroy the attached message (and all attached documents) immediately.
More information about the twill