But does that mean your parser should be equally brain-dead? What you have
done may well make it impossible for people to use the '<' and '>' characters
within attribute values -- a painful and irrational restriction.
> I do something similar in a case like this:
>
> <a href="http://foo.bar.org/" <img alt="some text"></a>
>
> When I see this, I assume that the author omitted the trailing '>' on the
> anchor tag. I flag this as a lexical syntax error and implicitly insert the
> missing '>' character.
Someone correct me if this is wrong, but i believe this behaviour is
actually SGML-compliant. Isn't < one of the ways to implicitly end
a tag while starting another one?
Ping (Ka-Ping Yee): 2B Computer Engineering, University of Waterloo, Canada
[email protected] | 62A Churchill St, Waterloo N2L 2X2, 519 886-3947
CWSF 89, 90, 92; LIYSF 90, 91; Shad Valley 92; DOE 93; IMO 91, 93; ACMIPC 94
:: Skuld :: Tendou Akane :: Belldandy :: Ayukawa Madoka :: Hayakawa Moemi ::
New! <http://csclub.uwaterloo.ca/u/kryee/> Yeah, i finally made a home page.