I was supposed to be sending example test cases to Alfred regarding this issue.

The parser which parses the page coming from the gameserver does not parse HTML 
correctly. I am able to make many valid
HTML 2.0, 3.2, 4.0, XML pages that WILL NOT render in game.

Interestingly, if you click a link from a working motd.txt, a copy of an 
internet explorer object gets loaded and a
seemingly different parser is run. I do not know what the difference is between 
the two HTML renderers used, but it is
clear that the one which renders the motd.txt file is significantly lighter 
than the normal IE renderer, and does not
support all standard HTML trees. This is NOT related to the character limit, 
character encoding or any other similar
issue.

One perfect example, is try and use a standard html 3.2 page with a background 
and text inside of standard <p> tags.
Generally many options will break the renderer, attributes can do it alone. One 
thing we noticed of particular
importance is that the renderer becomes significantly more consistent if you 
wrap everyhting inside <body> in <pre>
tags. N.B. PRE tags are not handled in a way consistent with W3C's definition.


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Ben Kennish
> Sent: 12 November 2005 15:24
> To: [email protected]
> Subject: Re: [hlds_linux] motd.txt not working
>
> Ben Kennish wrote:
> > http://www.benkennish.co.uk/motd.html
>
> BTW, it validates as valid HTML and CSS...
>
> http://validator.w3.org/check?verbose=1&uri=http%3A//www.benke
> nnish.co.uk/motd.html
> http://jigsaw.w3.org/css-validator/validator?profile=css2&warn
> ing=2&uri=http%3A//www.benkennish.co.uk/motd.html
>
> I've also tried using unix2dos to convert it to DOS style
> line endings but that doesn't seem to make any difference.
>
> This is driving me insane - someone please help!  :S
>
> --
> Ben
> www.benkennish.co.uk
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to