P
Peter J. Holzer
Yes it is.
I wasn't actually sure whether an unescaped "<" within an attribute
value is allowed (it's forbidden in XML), but James Clark's SGML parser
accepts it and http://www.isgmlug.org/sgmlhelp/g-sg16.htm suggests it.
In any case I'm sure that an unescaped ">" is allowed, and that's the
one which brings breaks the proposed solution.
That is XHTML.
Even in XML, an unescaped ">" within an attribute is allowed, so
<br title="a <br> element" />
is valid XHTML and breaks the proposed solution.
XHTML is not the same as HTML.
ACK. Although I tend to use HTML compatible XHTML[1] instead of HTML.
hp
[1] http://www.w3.org/TR/xhtml1/#guidelines