[sword-devel] Module validation error on xmllint - what now?

Greg Hellings greg.hellings at gmail.com
Sat Jan 10 17:23:26 MST 2009


...seeing the module text at that location might help, or the whole
module text if the message doesn't give the exact location.  It looks
like it's claiming the error on line 65535 of Dari.osis.xml - which is
an unusually suspect line number, being exactly the largest line
number that can be represented by a 16-bit integer.

--Greg

On Sat, Jan 10, 2009 at 5:39 PM, Peter von Kaehne <refdoc at gmx.net> wrote:
> I am working on a new whole Bible module (Dari). I produced it from USFM
> source which was clean enough from USFM point of view - the only things
> I needed to do was removing some backup info and exchanging a deprecated
> usfm marker \ph with \li.
>
> So far so good.
>
> usfm2osis.pl and then osis2mod produce a module which seems to work just
> fine.
>
> But validation with xmllint fails. See message attached below.
>
> I can not nail the error down
>
> Can anyone give me a hint?
>
> Thanks
>
> Peter
>
> ------------------
>
> laptop:/tmp/Dari$ xmllint --noout --schema
> http://www.bibletechnologies.net/osisCore.2.1.1.xsd Dari.osis.xml
>
> Dari.osis.xml:65535: element div: Schemas validity error : Element
> '{http://www.bibletechnologies.net/2003/OSIS/namespace}div': This
> element is not expected. Expected is one of (
> {http://www.bibletechnologies.net/2003/OSIS/namespace}a,
> {http://www.bibletechnologies.net/2003/OSIS/namespace}abbr,
> {http://www.bibletechnologies.net/2003/OSIS/namespace}catchWord,
> {http://www.bibletechnologies.net/2003/OSIS/namespace}chapter,
> {http://www.bibletechnologies.net/2003/OSIS/namespace}closer,
> {http://www.bibletechnologies.net/2003/OSIS/namespace}date,
> {http://www.bibletechnologies.net/2003/OSIS/namespace}divineName,
> {http://www.bibletechnologies.net/2003/OSIS/namespace}figure,
> {http://www.bibletechnologies.net/2003/OSIS/namespace}foreign,
> {http://www.bibletechnologies.net/2003/OSIS/namespace}hi ).
> Dari.osis.xml fails to validate
>
>
> _______________________________________________
> 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
>



More information about the sword-devel mailing list