Oxygen complains about <p> tag following <div tag in TEI ?
Posted: Sat Dec 25, 2010 6:42 am
Here is a sample of a simple TEI/XML document. The last <p>..</P> tag is flagged(red squiggly line) as not valid? It looks valid to me and teh TEI spec seems to say its valid?
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://www.tei-c.org/release/xml/tei/cu ... ei_all.rng" type="xml"?>
<TEI
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Title</title>
</titleStmt>
<publicationStmt>
<p>Publication Information</p>
</publicationStmt>
<sourceDesc>
<p>Information about the source</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<div>
<p>Some text here.</p>
<div></div>
<p>WHY IS THIS WRONG IN OXYGEN?</p>
</div>
</body>
</text>
</TEI>
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://www.tei-c.org/release/xml/tei/cu ... ei_all.rng" type="xml"?>
<TEI
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Title</title>
</titleStmt>
<publicationStmt>
<p>Publication Information</p>
</publicationStmt>
<sourceDesc>
<p>Information about the source</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<div>
<p>Some text here.</p>
<div></div>
<p>WHY IS THIS WRONG IN OXYGEN?</p>
</div>
</body>
</text>
</TEI>