logo       

Re: The future of XML related technologies in Mozilla: msg#00003

Subject: Re: The future of XML related technologies in Mozilla
Ian Hickson wrote:
In DOM5 HTML, every Document supports HTMLDocument.

"Good luck".  ;)

As in, I don't see that shipping in Gecko in the next 2 years... (not going to happen in 1.9, almost certainly, and the next version is probably 2 years away at least).

In addition to which, for serialization purposes this is all patently insufficient without jumping through a _lot_ of hoops (one of the hoops being that innerHTML doesn't serialize the node in question, so the only way to do the equivalent of outerHTML is to import the subtree into a brand-new HTMLDocument, etc). Especially if, God forbid, you were to want to serialize SVG or MathML or some such.

Could you elaborate on this? I don't follow.

You can't use innerHTML on non-HTML nodes. Assuming that you wanted the part about SVG/MathML elaborated. Or did you want something else?

I also fully expect people to demand configurable serialization at some point.

The answer "no" is probably good enough for now, though. Eventually, we can add configuration attributes for the really desired options

My point is that there's no good way to add such with the innerHTML solution. So it makes sense to have an easy-to-instantiate serializer that such things could be added to later.

but frankly I don't see the point -- once an author has an XML string, he can fix it to whatever he wants himself, e.g. on the server side.

You mean reparse it and reserialize it? That's what it would come down to... Plus, why force a round trip to the server? That's generally a bad idea, imo.

HTML5 has this all documented now. Let me know if you spot any errors. I know of a few that have been reported to the WHATWG list, and that I'll be fixing in due course, but please report any you see.

Given the size of the HTML5 spec and my time constraints, I personally am not likely to get a chance to read the whole thing before I finish my PhD work (so spring 2008). If you want me to read particular small self-contained parts, please link to them and I'll see what I can do.

Unless that was supposed to be the collective "you"?

-Boris


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe