Blog
HTML 5 won over XHTML 2
2009-07-06 21:23:42 by Martynas Jusevičius
Some time ago I was wondering what the future of XHTML 2 and HTML 5 is going to be. Now it seems to be clear: W3C announces end of work on XHTML 2, and hopes to accelerate work on HTML 5.
It's good to have it finally sorted out, and HTML 5 seems to bring some long awaited features. However, one thing about it worries me a lot, and it's the syntax. The specification now defines two variants of them: HTML 5 (old-school HTML style, with no closing tags) and XHTML 5 (XML serialization, with namespaces etc.).
Years have been spent on developer education and improving XML support in browsers and parsers, and HTML 5 seems to make them useless again and bring even more confusion. Even though W3C promises XML serialization of HTML to remain compatible with XML
(I hope there were no plans to change that, at least?) we still will have 2 syntaxes and 2 sets of tools to process them, and once beggining to seem possible, convergence to a single XML serialization will be as far away as 10 years ago.
HTML is not easier to parse than XHTML, supported basically on the same level, has no extension mechanism (like namespaces), and is arguably less logical to write (when is there a closing tag, and when not?). So why the nonsense?
Comments (44)
A. No, we will not have two different sets of tools. XSLT etc will all work with the plain HTML serialization as well.
B. You may still use application/xhtml+xml for all non MSIE browsers, if you really need namespaces, etc. Nothing has been withdrawn.
C. "I hope there were no plans to change that, at least?" Are you serious? Such a fear is 100 % imaginary, 0 % real.
http://hsivonen.iki.fi/xhtml2-html5-q-and-a/
http://www.la-grange.net/2009/07/05/html5-xhtml5/
2 Lars
2009-07-07 00:08:06 by Martynas
And how is XSLT supposed to work on HTML serialization? I would like to know. Somehow automagically XML parsers will start working with HTML as well?
2 Lars
2009-07-07 00:21:08 by Martynas
Ok, I read your second link, and it proves my point completely - it is suddenly mentioning "HTML5 parsers" all over the place. Isn't that a new set of tools? Or do you see all XML tools getting HTML5 bridges like a minor issue? It's too crazy for me even to think about it, it ruins the whole purpose of XHTML.
2009-07-07 02:37:17 by Padraic Brady
Nah, it's all different. HTML5 parsing will need it's own new algorithms distinct to what we have been using. All those libxml based XHTML parsers (e.g. using PHP5 DOM and XPath) will need to account for the new branch as it extends into the wild. But it is cleaner, and there is a HTML5 parsing algorithm to standardise with, and it can be given a DOM compatible API. Of course, implementing as is in the native language (e.g. PHP) makes it pretty slow which is why you'll find a stack of pushes to have it included in libxml (which would eventually means it hits PHP5 or 6) so it's available more transparently even to existing clients with minimal effort. The main barrier going forward will really be developer ignorance, especially now that major browsers support the draft standard leading to the beginning of HTML5 rolling out to webservers in small steps.
Agreed :(
Agreed. Sadly, this all-of-a-sudden acceptance of HTML (read, SGML), combined with the painful, brainless proliferation of Ajax (read, Javascript) sets the web back about 10 years. What's next - animated GIFs and marquee tags?
Don't see the problem...
Maybe what Lars was referring to was Polyglot documents. That said, we already have two sets of tools, so I don't see it as being that big of an issue. The idea of converging on a single XML spec was dropped ages ago, and I don't think there are any plans for this any more. In fact the trend has been moving the other direction, away from XML. There's some good discussion regarding XHTML and HTML5 here:
http://ejohn.org/blog/html-5-data-attributes/
Also, there's the problem that only Gecko, Webkit and Presto provide full support for XHTML If you're going to use it, it's really only safe to do so on closed systems where you can safely disregard the majority (unless you're using a text/html mime type, in which case, the browser treats it as HTML anyway).
yjMTBwahDHOJOYXzNGh
oejdSX <a href="http://rizlrumxgpzl.com/">rizlrumxgpzl</a>, [url=http://tdioopovwdgf.com/]tdioopovwdgf[/url], [link=http://brwqfltmuacy.com/]brwqfltmuacy[/link], http://diuhtkqmpzfw.com/
QeMONZzK
Doxycycline And Dry Eye what Doxycycline Flagyl what Doxycycline Ticks what Doxycycline Prostatitis what Doxycycline Neck Pain
dgKtnYDgMuFALkG
medz Order Tramadol Ultram medz 100Mg Tramadol medz Online Ordering Tramadol COD medz Mexican Tramadol medz Order Chead Tramadol C O D
OERMIcevXv
Compare Cialis To Viagra ed Soft Cialis ed Cialis Online Get Cialis Cheapest ed Tadafil Cialis ed Cialis Australia
ydCAPFNKoUrKFGJx
Cialis Pills Without A Prescription ed Cialis Drug For Impotence ed What Is Better Cialis Or Viaga ed 20Mg Cialis ed Cialis Alternative
spXmWLcNsUhKIsyPnjz
Will Insurance Pay For Cialis ed Which Is Better Viagra Levitra Cialis ed Cialis Canada Rx ed Cialis Italia ed Cialis Advice
vUpVcgByBCVJmJiTPO
Cialis Errection ed Discouny Cialis ed Expired Cialis Still Safe ed Cialis Soft Tabs Xm Radio Commercial ed Cialis Floaters
Wrong Direction
Seems to me that the wrong one one and were all moving forward in the wrong direction!
bgvRgZApMOrv
W3tfB3 <a href="http://esvpmopkbcyp.com/">esvpmopkbcyp</a>, [url=http://ogkviootieve.com/]ogkviootieve[/url], [link=http://dinlqgolpsph.com/]dinlqgolpsph[/link], http://czngqrrpwrzs.com/
PwZEOHydpadFVB
What Amoxicillin Is For ed Amoxicillin Resistance Children ed Cheap Amoxicillin ed Amoxicillin For Ear Infection ed Dosage Chart For Amoxicillin
OERStfpTE
Amoxicillin Antibiotics Weil ed Treatment Of Strep Throat Amoxicillin ed Oral Amoxicillin Dosage Feline Weight Cat ed Amoxicillin Use In Cats ed Nursing Responsibility In Giving Amoxicillin
faqbYaeq
KLRlfl <a href="http://cjcvnoflhtqq.com/">cjcvnoflhtqq</a>, [url=http://qcsqaiypubuh.com/]qcsqaiypubuh[/url], [link=http://oilympipuwvq.com/]oilympipuwvq[/link], http://rnytysgmnsge.com/
dUZtnutGt
Seroquel As Used In Manic Depression usa Drug Of Seroquel usa Seroquel Use usa Seroquel Lawsuits usa Seroquel Ld50
orkencIWl
Seroquel Doses usa Seroquel Brain Blood Flow Increase usa Seroquel And Alcoholics usa Seroquel Effexor Weight Gain usa Side Effects Seroquel Thrist
xnwebqft
MHUjCo <a href="http://ziqbhxtajmdt.com/">ziqbhxtajmdt</a>, [url=http://itvxgjtudoju.com/]itvxgjtudoju[/url], [link=http://uqtjzpbjadlb.com/]uqtjzpbjadlb[/link], http://ozjrllxpkiba.com/
jZgzFPtLpzVjCxUFfHo
Large Dose Ativan usa Ativan Tramadol Hydrocodone Alcohol Zoloft usa Birth Defects From Ativan usa Ativan Metabolism Cypd usa Wikipeidia Ativan
VLzjsSJevwJrI
Ativan Intranasal usa Side Effects Of Ativan And Flexeril usa Ativan Sleep usa How To Shoot Ativan Pills usa Ativan Effectiveness
WZerazkJezwUTUfynI
Ativan Elderly usa Ativan Lowered Blood Sugar usa Ativan And Alcohol Use usa Ativan As A Muscle Relaxer usa Ativan Fedex Pharmacy
vrFQwMwGb
Ambien Ativan Drug Interactions usa Ativan Memory Loss usa Ativan Usual Dosage usa Buy Online Ativan usa Differences Between Xanax And Ativan
vrFQwMwGb
Ambien Ativan Drug Interactions usa Ativan Memory Loss usa Ativan Usual Dosage usa Buy Online Ativan usa Differences Between Xanax And Ativan
QkwzlyVKmFlaW
Ativan Klonopin Xanax Valium usa Ativan Keyword usa Can I Take Ativan With Cymbalta usa Ativan No Prescription Overnight Delivery Cod usa Ativan Vs Omega 3
kPbZcaXFaPNZWFpat
Acai Berry Detox usa Acai Berry Research usa Acai Berry Supplement usa Acai Berry Juice usa Pure Acai Berry
aWmMGKCFaMZTnBQUI
Acai Berry Reviews usa Acai Berry Properties Health Benefits usa Acai Berry Power 500 usa Pure Acai Berry Pro usa Acai Berry Scam
WiclSJUsKY
Side Effects Of Acai Berry usa Acai Berry Weight Loss usa What Is Acai Berry usa Acai Berry Side Effects usa Acai Berry Colon Cleanse
UlVFnbJrvKsFHmQy
Extreme Acai Berry usa Where To Buy Acai Berry Capsules usa Acai Berry Maxx usa Acai Berry Edge usa Acai Berry Stomach Secret Sandpoint Id
IggQlagOxg
Acai Berry Http usa Dr Oz Acai Berry usa Acai Berry Burn usa Where To Buy Acai Berries usa Acai Berry Rachel Ray
pemqojNFYPKloOBJ
Acai Berry Supplements usa Truth About Acai Berry usa Best Acai Berry Products usa Acai Berry Mobile Al usa Whole Acai Berries Wholesale
yVlwEKHMpVmjzDOPj
Acai Berry Researech usa Acai Berry Distributors usa Acai Berry Diet Forum usa Cheap Organic Acai Berry usa Medical Facts Acai Berry
RfvRClxWF
Best Acai Berry Juice usa Acai Berry Natural Pills usa Best Forms Of Acai Berry usa Best Rated Sources Of Acai Berries usa Acai Berry Tablet
solicitors
Agreed. Sadly, this all-of-a-sudden acceptance of HTML (read, SGML), combined with the painful, brainless proliferation of Ajax (read, Javascript) sets the web back about 10 years. What's next - animated GIFs and marquee tags?
omkbpercmm
NAYVj9 <a href="http://lfiywtjcttub.com/">lfiywtjcttub</a>, [url=http://gvlzrqqqvtoe.com/]gvlzrqqqvtoe[/url], [link=http://wvmnawcnrtqu.com/]wvmnawcnrtqu[/link], http://ngzrppdtirfy.com/
hetWkmmqQKkWiWuyN
DGwk13 <a href="http://inhevsphhotw.com/">inhevsphhotw</a>, [url=http://agnrngmaqxvm.com/]agnrngmaqxvm[/url], [link=http://qjaboynxaxod.com/]qjaboynxaxod[/link], http://rwizdlglrixa.com/
qcywYnWOgOKKcTyn
9gR09k <a href="http://csrbggxopasu.com/">csrbggxopasu</a>, [url=http://bwokfcuqciuw.com/]bwokfcuqciuw[/url], [link=http://ddzhgigqydzx.com/]ddzhgigqydzx[/link], http://lbrddlmyiwet.com/
marvelous
well a good, post , and site which I ever seen, I like your work and really appreciate your work you have done well right now i am doing job at Pasban Faisalabad its an IT based organization and doing a project on SEO and internet marketing, i love my job my boss and my organization but there is a problem of employee right violations, like whenever i make a single leave then the salary is also deducted from my salary and as well i have to do extra work like late hours work for a whole weak, its a horrible situation but we have to do because we have no more opportunities in market due to global economic crunch which really effects our country. well right now i am doing a+ which really enhace my IT skills and add values to my life.
thanks,
xrNheKmkhwmlpgTDBJP
JZPybB <a href="http://ssofzsrlzoig.com/">ssofzsrlzoig</a>, [url=http://odnieoswlfaj.com/]odnieoswlfaj[/url], [link=http://aouasrglvnkd.com/]aouasrglvnkd[/link], http://diwahsmiqdhh.com/
latest trend
2010-01-25 13:46:27 by somaie
After last post on marketing without search engines, I decided to follow up with a strategy you can use to get quality free traffic. One of the easiest ways to get visitors to your web site is to spend money. Nothing is more effortless then paying for traffic. But if you can’t afford it or don’t want to pay, there’s an equally simple but free way to get traffic: ad swaps.
www.onlineuniversalwork.com
Lacking backbone
W3C is not showing any leadership here. Seems like they're giving up to me, no?
Yeah, what he said
2010-01-27 01:19:24 by Women's designer and ladies shoes online
i agree that the w3c is being to relaxed here. I thought they were supposed to be leading the pack so to speak. It's like they can't make up their minds and agree to do both ways in an effort to pacify both sides
--
learn what is and any definitions you seek regarding women shoes
http://www.jildorshoes.com/shoe-dictionary/

Sorry, but this is FUD
2009-07-06 23:42:05 by Lars Gunther