Slashdot Mirror


HTML V5 and XHTML V2

An anonymous reader writes "While the intention of both HTML V5 and XHTML V2 is to improve on the existing versions, the approaches chosen by the developers to make those improvements are very different. With differing philosophies come distinct results. For the first time in many years, the direction of upcoming browser versions is uncertain. This article uncovers the bigger picture behind the details of these two standards."

14 of 344 comments (clear)

  1. Re:Where is Microsoft? by morgan_greywolf · · Score: 3, Informative

    Both standards are being worked on the by the W3C standards group. Microsoft, along with all other major browser developers, is a member.

  2. Both garbage by Anonymous Coward · · Score: 1, Informative

    I'm sticking with XHTML1.0 strict. Perhaps I'll use XHTML1.1 with appropriate DTD if I ever need to support the canvas element, other than that... none of this stuff is what I want from a markup language.

  3. Re:Web Applications? by gsnedders · · Score: 5, Informative

    HTML 5 is aiming to support various things needed for web applications (in fact, the current draft is formed of two documents: Web Applications 1.0 and Web Forms 2.0). Also, see http://www.w3.org/2006/appformats/admin/charter.html.

  4. Re:Where are we now? by gsnedders · · Score: 2, Informative

    http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(HTML5) covers HTML 5, Nobody has started to try to implement XHTML 2 AFAIK (though definitely nobody major).

  5. are html 5 and xhtml 2 worked on by W3C? by falconwolf · · Score: 4, Informative

    Both standards are being worked on the by the W3C standards group.

    According to the IBM paper html 5 is being done independently of the W3C. "In April 2007, the W3C voted on a proposal to adopt HTML V5 for review" is about as much as W3C has with html 5.

    Falcon
    1. Re:are html 5 and xhtml 2 worked on by W3C? by VP · · Score: 3, Informative

      Both standards are being worked on the by the W3C standards group.

      According to the IBM paper html 5 is being done independently of the W3C. "In April 2007, the W3C voted on a proposal to adopt HTML V5 for review" is about as much as W3C has with html 5.


      Falcon Wrong. The W3C restructured the original HTML working group. Here is Tim Berners-Lee's initial message about the refocusing of the efforts for evolving HTML, and here are the details for the two new working groups - the HMTL working group and the XHTML2 working group.
  6. Re:Why not ditch HTML? by Anonymous Coward · · Score: 1, Informative

    The position taken is that XML is too hard and parse errors are scary or something. With XML, you need to make sure that your document contents are correctly encoded, use the DOM instead of document.write() and should be serving it with the correct MIME type (when appropriate). For some reason, it's deemed more important that cowboy web designers are permitted to continue ripping off their clients with inaccessible and invalid markup rather than advancing the web for the benefit of competent developers.

    XHTML 1.0 strict is where it's at and there'll be no change with the release of HTML5 or XHTML 2.0 recommendations.

  7. Re:reboot the web! by Anonymous Coward · · Score: 2, Informative

    There are a lot of people who think that web, Ajax and Flash applications are a very bad thing. Not just users, but also noted developers and usability experts.

    More thoughts on why Ajax is bad for web applications: this is about how Ajax apps are often very fragile and usually don't work as expected.

    Ephemeral Web-Based Applications: usability guru Jakob Nielsen writes this great article that goes into depth about how most web apps are complete failures when it comes to usability. Even something as basic as navigation quickly becomes unintuitive and difficult.

    Why the .NET framework makes for bad web applications: this explains why .NET apps using some of the latest technology around is often a bad idea.

    You're not on a fucking plane (and if you are, it doesn't matter)!: Ruby on Rails creator David Heinemeier Hansson talks about how we don't need web apps everywhere.

    There are a lot of anti-web app articles here. Having done a lot of web apps for years now i think a lot of them are spot on although they are really against web apps when web apps probably are the best tool for the job:
    Web apps: taking five years to get to where desktop apps were a decade earlier?

    A JavaScript tip built on years of experience: try to avoid JavaScript.

    Why is Web page layout still such a problem?

    Web 2.0: A serious case of diarRIA.

    AJAX: the "ricer" of the software development world?

    Keep the Web in the browser, please.

    The wasteful nature of pointless JavaScript effects.

    An example of the sorry state of JavaScript today.

    The Web is inherently an inadequate application development platform.

    Where is the developer productivity increase with JavaScript-based Web applications?

    A great Web developer is a waste of a really great application developer.

  8. Re:I bet my ass.. by bcrowell · · Score: 3, Informative

    Anyone thinking of clicking on the parent's link (to vumit.com) should realize that it's a goatsex-style shocker page.

  9. Re:Where is Microsoft? by Bogtha · · Score: 3, Informative

    That's one of them, yes. It really depends on what you want to do; for example you don't need anything other than typical mousedown event handlers for things like Google Maps, and you can use things like dynamically generated image URIs to send data back to the server asynchronously, which is compatible all the way back to Netscape 2. There are lots of options, the value in XMLHttpRequest is more convenience than functionality.

    --
    Bogtha Bogtha Bogtha
  10. Re:Where is Microsoft? by Selanit · · Score: 3, Informative

    I don't believe Google Maps uses XMLHttpRequest anyway.

    Err, yes it does. From the Google Maps API reference:

    The Google Maps API is now integrated with the Google AJAX API loader, which creates a common namespace for loading and using multiple Google AJAX APIs. This framework allows you to use the optional google.maps.* namespace for all classes, methods and properties you currently use in the Google Maps API, replacing the normal G prefix with this namespace. Don't worry: the existing G namespace will continue to be supported.

    And that's just a recent refinement. Google Maps has used the XMLHttpRequest object for ages. Yes, it's possible to get a similar effect using hidden iframes and such, but doing it that way is really awkward. They'd have to be crazy to pass that amount of data back and forth that way when they've got XMLHttpRequest.

  11. Re:No standard without reference implementation by Bogtha · · Score: 2, Informative

    The worst thing about W3C standards is the lack of a reference implementation.

    For a few years now, the W3C publication process has included an additional final step. It is not possible for a specification to reach final Recommendation stage unless it has two complete interoperable implementations.

    --
    Bogtha Bogtha Bogtha
  12. Re:Where is Microsoft? by Anonymous Coward · · Score: 1, Informative

    for example you don't need anything other than typical mousedown event handlers for things like Google Maps I'm sorry, but that just sounds awful. If you've used MapQuest before Google Maps, then went back after using GMaps, you'd see what I mean. There is a lot of stuff going on under the hood related to the mouse events, data loading, caching, etc that HAVE to be there in order for that experience to be as good as it is.

    Sure, those techniques have been there since Netscape 2... and without XMLHttpRequest, we'd be back to the 1998 status quo.
  13. Re:Browser vendors choice by Anonymous Coward · · Score: 1, Informative

    As it stands, with both XHTML 5 and XHTML 2 using the same namespace, it is only possible to support one of the two.

    Not true. They have different namespaces, so a processor can know exactly which language it is dealing with.

    From the HTMLv5 working draft (section 1.1.2 "Relationship to XHTML2"):

    "XHTML2 and this specification use different namespaces and therefore can both be implemented in the same XML processor."

    When using HTMLv5-as-XML, the namespace is "http://www.w3.org/1999/xhtml".
    The XHTMLv2 namespace is "http://www.w3.org/2002/06/xhtml2/".

    Heck, you could even mix (X)HTMLv5 and XHTMLv2 in the same document, though it might be a bit perverse. I can't think of a good use-case off the top of my head.