I expect that you are right. Is there a way to have twill pipe all visited 
pages through something like Tidy to clean them up?
 
Ramon

________________________________

From: Titus Brown [mailto:[EMAIL PROTECTED]
Sent: Sun 11/05/2006 20:42
To: Ramon Felciano
Cc: [email protected]
Subject: Re: [twill] Twill form parsing error depending on br tag formatting 
(missing form fields)



-> Given the following HTML:
-> <html>
->  <head>
->   <title>Broken</title>
->  </head>
->  <body>
->   <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" />
->   </form>
->  </body>
-> </html>
->
-> 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?

Hi, Ramon,

'tidy' cleans it up by converting <br/> to <br> on my system, which
makes me suspect that it may not be valid HTML.  Perhaps it's
valid XHTML?

John, do you have any thoughts?

--titus




----+----
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. 

_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill

Reply via email to