W3C

Edit comment LC-1605 for Mobile Web Best Practices Working Group

Quick access to

Previous: LC-1634 Next: LC-1653

Comment LC-1605
:
Commenter: Jo Rabin <>

or
Resolution status:

So, given that the documents are supposed to be XML, and given that we
can refer to various STRONGLY RECOMMENDED clauses, should we insist on
the XML declaration being present and specifying an explicit encoding if
it is not explicitly set in the Content-Type header?

i.e. how much would we lose if we removed the META provision in 3.3?

Well, one possible answer is that if the content is delivered as
text/html then it is assumed not to be XML and the XML header may be
ignored. In this case having the META there is a kind of belt and
braces, though in practice it may be meaningless.

On reflection I think that in the case of text/html and no charset
parameter - we should check for BOTH the XML declaration and the META.
In the case of application/*+xml we should insist only on the XML
declaration and ignore the META.

Oh dear, this one won't lie down quietly.
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 1605.html,v 1.1 2017/08/11 06:43:29 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org