Liang Wang | 16 Feb 2011 04:40
Picon

A rookie question about twill?

Hi all,

I am new to this mail list. Hopefully my question is appropriate.

I have some trouble trying to log-in the following website:
> showforms

It didn't show all the fields -- especially "UserId" and "Password".

> fv 1 UserId guest

ERROR: no field matches "UserId"

Thanks for your help

Liang
_______________________________________________
twill mailing list
twill@...
http://lists.idyll.org/listinfo/twill
Picon
Gravatar

Re: A rookie question about twill?

On Wed, Feb 16, 2011 at 1:40 AM, Liang Wang <liangw.wang@...> wrote:
> Hi all,

Hi, Liang!

> I am new to this mail list. Hopefully my question is appropriate.
> I have some trouble trying to log-in the following website:
>> go https://www.traderydex.com/login/index.rails
>> showforms
> It didn't show all the fields -- especially "UserId" and "Password".
>> fv 1 UserId guest
> ERROR: no field matches "UserId"
> Thanks for your help

I am not sure but I would bet the problem is that this page is
declared as XHTML 1.0 Transitional

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

but its content is in no way a valid XHTML document, as you can se
here: http://validator.w3.org/check?uri=https%3A%2F%2Fwww.traderydex.com%2Flogin%2Findex.rails&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.2

Maybe - just maybe - it is confusing the twill parser. Would it be
possible to correct the code of the page?

Good luck!

--

-- 
Adam Victor Nazareth Brandizzi
http://brandizzi.googlepages.com/
Liang Wang | 17 Feb 2011 02:46
Picon

Re: A rookie question about twill?

Hi Adam,


Thanks a lot for your reply. Unfortunately, I don't have any power to test your proposed solution since I am just an end user of the website: http://www.rydex-sgi.com/.

Just for fun, I used the website you mentioned: http://validator.w3.org to test www.ebay.com and www.google.com. Each one was complained for at least 200+ errors. :)

thanks

Liang

On Wed, Feb 16, 2011 at 10:45 AM, Adam Victor Nazareth Brandizzi <brandizzi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On Wed, Feb 16, 2011 at 1:40 AM, Liang Wang <liangw.wang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi all,

Hi, Liang!

> I am new to this mail list. Hopefully my question is appropriate.
> I have some trouble trying to log-in the following website:
>> go https://www.traderydex.com/login/index.rails
>> showforms
> It didn't show all the fields -- especially "UserId" and "Password".
>> fv 1 UserId guest
> ERROR: no field matches "UserId"
> Thanks for your help

I am not sure but I would bet the problem is that this page is
declared as XHTML 1.0 Transitional

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

but its content is in no way a valid XHTML document, as you can se
here: http://validator.w3.org/check?uri=https%3A%2F%2Fwww.traderydex.com%2Flogin%2Findex.rails&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.2

Maybe - just maybe - it is confusing the twill parser. Would it be
possible to correct the code of the page?

Good luck!

--
Adam Victor Nazareth Brandizzi
http://brandizzi.googlepages.com/

_______________________________________________
twill mailing list
twill@...
http://lists.idyll.org/listinfo/twill
Picon
Gravatar

Re: A rookie question about twill?

On Wed, Feb 16, 2011 at 11:46 PM, Liang Wang <liangw.wang@...> wrote:
> Hi Adam,

Hello!

> Thanks a lot for your reply. Unfortunately, I don't have any power to test
> your proposed solution since I am just an end user of the
> website: http://www.rydex-sgi.com/.

I understand...

> Just for fun, I used the website you mentioned: http://validator.w3.org to
> test www.ebay.com and www.google.com. Each one was complained for at least
> 200+ errors. :)

In fact the validator is pretty strict. Also, it may not be a problem
with the site, I was just cogitating it... It can be a bug in twill as
well.

Good luck!

--

-- 
Adam Victor Nazareth Brandizzi
http://brandizzi.googlepages.com/

Gmane