Forum Moderators: open

Message Too Old, No Replies

Looking for a DTD for XHTML 2.0

Does one exist yet?

         

encyclo

7:23 pm on Aug 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've been trying out a simple implementation of XHTML 2.0 (just for testing, obviously!), and it works well. Trouble is, I've not got a DTD to validate against, and the only reference to one is in a doctype which points to:

[w3.org...]

The above is currently a 404, although I suspect it will hold the final DTD whenever the time comes.

It's not critical, but does anyone have or has seen an XHTML 2.0 DTD lying around? Even a rough draft will do!

tedster

7:28 pm on Aug 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Only found this:

XHTML 2.0 DTD Needed

The XHTML 2.0 DTD driver and content model files need to be built. There is an open issue about how to integrate the XForms instance data into such a DTD.

W3C Reference [w3.org]

bcolflesh

7:35 pm on Aug 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Prototype:

[w3.org...]

from:

[hades.mn.aptest.com...]

encyclo

12:00 am on Aug 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for the links, guys. The prototype DTD doesn't really work as intended, so I'm going to give it a miss. It's not crucial anyway - I'm serving the document as
application/xhtml+xml
, so I can tell whether it is well-formed. I just can't validate to see whether I'm using the elements correctly or not.

The page works perfectly in Mozilla and Opera 7 (naturally), and I'm going to serve it as

text/xml
to IE, and it should then work there too. Utterly impractical for real world use, but it might be useful one day!

I'll write up how to do it if anyone's interested (after I've fixed a few niggles with the implementation).