[Koha] Help with documentation errors

Bernardo Gonzalez Kriegel bgkriegel at gmail.com
Wed Nov 21 10:44:33 NZDT 2012


Nicole,
xmllint report a similar error:
xmllint --valid --noout manual.xml
I/O error : encoder error
manual.xml:41554: parser error : Premature end of data in tag
programlisting line 41554
        system:<programlisting>host:
                                     ^
manual.xml:41554: parser error : Premature end of data in tag para line
41553
        system:<programlisting>host:
                                     ^
manual.xml:41554: parser error : Premature end of data in tag section line
41527
        system:<programlisting>host:
                                     ^
manual.xml:41554: parser error : Premature end of data in tag appendix line
41521
        system:<programlisting>host:
                                     ^
manual.xml:41554: parser error : Premature end of data in tag book line 4
        system:<programlisting>host:
                                     ^
but, if you change the encoding to "UTF-8",
diff manual.xml manual.utf8.xml
1c1
< <?xml version="1.0" encoding="US-ASCII"?>
---
> <?xml version="1.0" encoding="UTF-8"?>

then there is no more error,
There must be a non obvious char that is doing the mess.

Regards,
Bernardo

-- 
Bernardo Gonzalez Kriegel
bgkriegel at gmail.com



On Tue, Nov 20, 2012 at 3:41 PM, Nicole Engard <nengard at gmail.com> wrote:

> On Tue, Nov 20, 2012 at 1:29 PM, Chris Cormack <chrisc at catalyst.net.nz
> >wrote:
>
> > I don't see any encoding errors just invalid xml, caused by missing tags
> > or badly formed entities.
>
>
> And can you tell me what those missing tags or badly formed entities are?
> I see properly nested tags in the 3.8 english manual - in fact they're
> identical to the 3.10 manual at that line and it's not throwing errors.
>
> Nicole
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list