Advertisement
Promo

Online business Toolkit

W3C marks 'milestone' in DOM protocol

Paul Festa CNET News

Published: 08 Apr 2004 09:05 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

The Web's leading standards body revised a key recommendation for manipulating elements of a Web page.

The World Wide Web Consortium (W3C) on Wednesday recommended the Document Object Model (DOM) Level 3, ironing out problems with the Level 2 recommendation issued early last year and calling the finished protocol a milestone release.

"We accomplished with DOM Level 3 the original vision we had for the DOM application programming interface back in 1997," said Philippe LeHegaret, the W3C's DOM activity lead. "There are nearly seven years of experience in XML in it."

The DOM is the W3C's browser-neutral application programming interface (API) that lets Web authors use scripts to automatically update parts of a Web page with fresh information. The DOM can be used in applications from digital clocks to Web services. XML, or extensible markup language, is a W3C recommendation for creating task- or industry-specific markup languages that are more machine-readable than traditional Web pages or text documents.

Improvements to the DOM in Level 3 include a technique called bootstrapping that lets scripts designate what kind of DOM implementation the author wants to request. The DOM provides different implementations for different kinds of Web content, for example one for basic HTML pages and another for Scalable Vector Graphics (SVG) animations.

In another change, the DOM now supports namespaces in the W3C recommendations XPath and Web Services Description Language (WSDL). XML namespaces, which DOM Level 2 already supported, let browsers distinguish between tags that have the same names but belong to distinct XML dialects and have distinct functions.

XPath and WSDL namespaces moved beyond tags to govern some content as well, and DOM Level 3 now supports that extended functionality.

One analyst applauded the DOM revision, calling it part of a trend of maturing Web protocols that would lessen reliance on Microsoft's dominant Internet Explorer browser.

"The refined quality of the definition and the maturity we see in the other components suggests to us that this stuff is finally getting baked," said Jonathan Eunice, principal analyst with Illuminata. "It's not just in the DOM, it's in the XML parsers, and in the different programming languages like Perl and Java. And it all helps move the Web from being IE-only to letting you take your pick of browser."

Even as the W3C updated the DOM, it reiterated prior calls for Web developers to use it sparingly. That's because pages that rely on scripts are harder to automatically transform for people with disabilities.

"Avoiding scripting means better accessibility of the pages in general," LeHegaret said. HTML usually allows a browser user to perform an action with either mouse or keyboard. But scripts often provide only one option, which may render a page more difficult for people with disabilities to use. "Script developers don't always see the issues related to accessibility, and therefore don't handle them when they write their scripts."

  • Email
  • Trackback
  • Clip Link
  • Print friendlyPrint with EPSON

Did you find this article useful?
70 out of 131 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:



Sentry Posts Blog

Authentication risks all too human

Risks to successful online banking identification and authentication using smartcards involve a mixture of human and technological factors, according to the European Network and Information... More

1 comment

Opera censors Chinese content

Opera has updated the Chinese version of its mobile browser to stop users accessing restricted content. Opera Mini was updated on Friday from an international to a Chinese version,... More

2 comments

Symantec website breached

Security company Symantec has said that one of its websites was successfully breached. Romanian security researcher 'Unu' posted details of the breach in a blog post on Monday. Unu... More

Post a comment

Video icon

Video

Google Chrome

Roundup: Full coverage of Google Chrome

The search giant has launched a beta of its own open-source browser, sending a clear challenge to Microsoft in the way it lets users work with applications More

Blog: Google Chrome has Microsoft's code inside, says MS manager

And furthermore, he says, that's a good thing... More

Blog: Google Chrome — nine things we've found since launch

Google must be very happy with the coverage Chrome has gathered. But it's not all good news... More


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters