"Mark Parnell" <> wrote in message
news:83iy9cymvy40$.1fs5c8w5reehe$... .
> On Sun, 18 Apr 2004 21:06:17 GMT, "Joshua Beall"
> <> declared in alt.html:
>
> > I want to know if having unescaped parameters (e.g., <p
class="paraTitle">)
> > is going to cause problems.
>
> I assume you mean unquoted, not unescaped.
Yeah, apparently my fingers work faster than my brain. I meant unquoted.
> In HTML, attributes don't have to be quoted as long as they only contain
> letters, numbers, and a couple of other characters.
> http://www.w3.org/TR/html4/intro/sgm...dx-attribute-6
> In XHTML, all attributes are required to be quoted.
> http://www.w3.org/TR/xhtml1/#h-4.4
>
> I would say you need to escape the quotes in your Javascript (e.g. <p
> class=/"paraTitle/"> so that they make it through to the output.
I did not actual write the script I am using; I would actually like to
rewrite it in Java, but I am not sure when I will have time for that. But I
would much rather be dependent on the user having a VM (that runs on any
platform), than being dependent on IE6 (which runs only on *that*
platform...), which is the current situation. And even a cross-browser JS
script is going to be shaky, since it has to account for different browsers.
By running on a VM, I only need a browser that can pass off applets to the
VM.
But that is in the "someday" category of my things to do list. Oh well :-/