July 28th, 2004

LAIN

XHTML 2.0

After the big scare over the "sasage" thing not too long ago, I'm afraid it may start up again.  XHTML 2.0 offers some new features that may become a little problematic for blogging services such as LiveJournal, and I think it would be best if we tackled these problems now BEFORE they become a problem and mainstream.

In XHTML 2 any element may have a src attribute
What i get from this, is that every single tag may have a src, instead of a body within the document, or, in other words:
<div src="mysite.com/badstuff" />
this one has a simple sollution tho, i think it should be fine to restrict the src attribute to only IMG, and not allow it on anything else.

In XHTML 2 any element can now also be the source of a hyperlink, since href and its associated attributes may now appear on any element.
i know that right now, LJ restricts specific parts of the HREF attribute of the A tag, such as not allowing "javascript:blah".  im not too sure if the LJ parser just looks for any HREF, or specifically within a A tag, but this is still at least something to note. 

and then, we open up a whole new relm when we start talking about XHTML Events...

I'm sure there are probably other things within the XHTML 2.0 specs that are going to have to be looked over, but at least this is a start.
  • Current Music
    BT - The Revolution