{"id":131,"date":"2007-02-01T23:28:59","date_gmt":"2007-02-02T06:28:59","guid":{"rendered":"https:\/\/dubinko.info\/blog\/2007\/02\/01\/is-html-on-the-web-a-special-case\/"},"modified":"2007-02-01T23:34:26","modified_gmt":"2007-02-02T06:34:26","slug":"is-html-on-the-web-a-special-case","status":"publish","type":"post","link":"https:\/\/dubinko.info\/blog\/2007\/02\/is-html-on-the-web-a-special-case\/","title":{"rendered":"Is HTML on the web a special case?"},"content":{"rendered":"<p>Some random thoughts and responses to lots of blog discussion sparked by the <a href=\"http:\/\/www.xml.com\/pub\/a\/2007\/01\/10\/is-xml-20-under-development.html\">XML2 article<\/a>, where I asked &#8220;Is HTML on the Web a special case?&#8221;<\/p>\n<p>By which, I mean, if you go through all the effort of writing down all the syntax rules used by the union of browsers that you care about, then go through the pain of getting consensus within a standards body, will the resulting document be useful beyond HTML on the Web, much like how XML is useful beyond being a vehicle for XHTML?<\/p>\n<p>I don&#8217;t know if Tim Bray had that same version of the question in mind, but he <a href=\"http:\/\/www.tbray.org\/ongoing\/When\/200x\/2007\/01\/30\/XML-2\">answers<\/a> &#8220;obviously &#8216;yes'&#8221;.<\/p>\n<p>But I don&#8217;t think so. Once you have that set of rules, wouldn&#8217;t it be useful in other areas, say, notoriously RSS on the web? SVG? MathML? In fact, I&#8217;d go as far as saying that any hand-authored markup would be a candidate for XML2 syntax.<\/p>\n<p>What about mobile? Anne van Kesteren <a href=\"http:\/\/annevankesteren.nl\/2007\/01\/xml-20\">responds<\/a>:<\/p>\n<blockquote><p>in that article Micah Dubinko mentions mobile browsers living up to their premise and all that. What he says however, isn\u00e2\u20ac\u2122t really true. Mobile browsers and <abbr>XHTML<\/abbr> is tag soup parsing all the way.<\/p><\/blockquote>\n<p>He links to <a href=\"http:\/\/simon.html5.org\/articles\/mobile-results\">this page<\/a>, which does a rather poor job of making a point the author seems to have decided upon before starting the experiment. If you look at the specific test cases, one tests completely bizarro markup that no author or tool I can imagine would ever produce. Another test checks the handling of content-type, not markup. On the other axis, the choices there seem a bit jumbled: lists of user-agent strings, one for stock Mozilla, and a footnote indicating confusion about what browser is really in use. If anything, this page shows that the browsers tested here, with the exception of Opera Mini, are crap. If you spend more than a few minutes in mobile, you&#8217;ll discover this widespread trend. (And I&#8217;m working on a solution&#8230;watch this space).<\/p>\n<p>Look at this from a pragmatic viewpoint. Check the doctype used on <a href=\"http:\/\/www.yahoo.com\">Yahoo!<\/a> front page vs <a href=\"http:\/\/wap.oa.yahoo.com\/\">mobile front page<\/a>. Despite the poor browsers, XHTML adoption is still farther ahead on the mobile web then the desktop web.<\/p>\n<p>The last thing nagging at me (for now) is whether XML2 will have an infoset. Will it be possible to use XPath, XQuery, and XML tools on XML2 content? How well will these map to each other? In the strict sense, no, XML2 won&#8217;t have a conforming infoset because it will never include namespaces. But might it support a subset of the infoset? (Would that be a infosubset?) That&#8217;s a huge open question at this point. -m<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some random thoughts and responses to lots of blog discussion sparked by the XML2 article, where I asked &#8220;Is HTML on the Web a special case?&#8221; By which, I mean, if you go through all the effort of writing down all the syntax rules used by the union of browsers that you care about, then&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7,6,2,9,4],"tags":[],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-browsers","category-intentional-web","category-mobile","category-standards","category-xml"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8eo8l-27","_links":{"self":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/comments?post=131"}],"version-history":[{"count":0,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts\/131\/revisions"}],"wp:attachment":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/media?parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/categories?post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/tags?post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}