Discussion:
[xquery-talk] DOM level 4
W.S. Hager
2015-12-01 13:32:50 UTC
Permalink
Hi,

Perhaps this is not the place to discuss this, but I was quite surprised
when I stumbled upon the current DOM level 4 spec, which deprecates 4 node
types in respect to XML DOM.

Are these changes expected to affect XML DOM implementations?

Thanks.
--
W.S. Hager
Lagua Web Solutions
http://lagua.nl
Michael Kay
2015-12-01 15:50:12 UTC
Permalink
Post by W.S. Hager
Hi,
Perhaps this is not the place to discuss this
Indeed. I can't see any particular relevance to XQuery.
Post by W.S. Hager
, but I was quite surprised when I stumbled upon the current DOM level 4 spec, which deprecates 4 node types in respect to XML DOM.
Are these changes expected to affect XML DOM implementations?
The DOM spec has been hijacked by the HTML crowd, who have no interest in XML at all.

It's probably time we deprecated the whole XML DOM, I find it maddening that beginners still use it in preference to far better models like JDOM2 and XOM, simply because the name "DOM" has brand recognition.

Michael Kay
Saxonica



_______________________________________________
***@x-query.com
http://x-query.com/mailman/listinfo/talk
W.S. Hager
2015-12-01 16:26:02 UTC
Permalink
Hi Michael,

The models you mentioned are both Java APIs, correct? Perhaps a lot more
"beginners" use XML DOM instead of better alternatives because those aren't
widespread in other languages. HTML DOM, on the other hand, seems to be
used mostly in javascript, for obvious reasons.

Thanks.
Post by Michael Kay
Post by W.S. Hager
Hi,
Perhaps this is not the place to discuss this
Indeed. I can't see any particular relevance to XQuery.
Post by W.S. Hager
, but I was quite surprised when I stumbled upon the current DOM level 4
spec, which deprecates 4 node types in respect to XML DOM.
Post by W.S. Hager
Are these changes expected to affect XML DOM implementations?
The DOM spec has been hijacked by the HTML crowd, who have no interest in XML at all.
It's probably time we deprecated the whole XML DOM, I find it maddening
that beginners still use it in preference to far better models like JDOM2
and XOM, simply because the name "DOM" has brand recognition.
Michael Kay
Saxonica
--
W.S. Hager
Lagua Web Solutions
http://lagua.nl
Continue reading on narkive:
Loading...