I just try to validate example file from
https://wiki.crosswire.org/TEI_Dictionaries and I got warnings:
$ wget http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd
$ xmllint --noout --schema teiP5osis.2.5.0.xsd file.tei.xml
http://www.crosswire.org/OSIS/dcr.xsd:3: element import: Schemas parser
warning : Element '{http://www.w3.org/2001/XMLSchema}import': Skipping
import of schema located at '
http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd' for the namespace '
http://www.crosswire.org/2013/TEIOSIS/namespace', since this namespace was
already imported with the schema located at 'teiP5osis.2.5.0.xsd'.
http://www.crosswire.org/OSIS/examples.xsd:4: element import: Schemas
parser warning : Element '{http://www.w3.org/2001/XMLSchema}import':
Skipping import of schema located at '
http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd' for the namespace '
http://www.crosswire.org/2013/TEIOSIS/namespace', since this namespace was
already imported with the schema located at 'teiP5osis.2.5.0.xsd'.
Is there a schema that does not produce such warnings?
BR,
Zdenko
On Wed, 10 Apr 2019 at 08:01, Peter von Kaehne <ref...@gmx.net> wrote:
> I am trying to validate a couple of new TEI modules and am getting
> error messages which seem to refer to our schema and not to the module
> I am trying to test. But frankly, this is way above my head.
>
>
> peter@peterdell:~/Biblestuff/clean/frebailly$ xmllint --noout --schema
> http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd frebailly.tei.xml
> http://www.crosswire.org/OSIS/examples.xsd:10: element complexType:
> Schemas parser error : local complex type: The content model is not
> determinist.
> http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd:16645: element
> complexType: Schemas parser error : local complex type: The content
> model is not determinist.
> http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd:16834: element
> complexType: Schemas parser error : local complex type: The content
> model is not determinist.
> WXS schema http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd failed to
> compile
>
> Any suggestions?
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
<?xml version="1.0" encoding="utf-8"?>
<!-- https://wiki.crosswire.org/TEI_Dictionaries -->
<TEI xmlns="http://www.crosswire.org/2013/TEIOSIS/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.crosswire.org/2013/TEIOSIS/namespace
http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd">
<teiHeader>
<fileDesc>
<titleStmt>
<title>A title statement about the electronic text</title>
</titleStmt>
<publicationStmt>
<p>Information on the publication of the electronic text.</p>
</publicationStmt>
<sourceDesc>
<p>A bibliographic description of the source for the electronic text.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<entryFree sortKey="AARON">
<def>The son of Amram and Jochebed, and the older brother of Moses and Miriam.</def>
</entryFree>
<entryFree sortKey="ABADDON">
<def>Destroyer, the name given to the king of the hosts represented by the locusts.</def>
</entryFree>
<entryFree n="H0002|אב">
<title>H2</title>
<orth>אב</orth>
<orth type="trans" rend="bold">'ab</orth>
<pron rend="italic">ab</pron>
<lb/>
<def>(Chaldee); corresponding to <ref target="Strong:H0001">H1</ref>: - father.</def>
</entryFree>
<entryFree sortKey="A" split="A|A per se">
<form type="headword">
<orth rend="bold">A</orth>
</form>
<pron>(<hi rend="italic">named ā in the English, and most commonly ä in other languages</hi>)</pron>. <def>The first letter of the English and of many other alphabets. The capital A of the alphabets of Middle and Western Europe, as also the small letter (a), besides the forms in Italic, black letter, etc., are all descended from the old Latin A, which was borrowed from the Greek <name type="biologicalSpecies" rend="italic">
<ref target="alpha">Alpha</ref>
</name>, of the same form; and this was made from the first letter (�) of the Phœnician alphabet, the equivalent of the Hebrew <hi rend="italic">Aleph</hi>, and itself from the Egyptian origin. The <hi rend="italic">Aleph</hi> was a consonant letter, with a guttural breath sound that was not an element of Greek articulation; and the Greeks took it to represent their vowel <hi rend="italic">Alpha</hi> with the ä sound, the Phœnician alphabet having no vowel symbols.</def>
<lb/>
This letter, in English, is used for several different vowel sounds. See <hi rend="italic">Guide to pronunciation</hi>, §§ 43-74. The regular long <hi rend="italic">a</hi>, as in <hi rend="italic">fate</hi>, etc., is a comparatively modern sound, and has taken the place of what, till about the early part of the 17th century, was a sound of the quality of ä (as in <hi rend="italic">far</hi>).<lb/>
<sense n="2">
<num type="sense">2.</num>
<seg type="specialization" rend="italic">(Mus.)</seg>
<def>The name of the sixth tone in the model major scale (that in C), or the first tone of the minor scale, which is named after it the scale in A minor. The second string of the violin is tuned to the A in the treble staff. — A sharp (A♯) is the name of a musical tone intermediate between A and B. — A flat (A♭) is the name of a tone intermediate between A and G.</def>
</sense>
<lb/>
<re type="colloc" rend="smaller">
<term type="colloc" rend="bold smaller">A per se</term>
<etym>(L. <oVar rend="italic">per se</oVar> by itself)</etym>, <def rend="narrow-spacing">one preëminent; a nonesuch.</def>
<usg rend="italic"/>
</re>
<lb/>
<cit type="quotation">
<quote>O fair Creseide, the flower and <oVar rend="italic">A per se</oVar>
<lb/>
Of Troy and Greece.<lb/>
<hi rend="text-align(right)">
<persName type="author" rend="italic">Chaucer.</persName>
</hi>
</quote>
</cit>
<lb/>
</entryFree>
</body>
</text>
</TEI>
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page