Dojo + XHTML 1.1

M

Max

Hello everyone!

Where can i find clear examples about XHTML 1.1? I'm studying Dojo and,
since it uses proprietary attributes for its applications, it requires
XHTML 1.1 "modularized".
Has anyone experience on this?

Max
 
E

Evertjan.

Max wrote on 28 sep 2009 in comp.lang.javascript:
Where can i find clear examples about XHTML 1.1? I'm studying Dojo and,
since it uses proprietary attributes for its applications, it requires
XHTML 1.1 "modularized".
Has anyone experience on this?

"XHTML 1.1?" ?

Your Q has nothing to do with Javascript.

Off Topic.
 
M

Max

Evertjan. ha scritto:
Max wrote on 28 sep 2009 in comp.lang.javascript:


"XHTML 1.1?" ?

Your Q has nothing to do with Javascript.

Off Topic.

Semi Off Topic. Dojo is Javascript. Because Dojo use and create
"widgets" with proprietary attributes, it is a good thing to convert the
webpage to XHTML 1.1. Suggestions?
 
M

Martin Honnen

Max said:
Semi Off Topic. Dojo is Javascript. Because Dojo use and create
"widgets" with proprietary attributes, it is a good thing to convert the
webpage to XHTML 1.1. Suggestions?

Do you want to serve your XHTML 1.1 as application/xhtml+xml?
 
M

Max

Martin Honnen ha scritto:
Do you want to serve your XHTML 1.1 as application/xhtml+xml?

With Dojo widgets, the XHTML 1.0 Strict validation fail! Only with XHTML
1.1 Modularized (Dojo docs docet) the problem is solved. If this is an
xhtml+xml application then yes i have to serve this application type.

Max
 
T

Thomas 'PointedEars' Lahn

Max said:
Martin Honnen ha scritto:

No. Because Dojo does that, it is a Good Thing not to use Dojo. As you
will see shortly.

Do not use Dojo.
With Dojo widgets, the XHTML 1.0 Strict validation fail! Only with XHTML
1.1 Modularized (Dojo docs docet) the problem is solved. If this is an
xhtml+xml application then yes i have to serve this application type.

The only problem with that is that MSHTML/IE does not support it (a file
download dialog is displayed instead). And did you not decide to use Dojo
as a framework in order to work around browser differences? As you can see
now, the Dojo approach is inherently flawed.


PointedEars
 
D

David Mark

No.  Because Dojo does that, it is a Good Thing not to use Dojo.  As you
will see shortly.

Would be a better thing not to use XHTML.
Do not use Dojo.

Do not use XHTML as you cannot serve it properly on the Web.
The only problem with that is that MSHTML/IE does not support it (a file
download dialog is displayed instead).  And did you not decide to use Dojo
as a framework in order to work around browser differences?  As you cansee
now, the Dojo approach is inherently flawed.

I don't know of any frameworks (or even libraries) that work with
XHTML when served as XML. Not a fan of custom attributes, of course,
but they are not required to use Dojo.
 
T

Thomas 'PointedEars' Lahn

David said:
I don't know of any frameworks (or even libraries) that work with
XHTML when served as XML.

Perhaps it is time that such one is published, then.
Not a fan of custom attributes, of course,
but they are not required to use Dojo.

That would be a Good Thing, then. However, the OP is quite convinced that
it does. Incidentally, a wrong assumption they might have about Dojo's
widgets, which lead to the wrong conclusion that XHTML was required, would
have been more quickly clarified when making use of Dojo support instead.

<http://www.dojotoolkit.org/support>


PointedEars
 
D

David Mark

Perhaps it is time that such one is published, then.

There has been at least one. Wasn't worth it then. Certainly not now
(for the Web anyway). Dead language.
That would be a Good Thing, then.  However, the OP is quite convinced that
it does.  Incidentally, a wrong assumption they might have about Dojo's
widgets, which lead to the wrong conclusion that XHTML was required, would
have been more quickly clarified when making use of Dojo support instead.

<http://www.dojotoolkit.org/support>

Indeed. And no, Dojo (Dijit) widgets do not require XHTML at all.
Sounds like the OP wants his XHTML to validate, but would be better
served by HTML.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top