hugo wrote:
> >Dojo seems to rely on adding its own unnamespaced attributes to normal
> >elements. Is this compatible with strict use of XHTML?
>
> That would be my biggest technical gripe (beside the missing
> documentation) with Dojo - (X)HTML with  invented unnamespaced tags
> will not validate any more, and if there is something I really don't
> like, it's non-validating code. It's a real pain to build CSS for pages
> that don't validate.

There's nothing in Dojo that explicitly requires that you use these
attributes... we just find it to be easier.  For example, instead of
declaring a widget type as dojoType="foo", using a tag in the dojo xml
namepsace, i.e. dojo:foo, or overloading css class names,
class="dojo-foo".  Admiteddly, we do not have a formal doctype or
schema available yet for Dojo, but if that is a high priority for the
community, we can work on that.

That said, I don't see how "it's a real pain to build CSS for pages
that don't validate."  I see validation as a means to find errors, not
something to blindly follow, and not as a means to prevent you from
doing things in your own namespace.  The reason we often do things like
dojoType="foo" is that namespace stuff doesn't work well on IE.  But
that still doesn't explain to me why it is a real pain, as we do it all
the time with no pain. :)

-Dylan Schiemann

Reply via email to