W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2005

Serving XHTML as XML

From: Jesper Tverskov <jesper.tverskov@mail.tele.dk>
Date: Wed, 23 Feb 2005 11:09:20 +0100
To: <w3c-wai-ig@w3.org>
Message-ID: <000001c5198f$be341830$440bc650@tversdatg7y7vv>

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"

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

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:31 UTC