W3C home > Mailing lists > Public > public-html@w3.org > February 2010

H:TML: "document in the XML syntax"

From: Simon Pieters <simonp@opera.com>
Date: Tue, 02 Feb 2010 23:51:48 +0100
To: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.u7iu4mfvidj3kv@simon-pieterss-macbook.local>
http://dev.w3.org/html5/markup/documents.html

"The XML syntax is defined by rules in the XML specification [XML] and in  
the Namespaces in XML 1.0 specification [XMLNS]. Beyond the requirements  
defined in those specifications, this specification does not define any  
additional syntax-level requirements for documents in the XML syntax."

but then:

"A conformant document in the XML syntax must consist of the following  
parts, in the following order:"

...which disallows XML decl and PIs.


"Documents in the XML syntax must conform to XML constraints as defined in  
the XML specification [XML] and in the Namespaces in XML 1.0 specification  
[XMLNS] — including XML well-formedness constraints — and must not make  
use of any features of the HTML syntax that do not follow XML  
well-formedness constraints (for example, documents in the XML syntax must  
not use unquoted attribute value syntax and must not omit tags)."

This seems to contradict the previous statement that there are no further  
requirements. Maybe the text on documents in teh XML syntax should be  
phrased as informative instead of as requirements.


(BTW I tried to file this in bugzilla but I got some error.)

-- 
Simon Pieters
Opera Software
Received on Tuesday, 2 February 2010 22:52:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:13 UTC