Well formed XML does not need any DTD, XSD or RelaxNG. Only a
structure defined as XML.
--
Kit
st 10. 8. 2022 v 0:05 odesílatel Amelia A Lewis <> napsal:
>
> On Tue, 9 Aug 2022 23:37:56 +0200, Kit wrote:
> > A file is XML if it passes XML validation. Otherwise it is not XML.
>
> Well-formedness, I think. "Validation" when speaking of XML typically
> refers to verifying that the well-formed XML document matches the
> production(s) found in some schema language file, of which the best
> known are DTD (the original, included in the 1.0 spec), W3C XML Schema,
> and Relax NG, but there are other forms that supply different rules for
> content validation not based on grammars (Schematron most notably). All
> of them operate over well-formed XML and it's well-formedness that
> marks the boundary between "XML" and "some mess of pointy brackets and
> nonsense that can't be successfully parsed".
>
> Amy!