Re: [selectors-api] What DOM feature "Selectors API" belongs to?

> Is there really any demand from implementers of other languages to have a
> feature sting defined for hasFeature()?  Is there any evidence that people
> make use of existing feature strings in their programs, using any
> implementation?
>

You provide a feature, then others use it, not the other way around.
Ecmascript (javascript) programmers go directly for object detection
because it's simpler.
Still, the entire DOM spec has Java bindings, and one never knows, but
in the future we can have other programming languages with DOM
bindings, which can be used either in a browser or another kind of
program that renders html/xml. Supporting hasFeature is about being
forwards compatible.
Else you're locking the Selectors API only to bindings that support
object detection.

(...)

Received on Wednesday, 9 July 2008 13:41:19 UTC