... application/xhtml+xml type XHTML, or XHTML-looking-markup-that-people-will-serve-as-text/html-and-will-not-contain-namespace-information-90%-of-the-time type XHTML? I'm just wondering how liberal implementors are planning on making their parsers and whether XHTML is going to be considered by implementors as a MUST or a SHOULD.
<br><br>In the scope of the entire web, how hard-core are we about XHTML? Here's the problem with being too hard-core, IMO:<br><br>1. Microformats rock (i.e. are viable) because anyone can sprinkle a little sugar in their *existing* HTML and get instant value.
<br> ^------ You are here.<br>2. Implementors on the consumption side require microformats to be, and ride along inside, hard core XHTML (application/xhtml+xml type XHTML).<br>3. The world must now migrate all their dirty HTML to XHTML.
<br>4. ... and then they have to actually serve it as application/xhtml+xml.<br>5. and then all their javascript breaks.<br>6. #1 is no longer a true statement. Go back to #2 and try again.<br><br>I don't want to come off as seeming anti-XHTML or anything--I'm all XHTML all the time (as much as that's actually possible)--but aren't we going to have to plan on sucking microformats out of, at the very least, HTML
4.01 for the next 2-18 years? Will there be a bozo bit?<br><br>
Speaking of bozo bits, I was going to ask Mark P. how he was attacking this problem in his
implementations atop Firefox/Greasemonkey but the beauty there is that you can
ride on the liberalness provided by the browser's parser, right? (You weren't going to tell anyone were you.) I'm assuming
that in the event that Mark's DOM-walking code comes across a
namespace-unqualified or, <gasp>, upper-case element that looks a lot like hCard, that
it's not going to care because Mark's goal is to extract
information as opposed to enforcing rules that 99% of the web ignore? Mark, am I correct that your microformat implementations will handle the dirtiest, soupiest, unbalancedist markup the web has to offer?<br><br>What's the general feeling in the group on this? I can't really gauge it from trauling through the mailing list archive or going over the wiki.
<br><br>Thanks,<br><br>Ryan Tomayko<br> <a href="mailto:rtomayko@gmail.com">rtomayko@gmail.com</a><br> <a href="http://naeblis.cx/rtomayko/">http://naeblis.cx/rtomayko/
</a><br> <a href="http://lesscode.org/">http://lesscode.org/</a><br><br>