Menu

TEI element (core) term

Help
2016-08-23
2016-08-23
  • Benjamin Kosmehl

    Hi, I am somewhat new to TEI and XML and trying to build a schema for my poetry annotation. Besides some other difficulties I encountered a validation error with my current working schema (.rng).

    I wanted to use the textClass keywords construct to add a classification to the poems in the header. The term tag throws the validation error that it should not contain text/text is not allowed there. But in example it is:
    http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-keywords.html
    Now i looked into the Definitions and in the RNG schema it has an empty element as content (generated by ROMA from the TEI website). In the XSD Version it is an <xs:complexType/>. So is this just a bug or am I missing something else?

    my usage

                <textClass>
                    <keywords>
                        <term>sadly moving</term>
                    </keywords>
                </textClass>
    

    the underlying schema definition

       <define name="tei_term">
          <element name="term">
             <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a single-word, multi-word, or symbolic designation which is regarded as a technical term. [3.3.4. Terms, Glosses, Equivalents, and Descriptions]</a:documentation>
             <rng:empty xmlns:rng="http://relaxng.org/ns/structure/1.0"/>
          </element>
       </define>
    
     
  • Kevin Hawkins

    Kevin Hawkins - 2016-08-23

    Hello,

    The TEI no longer uses this SourceForge site, and I have just disabled the posting of new comments on this site. The best way to get an answer to your question is to post to TEI-L. See more at http://www.tei-c.org/Support/index.xml#tei-l .

    Kevin Hawkins
    TEI webmaster