- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 05 Mar 2010 08:53:38 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/src
In directory hutz:/tmp/cvs-serv13348/src
Modified Files:
documents.html
Log Message:
simplify/clarify description of what a conformant XML/XHTML document is (thx=SimonPieters)
Index: documents.html
===================================================================
RCS file: /sources/public/html5/markup/src/documents.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- documents.html 4 Mar 2010 16:46:19 -0000 1.9
+++ documents.html 5 Mar 2010 08:53:36 -0000 1.10
@@ -50,11 +50,11 @@
is defined by rules in the XML specification
<a href="#refsXML">[XML]</a>
and in the Namespaces in XML 1.0 specification
- <a href="#refsXML">[XMLNS]</a>.
- Beyond the requirements defined in those specifications,
- this specification does not define any additional syntax-level
- requirements for
- <a href="#syntax-document-xml">documents in the XML syntax</a>.</p>
+ <a href="#refsXML">[XMLNS]</a>;
+ any syntax-level requirements for
+ <a href="#syntax-document-xml">documents in the XML syntax</a>
+ described in this specification are intended to be the same as
+ those defined in the XML specification.</p>
</section>
<section id="mime-types">
<h2>The HTML namespace and MIME types</h2>
@@ -117,24 +117,19 @@
<dfn id="syntax-document-xml"
title="syntax-document-xml">document in the XML syntax</dfn>
must be a
- <dfn id="well-formed-xml-document">well-formed XML document</dfn>,
- as defined in the XML specification <a href="#refsXML">[XML]</a>,
+ <dfn id="namespace-well-formed-xml-document">namespace-well-formed</dfn>
+ XML document, as defined in the Namespaces in XML 1.0 specification
+ <a href="#refsXML">[XMLNS]</a>,
and its
- <dfn id="root-element">root element</dfn>,
- as defined in the XML specification <a href="#refsXML">[XML]</a>,
+ <dfn id="root-element">root element</dfn>
must be an
<a href="#html" class="element">html</a> element.</p>
- <p>Documents in the XML syntax must conform to XML constraints
- as defined in the XML specification
- <a href="#refsXML">[XML]</a>
- and in the Namespaces in XML 1.0 specification
- <a href="#refsXML">[XMLNS]</a>
- — including XML well-formedness constraints — and must not
- make use of any features of the
+ <p class="note">
+ Documents in the XML syntax must not make use of any features
+ of the
<a href="#html-syntax">HTML syntax</a>
- that do not follow XML
- well-formedness constraints (for example, documents in the XML
- syntax must not use
+ that do not follow XML well-formedness constraints (for
+ example, documents in the XML syntax must not use
<a href="#syntax-attr-unquoted">unquoted attribute value syntax</a>
and must not
<a href="#omitted">omit tags</a>).</p>
Received on Friday, 5 March 2010 08:53:40 UTC