This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11524 - valid XML documents.
Summary: valid XML documents.
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML/XHTML Compatibility Authoring Guide (ed: Eliot Graff) (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Eliot Graff
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-10 13:09 UTC by David Carlisle
Modified: 2011-08-04 05:07 UTC (History)
4 users (show)

See Also:


Attachments

Description David Carlisle 2010-12-10 13:09:07 UTC
the introduction says:

It is often valuable to be able to serve HTML5 documents that are also valid XML documents.

It would be better to say

It is often valuable to be able to serve HTML5 documents that are also well formed XML documents.


that is "well formed" as opposed to "valid" since most documents conforming to this spec are not valid according to the XML definition of validity. No documents using the preferred doctype <!DOCTYPE html> can be valid, the only ones that can be valid are documents that (a) use an xhtml1 "legacy" doctype, and don't use any new html5 features.


A related, but separate issue that has been commented on before is that this document would be clearer (and shorter) if it restricted itself to the additional constraints that need to be followed to get compatible doms from html and xml parsing, given a document assumed to be valid html5 and well formed xml.
So requirements like DOCTYPE being uppercase and attribute values being quoted could be dropped as they are implied by the document being well formed.
Comment 1 Eliot Graff 2010-12-29 19:41:33 UTC
Introduction now starts:

It is often valuable to be able to serve HTML5 documents that are also well formed XML documents. 

Thanks for catching this.

Eliot
Comment 2 Michael[tm] Smith 2011-08-04 05:07:01 UTC
mass-move component to LC1
Comment 3 Michael[tm] Smith 2011-08-04 05:07:26 UTC
mass-move component to LC1