[Bug 4214] XHTML Basic 1.1 missing from catalog

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4214


ot@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|link@pobox.com              |ot@w3.org
          Component|Parser                      |Types Registry
            Summary|Unknown Parse Mode! and     |XHTML Basic 1.1 missing from
                   |Namespace Found in non-XML  |catalog
                   |Document                    |




------- Comment #1 from ot@w3.org  2007-03-16 03:44 -------
Hello Ali,

(In reply to comment #0)

> I am trying to develop a page using XHTML Basic 1.1.
> 
> When I check the above page I get the following results page:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mutah.com%2Fv3%2Findex.html
> 
> Is this a bug? Or Am I doing something wrong?

You are doing nothing terribly wrong. :)
What is happening is:
* you are using XHTML Basic 1.1, which the validator does not have (yet) in its
internal catalog.
* because the document type is unknown to the validator, it looks at other
information, and finds that your document is served as text/html. hence "OK, it
must be some kind of classic HTML".
* the validator parses your XHTML as classic HTML and gets all confused by all
this apparent XML stuff in a document that supposedly isn't.

Morality: you should have served your XHTML content as application/xhtml+xml.
Serving it as text/html is tolerable for XHTML 1.0 authored according to
http://www.w3.org/TR/xhtml1/#guidelines but for XHTML Basic 1.1 it's really not
recommended.

In any case, many thanks for your report. I'm going to add XHTML Basic 1.1 as a
known document type and everything should be working soon.

Thank you,
olivier

Received on Friday, 16 March 2007 03:44:39 UTC