You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first sentence of #SGname is “A valid XML document necessarily specifies the schema in which its constituent elements are defined.”. Problem is, it is not true. An XML document that has no indication of its schema may well be valid against several schemas. (And invalid against millions, but that is irrelevant.) To put it another way
<?xml version="1.0" encoding="UTF-8"?>
<TEIxmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>tiny valid TEI document</title>
</titleStmt>
<publicationStmt>
<p>unpublished, except on this ticket.</p>
</publicationStmt>
<sourceDesc>
<p>born digital</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<p>Here is a tiny snippet of text.</p>
</body>
</text>
</TEI>
is valid against both tei_all and tei_lite (and is not valid against DocBook, or XHTML, or NEMSIS, or …), but does not say what schema it is valid against.
Seems to me the entire paragraph needs a bit of a re-write.
The text was updated successfully, but these errors were encountered:
How about "A valid XML document necessarily specifies or implies some schema within which its constituent elements are defined and rules about their usage are given: this is a part of what it means to be "valid". By contrast, a well formed XML document is not required to specify a schema at all. Nonetheless, it may well be useful to indicate that the element names used in it have some defined provenance. It might also be desirable to include in a document elements that are defined (possibly differently) in different schemas. A cabinet-maker's schema might well define an element called <table> with very different characteristics from those of a documentalist's."
The first sentence of
#SGname
is “A valid XML document necessarily specifies the schema in which its constituent elements are defined.”. Problem is, it is not true. An XML document that has no indication of its schema may well be valid against several schemas. (And invalid against millions, but that is irrelevant.) To put it another wayis valid against both tei_all and tei_lite (and is not valid against DocBook, or XHTML, or NEMSIS, or …), but does not say what schema it is valid against.
Seems to me the entire paragraph needs a bit of a re-write.
The text was updated successfully, but these errors were encountered: