On Jul 20, 2005, at 08:08, James Cerra wrote:
HTML has many entities predefined. If you use HTML content, are those
entities allowed (after being escaped, of course)? That would make it
really
really hard to normalize to text or XML without doctype processing.
No. You are supposed to use a tag soup parser for HTML. Tag soup
parsers don't process the DTD. They have a hard-coded table of
character entities.
Also, how does Atom interact with HTML 5,
You put the stuff in there and in time clients will adapt?
I still say that version or doctype attributes should be allowed
to solve disambiguities and allow compatibility with future versions
of those
specs.
I am strongly against catering for doctype sniffing on the XHTML side.
Public/System identifiers can still be used to identify type without
validating it
No, they cannot. See http://hsivonen.iki.fi/doctype/#xml
--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/