Re: The future of XML related technologies in Mozilla

Boris Zbarsky <[email protected]> Tue, 31 Oct 2006 23:29:58 -0600
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Ian Hickson wrote:
> I don't imagine the spec will be finished in 2 years either. But in any 
> case my impression was that the whole discussion was very much a long term 
> thing.

Hmm... I guess so, sure.

> (In any case, that's not a prerequisite for doing this -- while we wait 
> for the Documents to be changed to the HTML5 way, if we ever do that, we 
> can still go ahead and put innerHTML on XMLDocument.)

This I don't buy so much -- more below.

>> 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 don't understand why innerHTML wouldn't work on non-HTML nodes.

Maybe I'm naive, but it makes little sense to me to have an "innerHTML" property 
on non-HTML nodes that does completely non-HTML things... Expedient, maybe, but 
confusing in the long run.

> Sure, just throw some things into document.domConfig.

Which document?  The ownerDocument of the node being serialized?

> I can't really comment, since I don't understand the use case in the first 
> place. I was assuming that the data would be sent to the server anyway.

The use case I'm thinking is communication between packages that a web app uses...

-Boris