DigitalLatin / guidelines

A repository for the LDLT Guidelines
GNU Affero General Public License v3.0
0 stars 3 forks source link

Element "teiCorpus" not allowed anywhere #44

Open adunning opened 5 years ago

adunning commented 5 years ago

The guidelines mention using <teiCorpus>, which I take to be the intended way to put together a file that is composed of a collection of texts with different authors and titles, but with a common editorial method and manuscript sources. See Varieties of Composite Text: correct me if I am missing something else here. Perhaps Grouped Texts would be better, which is allowed, but I'm not clear on how to associate different authors and titles with texts in such a structure.

This example, in any case, keeps giving me element "teiCorpus" not allowed anywhere errors:

<?xml version="1.1" encoding="UTF-8"?>
<?xml-model href="https://digitallatin.github.io/guidelines/critical-editions.rng"
type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://digitallatin.github.io/guidelines/critical-editions.rng"
type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<teiCorpus xmlns="http://www.tei-c.org/ns/1.0">
    <teiHeader>
        <fileDesc>
            <titleStmt>
                <title/>
            </titleStmt>
            <publicationStmt>
                <authority/>
            </publicationStmt>
            <sourceDesc>
                <p></p>
            </sourceDesc>
        </fileDesc>
    </teiHeader>
    <TEI>
        <teiHeader>
            <fileDesc>
                <titleStmt>
                    <title/>
                </titleStmt>
                <publicationStmt>
                    <authority/>
                </publicationStmt>
                <sourceDesc>
                    <p></p>
                </sourceDesc>
            </fileDesc>
        </teiHeader>
        <text>
            <body>
                <div type="textpart">

                </div>
            </body>
        </text>
    </TEI>
</teiCorpus>
sjhuskey commented 5 years ago

This is interesting. teiCorpus appears only in the portion of the guidelines that describes the schema. I've asked Hugh to take a look.