<div>Hi Tobias,<caret></caret></div><div><br></div><div><br></div><div>OSIS Modules submitted for release by CrossWire should always be validated prior to submission. They would be rejected if the XML cannot be validated to one of the OSIS schemas that SWORD supports. All the more so if the input file fails to pass an XML syntax check. </div><div><br></div><div>CrossWire has no control over the preparation of modules for the associated repositories such as eBible.org</div><div><br></div><div>Such errors should be reported to the repository owner, in this case Kahunapule Michael Paul Johnson. </div><div>He is a member of this mailing list. </div><div><br></div><div>Best regards,</div><div><br></div><div>David</div><div><br></div><div id="protonmail_mobile_signature_block"><div>Sent from ProtonMail Mobile</div></div> <div><br></div><div><br></div>On Wed, Jul 17, 2019 at 07:13, Tobias Klein <<a href="mailto:contact@tklein.info" class="">contact@tklein.info</a>> wrote:<blockquote class="protonmail_quote" type="cite">
<p>Hi everyone,</p>
<p>Is there a recommended way on how to deal with invalid markup (in
a frontend) when using the text from a Sword module?</p>
<p>To me invalid markup is basically invalid XML.<br>
You find an example below (Exodus 3:22 / engNET2016eb).<br>
<br>
Are Sword modules validated with standard XML validation tools
before being published?<br>
</p>
<p>Best regards,<br>
Tobias<br>
<br>
</p>
<p>Module: engNET2016eb</p>
<p>Mark-up text of Exodus 3:22 (module->getRawEntry()):</p>
<p><font size="-1"><w lemma="strong:H802">Every</w>
<w lemma="strong:H802">woman</w> <w
lemma="strong:H7592">will ask</w> <w
lemma="strong:H7934">her neighbor</w> <w
lemma="strong:H1481">and the one who happens to be
staying</w> <w lemma="strong:H1004">in her
house</w> <w lemma="strong:H3627">for
items</w> <w lemma="strong:H3701">of
silver</w> <w lemma="strong:H2091">and
gold</w> <w lemma="strong:H8071">and for
clothing</w>. <w lemma="strong:H7760">You will
put</w> <w lemma="strong:H3627">these
articles</w> <w lemma="strong:H5921">on</w>
<w lemma="strong:H1121">your sons</w> <w
lemma="strong:H1323">and daughters</w> <w
lemma="strong:H5337">– thus you</w><br>
<br>
INVALID section starts here:<br>
</font></p>
<p><font size="-1"><w lemma="strong:H4713">will plunder
Egypt</w><b><font color="#ff0000">!” ‘</font></b>span
class=”footnote” id=”footnote-65”<b><font color="#ff0000">’‘</font></b>span
class=”key”’65‘<br>
<w lemma="strong:H7760">a</w><b><font color="#ff0000"> </font></b>href=”#note-65”
class=”backref”’<font color="#ff0000"><b>3:19‘/a’‘</b></font>span
class=”text”’ <hi type="italic">tn</hi>: <hi
type="italic">Heb</hi> “<br>
<br>
<w lemma="strong:H1121">and</w> <w
lemma="strong:H1121">not</w> <w
lemma="strong:H1004">with</w> <w
lemma="strong:H7760">a</w> mighty hand.”<br>
...</font><br>
</p>
</blockquote><div><br></div><div><br></div>