<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="../sch/tei_all_LEMDO.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="../sch/tei_all_LEMDO.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:id="learn_generalDiagnostics">
   <teiHeader>
      <fileDesc>
         <titleStmt>
            <title type="main">LEMDO Diagnostics</title>
            <respStmt xml:id="odd_JENS1_wtm">
               <resp ref="#wtm">Technical Writer</resp>
               <name ref="#JENS1">Janelle Jenstad</name>
            </respStmt>
            <respStmt xml:id="odd_HOUL3_wtm">
               <resp ref="#wtm">Technical Writer</resp>
               <name ref="#HOUL3">Navarra Houldin</name>
            </respStmt>
            <respStmt>
               <resp ref="#pdr">Project Director</resp>
               <name ref="#JENS1">Janelle Jenstad</name>
            </respStmt>
            <respStmt>
               <resp ref="#wtm">Project Manager</resp>
               <name ref="#GALL2">Mahayla Galliford</name>
            </respStmt>
            <respStmt>
               <resp ref="#wtm">Training and Documentation Lead</resp>
               <name ref="#HOUL3">Navarra Houldin</name>
            </respStmt>
            <respStmt>
               <resp ref="#prg">Programmer</resp>
               <name ref="#HOLM1">Martin Holmes</name>
            </respStmt>
            <respStmt>
               <resp ref="#prg">Programmer</resp>
               <name ref="#TAKE1">Joey Takeda</name>
            </respStmt>
            <respStmt>
               <resp ref="#prg">Junior Programmer</resp>
               <name ref="#ELHA1">Tracey El Hajj</name>
            </respStmt>
            <sponsor ref="#LEMD1"/>
            <funder>Social Sciences and Humanities Research Council of Canada</funder>
         </titleStmt>
         <editionStmt>
            <p>Released with Linked Early Modern Drama Online 1.0</p>
         </editionStmt>
         <publicationStmt>
            <publisher>University of Victoria on the Linked Early Modern Drama Online Platform</publisher>
            <availability>
               <licence from="2023-12-10" resp="#JENS1" corresp="lemdo.xml"/>
               <p>This file is licensed under a <ref target="https://creativecommons.org/licenses/by-nc-nd/4.0/">CC BY-NC_ND 4.0 license</ref>, which means that it is freely downloadable without permission under the following conditions: (1) credit must be given to the author and LEMDO in any subsequent use of the files and/or data; (2) the content cannot be adapted or repurposed (except in quotations for the purposes of academic review and citation); and (3) commercial uses are not permitted without the knowledge and consent of the editor and LEMDO. This license allows for pedagogical use of the documentation in the classroom.</p>
            </availability>
         </publicationStmt>
         <seriesStmt>
            <p>Linked Early Modern Drama Online</p>
         </seriesStmt>
         <sourceDesc>
            <p>TEI Customization created by <name ref="#HOLM1">Martin Holmes</name>, <name ref="#TAKE1">Joey Takeda</name>, and <name ref="#JENS1">Janelle Jenstad</name>; documentation written by members of the <name ref="#LEMD1">LEMDO Team</name>
            </p>
         </sourceDesc>
      </fileDesc>
      <profileDesc copyOf="#">
         <textClass>
            <catRef scheme="#emdDocumentTypes" target="TAXO1.xml#ldtBornDigDocumentation"/>
            <catRef scheme="#emdDocumentTypes" target="TAXO1.xml#ldtBornDig"/>
         </textClass>
      </profileDesc>
      <tei:encodingDesc xmlns:tei="http://www.tei-c.org/ns/1.0">
         <p>Encoded in TEI P5 according to the LEMDO Customization and Encoding Guidelines</p>
         <editorialDecl>
            <p>n/a</p>
         </editorialDecl>
         <tei:constraintDecl scheme="schematron" queryBinding="xslt2">
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="tei"
                    uri="http://www.tei-c.org/ns/1.0"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="xs"
                    uri="http://www.w3.org/2001/XMLSchema"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="rng"
                    uri="http://relaxng.org/ns/structure/1.0"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="rna"
                    uri="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="sch"
                    uri="http://purl.oclc.org/dsdl/schematron"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="sch1x"
                    uri="http://www.ascc.net/xml/schematron"/>
         </tei:constraintDecl>
         <classDecl>
            <taxonomy copyOf="TAXO1.xml#emdDocumentTypes" xml:id="emdDocumentTypes">
               <desc>
                  <term>Document Types</term>
                  <gloss>All documents in LEMDO are either <soCalled>born-digital</soCalled>
                     documents or <soCalled>primary</soCalled> documents. Within those two general
                     categories, LEMDO offers additional ways to categorize a file.</gloss>
               </desc>
               <category copyOf="TAXO1.xml#ldtBornDig" xml:id="ldtBornDig">
                  <catDesc>
                     <term>Born-digital</term>
                     <gloss>Born-digital documents are anything other than primary texts</gloss>
                  </catDesc>
                  <category copyOf="TAXO1.xml#ldtBornDigDocumentation"
                            xml:id="ldtBornDigDocumentation">
                     <catDesc>
                        <term>Documentation</term>
                        <gloss>Encoding and editorial guidelines; programming, processing, and
                           rendering instructions; how-to instructions; element descriptions; and
                           records of remediation.</gloss>
                     </catDesc>
                  </category>
               </category>
            </taxonomy>
            <taxonomy copyOf="TAXO1.xml#emdRespTaxonomy" xml:id="emdRespTaxonomy">
               <desc>
                  <term>Responsibilities</term>
                  <gloss>Responsibilities</gloss>
               </desc>
               <category copyOf="TAXO1.xml#pdr"
                         xml:id="pdr"
                         corresp="http://id.loc.gov/vocabulary/relators/pdr.html">
                  <catDesc>
                     <term>Project Director</term>
                     <gloss type="marc">A person or organization with primary responsibility for all
                        essential aspects of a project, has overall responsibility for managing
                        projects, or provides overall direction to a project manager.</gloss>
                     <gloss type="emd">LEMDO uses the term project director for the person who
                        directs the LEMDO project. For anthology leads, use pbd.</gloss>
                  </catDesc>
               </category>
               <category copyOf="TAXO1.xml#prg"
                         xml:id="prg"
                         corresp="http://id.loc.gov/vocabulary/relators/prg.html">
                  <catDesc>
                     <term>Programmer</term>
                     <gloss type="marc">A person, family, or organization responsible for creating a
                        computer program.</gloss>
                     <gloss type="emd">Gloss needed.</gloss>
                  </catDesc>
               </category>
               <category copyOf="TAXO1.xml#wtm"
                         xml:id="wtm"
                         corresp="http://id.loc.gov/vocabulary/relators/wtm.html">
                  <catDesc>
                     <term>Technical Writer</term>
                     <gloss type="marc">Writer of Technical Material: A person responsible for
                        writing or compiling documentation of the project’s editorial, encoding, and
                        programming practices.</gloss>
                  </catDesc>
               </category>
            </taxonomy>
         </classDecl>
      </tei:encodingDesc>
      <revisionDesc status="prgGenerated">
         <change who="#HOLM1" when="2026-03-20">Automatically generated this file by 
                        extracting its content from lemdo.lite.odd.</change>
      </revisionDesc>
   </teiHeader>
   <standOff>
      <listPerson>
         <person xml:id="ELHA1" copyOf="PERS1.xml#ELHA1">
            <persName>
               <reg>Tracey El Hajj</reg>
               <forename>Tracey</forename>
               <surname>El Hajj</surname>
            </persName>
            <note>
               <p>Junior Programmer 2019–2020. Research Associate 2020–2021. Tracey received her PhD from the Department of English at the University of Victoria in the field of Science and Technology Studies. Her research focuses on the <term>algorhythmics</term> of networked communications. She was a 2019–2020 President’s Fellow in Research-Enriched Teaching at UVic, where she taught an advanced course on <title level="a">Artificial Intelligence and Everyday Life.</title> Tracey was also a member of the <title level="m">Map of Early Modern London</title> team, between 2018 and 2021. Between 2020 and 2021, she was a fellow in residence at the Praxis Studio for Comparative Media Studies, where she investigated the relationships between artificial intelligence, creativity, health, and justice. As of July 2021, Tracey has moved into the alt-ac world for a term position, while also teaching in the English Department at the University of Victoria.</p>
            </note>
         </person>
         <person xml:id="GALL2" copyOf="PERS1.xml#GALL2">
            <persName>
               <reg>Mahayla Galliford</reg>
               <forename>Mahayla</forename>
               <surname>Galliford</surname>
            </persName>
            <note>
               <p>Project manager, 2025-present; research assistant, 2021-present. Mahayla Galliford (she/her) graduated with a BA (Hons with distinction) from the University of Victoria in 2024. Mahayla’s undergraduate research explored early modern stage directions and civic water pageantry. Mahayla continues her studies through UVic’s English MA program and her SSHRC-funded thesis project focuses on editing and encoding girls’ manuscripts, specifically Lady Rachel Fane’s dramatic entertainments, in collaboration with LEMDO.</p>
            </note>
         </person>
         <person xml:id="HOLM1" copyOf="PERS1.xml#HOLM1">
            <persName>
               <reg>Martin Holmes</reg>
               <forename>Martin</forename>
               <surname>Holmes</surname>
            </persName>
            <note>
               <p>Martin Holmes has worked as a developer in the UVic’s Humanities Computing and Media Centre for over two decades, and has been involved with dozens of Digital Humanities projects. He has served on the TEI Technical Council and as Managing Editor of the Journal of the TEI. He took over from Joey Takeda as lead developer on LEMDO in 2020. He is a collaborator on the SSHRC Partnership Grant led by Janelle Jenstad.</p>
            </note>
         </person>
         <person xml:id="HOUL3" copyOf="PERS1.xml#HOUL3">
            <persName>
               <reg>Navarra Houldin</reg>
               <forename>Navarra</forename>
               <surname>Houldin</surname>
            </persName>
            <note>
               <p>Training and Documentation Lead 2025–present. LEMDO project manager 2022–2025. Textual remediator 2021–present. Navarra Houldin (they/them) completed their BA with a major in history and minor in Spanish at the University of Victoria in 2022. Their primary research was on gender and sexuality in early modern Europe and Latin America. They are continuing their education through an MA program in Gender and Social Justice Studies at the University of Alberta where they will specialize in Digital Humanities.</p>
            </note>
         </person>
         <person xml:id="JENS1" copyOf="PERS1.xml#JENS1">
            <persName>
               <reg>Janelle Jenstad</reg>
               <forename>Janelle</forename>
               <surname>Jenstad</surname>
            </persName>
            <note>
               <p>Janelle Jenstad is a Professor of English at the University of Victoria, Director of <ref target="https://mapoflondon.uvic.ca">The Map of Early Modern London</ref>, and Director of <ref target="https://lemdo.uvic.ca">Linked Early Modern Drama Online</ref>. With Jennifer Roberts-Smith and Mark Beatrice Kaethler, she co-edited <title level="m">Shakespeare’s Language in Digital Media: Old Words, New Tools</title> (Routledge). She has edited John Stow’s <title level="m">A Survey of London</title> (1598 text) for MoEML and is currently editing <title level="m">The Merchant of Venice</title> (with Stephen Wittek) and Heywood’s <title level="m">2 If You Know Not Me You Know Nobody</title> for DRE. Her articles have appeared in <title level="j">Digital Humanities Quarterly</title>, <title level="j">Elizabethan Theatre</title>, <title level="j">Early Modern Literary Studies</title>, <title level="j">Shakespeare Bulletin</title>, <title level="j">Renaissance and Reformation</title>, and <title level="j">The Journal of Medieval and Early Modern Studies</title>. She contributed chapters to <title level="m">Approaches to Teaching Othello</title> (MLA); <title level="m">Teaching Early Modern Literature from the Archives</title> (MLA); <title level="m">Institutional Culture in Early Modern England</title> (Brill); <title level="m">Shakespeare, Language, and the Stage</title> (Arden); <title level="m">Performing Maternity in Early Modern England</title> (Ashgate); <title level="m">New Directions in the Geohumanities</title> (Routledge); <title level="m">Early Modern Studies and the Digital Turn</title> (Iter); <title level="m">Placing Names: Enriching and Integrating Gazetteers</title> (Indiana); <title level="m">Making Things and Drawing Boundaries</title> (Minnesota); <title level="m">Rethinking Shakespeare Source Study: Audiences, Authors, and Digital Technologies</title> (Routledge); and <title level="m">Civic Performance: Pageantry and Entertainments in Early Modern London</title> (Routledge). For more details, see <ref target="https://janellejenstad.com/">janellejenstad.com</ref>.</p>
            </note>
         </person>
         <person xml:id="TAKE1" copyOf="PERS1.xml#TAKE1">
            <persName>
               <reg>Joey Takeda</reg>
               <forename>Joey</forename>
               <surname>Takeda</surname>
            </persName>
            <note>
               <p>Joey Takeda is LEMDO’s Consulting Programmer and Designer, a role he assumed in 2020 after three years as the Lead Developer on LEMDO.</p>
            </note>
         </person>
         <person xml:id="ANON1" copyOf="PROS1.xml#ANON1">
            <persName>
               <reg>Anonymous</reg>
            </persName>
         </person>
      </listPerson>
      <listOrg>
         <org xml:id="LEMD1" copyOf="ORGS1.xml#LEMD1">
            <orgName>
               <reg>LEMDO Team</reg>
            </orgName>
            <note>The LEMDO Team is based at the University of Victoria and normally comprises the project director, the lead developer, project manager, junior developers(s), remediators, encoders, and remediating editors.</note>
         </org>
      </listOrg>
   </standOff>
   <text>
      <body>
         <div ana="audRepoUser audEncoder audRemediator">
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_prior">
               <head>Prior Reading</head>
               <list rend="bulleted">
                  <item>
                     <title level="a"><ref target="learn_schematronErrors.xml">Schematron and Validation Errors</ref></title>
                  </item>
               </list>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_rationale">
               <head>Rationale</head>
               <p>Although many errors can be caught by Schematron in Oxygen, some errors are not. In some cases, this is because Oxygen’s validator is incapable of checking for a specific issue, as in the case of duplicate xml:ids occurring in different files. In other cases, it is because we do not want the build to break over an error, typically because there are too many instances of the error to easily fix, as in the case of <soCalled>old TLN links</soCalled>. No matter the reason that they are not picked up as errors by Schematron, we can catch these issues using our general LEMDO diagnostics.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_practice">
               <head>Practice: Check LEMDO Diagnostics</head>
               <p>Navigate to LEMDO diagnostics from the LEMDO-dev site by clicking on the <quote>Resources</quote> tab in the top navigation bar and selecting <quote>Diagnostics</quote>. This will bring you the the LEMDO Diagnostics page.</p>
               <p>Diagnostics are under the automatically-open <quote>Consistency Checks</quote> tab of the LEMDO Diagnostics Web page. Each diagnostic has its own collapsable tab. Those that do not currently find any errors across the LEMDO repository are coloured green and have the number zero in brackets beside the diagnostic name. Those that do find errors are coloured red and have the number of errors found by diagnostics in brackets beside the diagnostic name.</p>
               <p>You can filter the diagnostics to only show errors from your edition by typing <quote>emd</quote> followed by your edition abbreviation in the filter text box and clicking <quote>Filter</quote>. For example, if you were working on the <title level="m">H5</title> edition, you would type <quote>emdH5</quote> into the filter text box. You can also search for diagnostics in a specific file by typing the full file name into the filter text box.</p>
               <p>For instructions for fixing diagnostic errors, see the relevant section below on the type of error that you wish to fix.</p>
               <p>In addition to the consistency checks, there is a statistics section of the diagnostics Web page. The statistics include counts of files in the LEMDO repository, of total xml:ids across the repo, and of the number of facsimile files that we have stored on our facsimile server.</p>
            </div>
            
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_broken">
               <head>Files Containing Bad Facsimile Links Diagnostic</head>
               <p>LEMDO stores facsimile images on an HCMC server. We create XML files in the <ident>facs</ident> folder the the LEMDO repo in order to encode the metadata for the images and to give each image an xml:id. LEMDO editors and encoders can then point to facsimile images from their semi-diplomatic transcription files. Because this linking process is relatively complex, there are sometimes errors in linking from the LEMDO repo to the server containing the facsimile images. This diagnostic catches these errors by finding links to images that do not exist.</p>
               <p>If you are working on facsimile files in the <ident>facs</ident> folder, you should regularly check this diagnostic to ensure you do not introduce any errors.</p>
               <p>If there is an error in this diagnostic (i.e., a non-existant facsimile file has been linked to), you must correct the values for the <att>url</att> attributes on the <ref target="lemdo_spec_graphic.xml"><gi>graphic</gi></ref> elements of your facsimile file. Follow the instructions in <title level="a"><ref target="learn_facsEncode.xml">Encode Images in Facsimile Files</ref></title>.</p>
               <p>If you cannot find the error, check the value of the <att>url</att> attribute against the URI of the facsimile images on the facsimile server. To navigate to the facsimile server, click the <quote>Resources</quote> tab on the top navigation bar of the LEMDO-dev website and select <quote>Facsimiles</quote>. Click on the link for the copy that you are working with to be brought to a list of the relevant URIs.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_badInternalLinks">
               <head>Bad Internal Links Diagnostics</head>
               <p>LEMDO has two diagnostics for bad internal links: an urgent diagnostic and a non-urgent diagnostic. Both find broken internal links (i.e., links from a LEMDO file to an entity within the LEMDO repo). The urgent diagnostic highlights errors in files with statuses indicating they are close to publication. The non-urgent diagnostic finds internal link errors in all other LEMDO files.</p>
               <p>Under the bad internal link diagnostic, each file with one or more bad link is listed along with the link that is broken. To fix the bad link, go to the file that contains it and search for the bad link. Fix the link following the instructions for encoding links as given in <ref target="learn_makingLinks.xml">Chapter 5. Making Links</ref>.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_externalAnchors">
               <head>Pointers to External Anchors Diagnostic</head>
               <p>While using a pointer to link to an anchor in another edition is not forbidden, it is not as stable as linking to structural entities. In most cases when linking from one edition to another, you should link to structural elements with xml:ids (such as acts, scenes, speeches, or paragraphs) rather than <ref target="lemdo_spec_anchor.xml"><gi>anchor</gi></ref> elements which may be removed.</p>
               <p>To resolve this diagnostic, search in your file for the anchor ID that is linked to and replace it with a link to a structural entity following the directions in <title level="a"><ref target="learn_linkRef.xml">Encode Reference Links</ref></title>.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_missingSpeaker">
               <head>Missing Speaker Elements Diagnostic</head>
               <p>All speeches in modernized texts should have a speech prefix encoded using the <ref target="lemdo_spec_speaker.xml"><gi>speaker</gi></ref> element. This diagnostic finds speeches in modernized texts that do not have speech prefixes. (Note that some speeches in semi-diplomatic transcriptions do not have speech prefixes.)</p>
               <p>To resolve this diagnostic, add speech prefixes to your modernized text where they are missing. See <title level="a"><ref target="learn_encodeSpeaker.xml">Encode Speakers in Modernized Texts</ref></title>.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_missingAuthor">
               <head>Texts Lacking Authors Diagnostic</head>
               <p>All semi-diplomatic and modernized texts should have an author identified in their metadata. This diagnostic identifies plays, shows, and poems that do not have a <ref target="lemdo_spec_respStmt.xml"><gi>respStmt</gi></ref> for an author in their <ref target="lemdo_spec_titleStmt.xml"><gi>titleStmt</gi></ref> elements.</p>
               <p>To add an author to the metadata for your file, follow the instructions in <title level="a"><ref target="learn_metadataRespStmt.xml">Encode Responsibility Statements</ref></title>. In cases where the work’s author is unknown, add a <ref target="lemdo_spec_respStmt.xml"><gi>respStmt</gi></ref> for the author and link to the <soCalled>Anonymous</soCalled> entry in PROS1 as follows: <egXML xmlns="http://www.tei-c.org/ns/Examples" valid="true">
                     <respStmt>
                        <resp ref="resp:aut">Author</resp>
                        <persName ref="pros:ANON1">Anonymous</persName>
                     </respStmt>
                  </egXML>
               </p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_sillyDivs">
               <head>Silly Div Types Diagnostic</head>
               
               <p>The <ref target="lemdo_spec_div.xml"><gi>div</gi></ref> element has some <att>type</att> values that are expected by our processor. All other values are caught by this diagnostic. In cases where the <att>type</att> value is not used by our processor or useful to their texts, remove the <att>type</att> value.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_oldTLNs">
               <head>Old TLN Links Diagnostic</head>
               <p>Files that began as IML files that have not been completely remediated have links to targets beginning with <val>tln:</val>. These correspond to the old <soCalled>through line numbers</soCalled> used by the <title level="m">Internet Shakespeare Editions</title>. Old TLN links will be removed during the remediation process. Remediators should delete links to TLNs once they have replaced them with functioning links to the LEMDO edition.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_badDocumentationResps">
               <head>Bad Documentation Resp Pointers Diagnostic</head>
               <p>We give credit to the people who have worked on documentation using the <att>resp</att> attribute on the root <ref target="lemdo_spec_div.xml"><gi>div</gi></ref> element of documentation files. All <att>resp</att> values in documentation must link to a <ref target="lemdo_spec_respStmt.xml"><gi>respStmt</gi></ref> element in the ODD file (<ident>lemdo.odd</ident>) and must prefixed by <val>or:</val> (e.g., <val>or:odd_JENS1_wtm</val>).</p>
               <p>To fix this error, check that all <att>resp</att> values match a <ref target="lemdo_spec_respStmt.xml"><gi>respStmt</gi></ref> in the ODD file. If there is not a <ref target="lemdo_spec_respStmt.xml"><gi>respStmt</gi></ref> for the person that you are giving credit to, ask a member of the LEMDO team with read/write permissions over the ODD file to add the <ref target="lemdo_spec_respStmt.xml"><gi>respStmt</gi></ref>. For more information, see <title level="a"><ref target="learn_docEncode_credit.xml">Give Credit for Documentation Files</ref></title>.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_unlinkedDocumentation">
               <head>Unlinked Documentation Files Diagnostic</head>
               <p>LEMDO has a large collection of documentation that is only included in our <title level="a">Encoding Guidelines</title> if they are linked to from the ODD file (<ident>lemdo.odd</ident>). We do not want to have lots of documentation files in the repo that are not linked to from the ODD file. If there is a documentation file in the repo that is not linked to from the ODD file, this diagnostic will flag it.</p>
               <p>To clear this diagnostic, either link to documentation files from the ODD file or move deprecated documentation files to the <ident>data/obsolete/oldDocumentation</ident> folder. To avoid this diagnostic error, we recommend writing content for new documentation files as soon as you create them so that they are ready to add to the ODD file as soon as they are added to the repo.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_role">
               <head>Links Using the Role: Prefix to Empty Roles Diagnostic</head>
               <p>LEMDO allows links from apparatus texts and critical paratexts to characters in character lists. To make these links, encoders use a <ref target="lemdo_spec_ref.xml"><gi>ref</gi></ref> element with a <att>target</att> attribute. The value of the <att>target</att> attribute must be prefaced by <val>role:</val> and must link to a <ref target="lemdo_spec_person.xml"><gi>person</gi></ref> element in a character list.</p>
               <p>The intention of these links to characters in character lists is to provide additional information or context about the character by linking to the place where their character note is. There is no point in linking to a <ref target="lemdo_spec_person.xml"><gi>person</gi></ref> element that does not have a child <ref target="lemdo_spec_note.xml"><gi>note</gi></ref> element with information about the character. In those cases, this diagnostic flags the redundant link.</p>
               <p>To clear this diagnostic, simply remove the link to the cast list.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_linkChain">
               <head>Broken Link Chains Diagnostic</head>
               <p>When we have split elements (e.g., a quote that spans multiple verse lines, so must be split into multiple <ref target="lemdo_spec_quote.xml"><gi>quote</gi></ref> elements), we use the <att>next</att> and <att>prev</att> attributes to link to the other parts of the element. If the links do not correctly go to an xml:id either before or after the element, this diagnostic will flag it. For more information, see <title level="a"><ref target="learn_encodeSplitElements.xml">Encode Split Elements</ref></title>.</p>
               <p>To resolve this diagnostic, check that the numbering is correct for each part of the split element. Then, check that the value of each <att>prev</att> and <att>next</att> attribute links to an existing xml:id.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_badXmlLang">
               <head>Tags with Bad <att>xml:lang</att> Values</head>
               <p>LEMDO tags foreign languages using the <att>xml:lang</att> attribute. There are a set of allowed values for the <att>xml:lang</att> attribute which the LEMDO team curates in our ODD file. Each value corresponds with an <ref target="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">IANA value</ref> for a specific language. For more information on encoding foreign languages, see <title level="a"><ref target="learn_encodeForeignLanguages.xml">Encode Foreign Languages</ref></title>.</p>
               <p>To resolve this diagnostic, ensure that the value you give the <att>xml:lang</att> attribute is one of the ones listed in the dropdown when you add the <att>xml:lang</att> attribute in Oxygen. You can also this list in a table in <title level="a"><ref target="learn_encodeForeignLanguages.xml#learn_encodeForeignLanguages_IANA">IANA Values for Specific Languages</ref></title>. If you are encoding text in a language that is not included in our allowed languages list, contact the <ref target="mailto:lemdo@uvic.ca">LEMDO team</ref> to have the language added.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_duplicate">
               <head>Duplicate Bibls Diagnostic</head>
               <p>The LEMDO bibliography serves all the anthologies and editions therein. As a consquence, there are thousands of entries spread across the 26 BIBL1 files (<ident>BIBL1_A</ident>, <ident>BIBL1_B</ident>, and so on), which are regularly updated and expanded by the LEMDO RAs. We have occasionally created a duplicate entry. This diagnostic uses a similarity metric to check the <ident>BIBL1</ident> files and flag <ref target="lemdo_spec_bibl.xml"><gi>bibl</gi></ref> entries that appear to be similar. If you are an RA checking the general diagnostics report, you’ll want to clear this diagnostic regularly so that you catch duplicates shortly after the second one has been created.</p>
               <p>If two entries do refer to the same source, search the repository to see which xml:id has been cited the most often in <ref target="lemdo_spec_ref.xml"><gi>ref</gi></ref> elements. If are checking Diagnostics regularly, you’ll normally find that the duplicate id has been used just once or twice. Standardize the <ref target="lemdo_spec_ref.xml"><gi>ref</gi></ref>s so that they all point to the most-used xml:id. Delete the duplicate <ref target="lemdo_spec_bibl.xml"><gi>bibl</gi></ref>.</p>
               <p>If the diagnostic has flagged two similiar entries that are <emph>not</emph> duplicates, we have a mechanism for telling the similarity metric to ignore pairs (or trios) of entries. Add a <att>corresp</att> attribute to the <ref target="lemdo_spec_bibl.xml"><gi>bibl</gi></ref> element of each one. The value of the <att>corresp</att> attribute is <val>not:</val> followed by the xml:id of the entry: e.g., <val>not:CONN2</val>. Note that the <att>corresp</att> can have multiple space-separated values.</p>
               <p>In the examples below, the similarity metric has flagged three editions contributed by Francis X. Connor to the <title level="m">New Oxford Shakespeare</title>. To each entry, we have added the <att>corresp</att> attribute to indicate that the entry is <emph>not</emph> a duplicate of either of the other two. <egXML xmlns="http://www.tei-c.org/ns/Examples" valid="false">
                     <bibl xml:id="CONN3" corresp="not:CONN2 not:CONN10">
                        <editor>Connor, Francis X.</editor>, ed. <title level="m">Lucrece</title>. By <author>William Shakespeare</author>. <title level="m">The New Oxford Shakespeare</title>. Ed. <editor>Gary Taylor</editor>, <editor>John Jowett</editor>, <editor>Terri Bourus</editor>, and <editor>Gabriel Egan</editor>. <pubPlace>Oxford</pubPlace>: <publisher>Oxford University Press</publisher>, <date>2016</date>. 673–721. WSB <idno type="WSB">aaag2304</idno>.</bibl>
                  </egXML>
                  <egXML xmlns="http://www.tei-c.org/ns/Examples" valid="false">
                     <bibl xml:id="CONN10" corresp="not:CONN3 not:CONN2">
                        <editor>Connor, Francis X.</editor>, ed. <title level="m">The Tragedy of Coriolanus</title>. By <author>William Shakespeare</author>. <title level="m">The New Oxford Shakespeare</title>. Ed. <editor>Gary Taylor</editor>, <editor>John Jowett</editor>, <editor>Terri Bourus</editor>, and <editor>Gabriel Egan</editor>. <pubPlace>Oxford</pubPlace>: <publisher>Oxford University Press</publisher>, <date>2016</date>. 2723–2813. WSB <idno type="WSB">aaag2304</idno>.</bibl>
                  </egXML>
                  <egXML xmlns="http://www.tei-c.org/ns/Examples" valid="false">
                     <bibl xml:id="CONN2" corresp="not:CONN3 not:CONN10">
                        <editor>Connor, Francis X.</editor>, ed. <title level="m">Venus and Adonis</title>. By <author>William Shakespeare</author>. <title level="m">The New Oxford Shakespeare</title>. Ed. <editor>Gary Taylor</editor>, <editor>John Jowett</editor>, <editor>Terri Bourus</editor>, and <editor>Gabriel Egan</editor>. <pubPlace>Oxford</pubPlace>: <publisher>Oxford University Press</publisher>, <date>2016</date>. 639–672. WSB <idno type="WSB">aaag2304</idno>.</bibl>
                  </egXML>
               </p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_oldIMLchars">
               <head>Unknown Old IML Characaters Diagnostic</head>
               <p>When files were converted from IML to TEI, some special characters were not transformed into TEI. These characters were not recognized in the transformation, and so flag a diagnostic for us to resolve as part of remediation.</p>
               <p>To resolve this diagnostic, open the file that the old IML character is in and search for it using Ctrl+F (Cmd+F on Mac). Check the transcription agains the facsimile of the text and add the correct character. For information on encoding glyphs and ligatures in TEI, see <title level="a"><ref target="learn_encodeGlyphs.xml">Encode Glyphs and Ligatures in Semi-Diplomatic Transcriptions</ref></title>.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_persName">
               <head>Files Containing TEI <gi>persName</gi> Elements without <att>ref</att> Attributes Diagnostic</head>
               <p>LEMDO uses the <ref target="lemdo_spec_persName.xml"><gi>persName</gi></ref> element to identify people. In order to identify them, we put a <att>ref</att> attribute on <ref target="lemdo_spec_persName.xml"><gi>persName</gi></ref> linking to either PERS1 (for contributors to LEMDO) or PROS1 (for historical people). Our processor cannot do anything with a <ref target="lemdo_spec_persName.xml"><gi>persName</gi></ref> element that has no <att>ref</att> attribute. This diagnostic finds instances of <ref target="lemdo_spec_persName.xml"><gi>persName</gi></ref> elements with no <att>ref</att> attribute.</p>
               <p>To resolve this diagnostic, add <att>ref</att> attributes to all <ref target="lemdo_spec_persName.xml"><gi>persName</gi></ref> elements. If the person is a LEMDO contributor, give <att>ref</att> a value of <val>pers:</val> followed by the person’s xml:id as given in PERS1. If the person is historical, give <att>ref</att> a value of <val>pros:</val> followed by the person’s xml:id as given in PROS1. If the person does not already have an xml:id in PERS1 or PROS1, contact the <ref target="mailto:lemdo@uvic.ca">LEMDO team</ref> to add one.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:id="learn_generalDiagnostics_ptrToHeadlessDiv">
               <head>LocalCit Pointers to Divs without Heads Diagnostic</head>
               <p>LEMDO only uses the <ref target="lemdo_spec_ptr.xml"><gi>ptr</gi></ref> element to link to acts, scenes, speeches, and stage directions (A.S.Sp. and A.S.SD. in modernized texts and semi-diplomatic transcriptions or to <ref target="lemdo_spec_div.xml"><gi>div</gi></ref> elements that have child <ref target="lemdo_spec_head.xml"><gi>head</gi></ref> elements. In cases where a <ref target="lemdo_spec_ptr.xml"><gi>ptr</gi></ref> link points to a <ref target="lemdo_spec_div.xml"><gi>div</gi></ref> element, this diagnostic checks that the <ref target="lemdo_spec_div.xml"><gi>div</gi></ref> has a child <ref target="lemdo_spec_head.xml"><gi>head</gi></ref>. If it does not, it will flag a diagnostic error.</p>
               <p>To resolve this diagnostic, ensure that you are only using the <ref target="lemdo_spec_ptr.xml"><gi>ptr</gi></ref> as allowed in the LEMDO project: use it only to link within your edition and only use it to link to acts, scenes, speeches, stage directions, or <ref target="lemdo_spec_div.xml"><gi>div</gi></ref> elements that have a <ref target="lemdo_spec_head.xml"><gi>head</gi></ref>. If you have linked to a <ref target="lemdo_spec_div.xml"><gi>div</gi></ref> without a <ref target="lemdo_spec_head.xml"><gi>head</gi></ref>, add a <ref target="lemdo_spec_head.xml"><gi>head</gi></ref> element. This will not only clear the diagnostic, but will also make the rendered page more easily navigable and will add the <ref target="lemdo_spec_div.xml"><gi>div</gi></ref> to the page’s table of contents.</p>
               <p>For information about when to use the <ref target="lemdo_spec_ptr.xml"><gi>ptr</gi></ref> element, see <title level="a"><ref target="learn_chooseLinkingMech.xml">Choose Linking Mechanisms</ref></title>. For information about making links with the <ref target="lemdo_spec_ptr.xml"><gi>ptr</gi></ref> element, see <title level="a"><ref target="learn_linkPtr.xml">Encode Pointer Links</ref></title>.</p>
            </div>
            
         </div>
      </body>
   </text>
</TEI>
