Support: xhtmlChrome for Android 71+Chrome 4+iOS Safari 3.2+Firefox 2+UC Browser for Android 11.8+IE 9+Safari 3.1+Edge 12+Opera Mini all+Opera 9+Samsung Internet 4+Android Browser 2.1+
This section only describes the rules for XML resources. Rules for
text/html resources are discussed in the section above entitled "The HTML
The XML syntax for HTML was formerly referred to as "XHTML", but this specification does not use that term (among other reasons, because no such term is used for the HTML syntaxes of MathML and SVG).
The syntax for XML is defined in the XML and Namespaces in XML specifications. [XML] [XMLNS]
This specification does not define any syntax-level requirements beyond those defined for XML proper.
XML documents may contain a
DOCTYPE if desired, but this is not required
to conform to this specification. This specification does not define a public or system
identifier, nor provide a formal DTD.
According to the XML specification, XML processors are not guaranteed to process
the external DTD subset referenced in the DOCTYPE. This means, for example, that using entity references for characters in XML documents
is unsafe if they are defined in an external file (except for