Re: Formatless files

Amelia A Lewis <[email protected]>
Newsgroups gmane.text.xml.devel
Organization The Mysthical World of Talsever!
Message-ID <[email protected]>
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!
-- 
Amelia A. Lewis                    amyzing {at} talsever.com
It is practically impossible to teach good programming to students that 
have had a prior exposure to BASIC: as potential programmers they are 
mentally mutilated beyond hope of regeneration.
                -- Edsger Dijkstra

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.