<?xml version='1.0' encoding='utf-8'?>
<PRONOM-Report xmlns="http://pronom.nationalarchives.gov.uk">
  <report_format_detail>
    <FileFormat>
      <FormatID>2297</FormatID>
      <FormatName>TEI P4 XML - Single Text File</FormatName>
      <FormatVersion>P4</FormatVersion>
      <FormatAliases> </FormatAliases>
      <FormatFamilies> </FormatFamilies>
      <FormatTypes>Text (Mark-up)</FormatTypes>
      <FormatDisclosure> </FormatDisclosure>
      <FormatDescription>The Text Encoding Initiative Guidelines provide a methodology for encoding textual content for a wide variety of academic and publishing purposes and repurposes. P4 is serialised as XML. 

Conceptually, TEI is a sibling of HTML which focuses on textual semantics rather than display. 

The ‘ODD’ file extension is used when TEI is being used as a literate programming language for XML schemas, modern TEI guidelines are written in this form of the language, HTML, RNG, RNC and DTD files are then generated from the TEI. 

Note that TEI permits customisations and some may mean that the file no longer matches the attached signatures. This is especially the case where TEI is fragmented, embedded within other XML or when other XML namespaces are used.

Information on how to convert TEI P4 to TEI P5 can be found at https://www.tei-c.org/Vault/P4/migrate.html and a script at https://www.tei-c.org/Vault/P4/p4top5.xsl Such automated conversion is not guaranteed to be lossless, particularly when the TEI has been customised. 

P4 differs from the proceeding P3 version by being in XML rather than in SGML</FormatDescription>
      <BinaryFileFormat> </BinaryFileFormat>
      <ByteOrders> </ByteOrders>
      <ReleaseDate> </ReleaseDate>
      <WithdrawnDate> </WithdrawnDate>
      <ProvenanceSourceID>236</ProvenanceSourceID>
      <ProvenanceName>Victoria University of Wellington / Victoria University of Wellington</ProvenanceName>
      <ProvenanceSourceDate>19 Oct 2021</ProvenanceSourceDate>
      <ProvenanceDescription> </ProvenanceDescription>
      <LastUpdatedDate>19 Oct 2021</LastUpdatedDate>
      <FileFormatIdentifier>
        <Identifier>application/tei+xml</Identifier>
        <IdentifierType>MIME</IdentifierType>
      </FileFormatIdentifier>
      <FileFormatIdentifier>
        <Identifier>fmt/1474</Identifier>
        <IdentifierType>PUID</IdentifierType>
      </FileFormatIdentifier>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>xml</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>tei</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>odd</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <InternalSignature>
        <SignatureID>1846</SignatureID>
        <SignatureName>TEI P4 XML - Single Text</SignatureName>
        <SignatureNote>BOF:'&lt;?xml version=("OR')1.0("OR')' followed by a gap between 0-512 bytes followed by 'TEI.2'</SignatureNote>
        <ByteSequence>
          <ByteSequenceID>1</ByteSequenceID>
          <PositionType>Absolute from BOF</PositionType>
          <Offset>0</Offset>
          <MaxOffset>3</MaxOffset>
          <IndirectOffsetLocation> </IndirectOffsetLocation>
          <IndirectOffsetLength> </IndirectOffsetLength>
          <Endianness> </Endianness>
          <ByteSequenceValue>3C3F786D6C2076657273696F6E3D(22|27)312E30(22|27){0-512}5445492E32</ByteSequenceValue>
        </ByteSequence>
      </InternalSignature>
      <RelatedFormat>
        <RelationshipType>Has priority over</RelationshipType>
        <RelatedFormatID>638</RelatedFormatID>
        <RelatedFormatName>Extensible Markup Language</RelatedFormatName>
        <RelatedFormatVersion> </RelatedFormatVersion>
      </RelatedFormat>
    </FileFormat>
  </report_format_detail>
</PRONOM-Report>