[sword-devel] TEI schema flawed?

ZdPo Ster zdposter at gmail.com
Wed Nov 9 15:09:13 EST 2022


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 <refdoc at 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 at 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 at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20221109/68e288c8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file.tei.xml
Type: text/xml
Size: 3982 bytes
Desc: not available
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20221109/68e288c8/attachment.xml>


More information about the sword-devel mailing list