Re: VXML 2.1 and parsing of XML data

> Furthermore, the ECMA-357 spec states that E4X implementations are
> not required to support the W3C DOM or to provide the capability to
> construct XML objects from W3C DOM objects.  It would seem we could
> support the simpler approach and make the DOM approach optional.

Hi Christopher,

First, apologies for the late response.

Second, you are probably right that E4X would be simpler to
use. However, the DOM approach is tried and tested, and a W3C
Recommendation, and widely implemented. E4X is still young, and was
even more so at the time the WG designed this feature of VoiceXML2.1.

Note that an alternative to E4X is DOM3 XPath:
http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html
Similarly, being only a W3C Note, including it in a Recommendation is
always a bit risky.

Cheers,

Max.

Received on Wednesday, 2 August 2006 09:50:13 UTC