First of all, current browsers don't really use the Document Type Definitions
provided by the W3C website, they just look for the correct
Document Type Declarations. So, they probably will recognise your
DT Declaration as another junk and will probably fall back to the
quirksmode (I wouldn't certanly want that).

I've checked - Opera uses standrads mode for unknown doctype and Mozilla always uses standards mode for XML documents.

Does anyone know about Safari?

http://www.literarymoose.info/ successfully uses it's own doctype
(adds <book> tag for example)

As you are refering to XHTML2, I must note that this should be served
as application/xhtml+xml which isn't accepted by IE - so that's
clearly off.

No, that's different problem and has its own solutions.

And if you are using some other elements than those in the specification,
or defining your own DT Definitions, then clearly you aren't following
the standards - but trieng to come up with one by yourself.

True. Care must be taken to keep compatibility with current and (near-)future standards.
XHTML is modular, so it can be done in a clean way, I think.


I think the right way to define your own tags is to use XML - which is
ment for it. And then using some XSL Transformations or some other
server-side technology to transform your custom markup to correct XHTML.

For some projects I already do that, but the point is to *output* custom tags
to get some benefits I've listed in my first post.



-- regards, Kornel Lesiński

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to