- From: Cameron McCormack <cam@mcc.id.au>
- Date: Thu, 22 Feb 2007 10:36:36 +1100
- To: Ian Hickson <ian@hixie.ch>
- Cc: Robin Berjon <robin@berjon.com>, Norman Walsh <Norman.Walsh@Sun.COM>, dev-tech-xbl@mozilla.org, public-appformats@w3.org, public-xml-core-wg@w3.org, w3c-xml-cg@w3.org
Ian Hickson: > Indeed. I've already received requests from various people to make an > "HTML5" version of XBL that has its own custom format and custom parser > with defined error handling instead of using XML. The main reason for not > doing it is that a custom parser is a high implementation burden and a > high specification burden -- having written the HTML5 parsing algorithm, I > have no intention of doing it again if I can avoid it. > > However, this doesn't apply to xml:id, since the implementation burden for > supporting 'id' instead of 'xml:id' is negligible (and even possibly > lower, since you don't have to worry about what happens if someone sets > 'xml:id' on an element in SVG, HTML, or MathML and thus gives an element > _two_ IDs), and the specification burden is about one line of prose. Note that due to DOM 3 Core’s Element.setIdAttribute, implementations need to handle multiple IDs on elements anyway. -- Cameron McCormack, http://mcc.id.au/ xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
Received on Wednesday, 21 February 2007 23:37:03 UTC