Serving XHTML as XML

Hi list,

Like so many others I'm now serving my XHTML webpages as XML using
mime-type application/xhtml+xml and content negotiation based on the
http accept header.

I have published an article telling how:

"XHTML, http accept-header and mime-type application/xhtml+xml"
www.smackthemouse.com/xhtmlxml

Since my webpages are more accessible than most other XML based
webpages, you are welcome to use them for testing rare user agents and
assistive technology.

Nice if someone could report some problems caused by "XHTML as XML" on
or off list, so I can start experimenting with ways to solve them.
Comments and suggestions are also welcome.

WCAG 11.1 says:

"Use W3C technologies when they are available and appropriate for a task
and use the latest versions when supported." [Priority 2]

Since is has been possible for several years to serve XHTML as XML to
browsers understanding it, I would say that one can't claim Conformance
Level "Double-A" if one is just using HTML.

Using well-formed markup, it is much easier for browsers and assistive
technology to reuse content and to provide better features, including
accessibility features, for end users.

If markup is not well-formed you need a lot of testing, a lot of string
manipulation and unreliable Regular Expressions that easily breaks.

Best regards,
Jesper Tverskov

Received on Wednesday, 23 February 2005 10:09:22 UTC