[Koha] Help with documentation errors

Bernardo Gonzalez Kriegel bgkriegel at gmail.com
Wed Nov 21 10:59:42 NZDT 2012


Nicole,
the problem seems to be with some "spaces".
I attach a diff that fixes the problem without changing the encoding.

Regards,
Bernardo
-- 
Bernardo Gonzalez Kriegel
bgkriegel at gmail.com



On Tue, Nov 20, 2012 at 6:44 PM, Bernardo Gonzalez Kriegel <
bgkriegel at gmail.com> wrote:

> 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
>>
>
>
-------------- next part --------------
41523c41523
<     <para>Koha can be set to work with the OCLC Connextion Gateway. This allows libraries to use
---
>     <para>Koha can be set to work with the OCLC Connextion Gateway.  This allows libraries to use
41525c41525
<       click. The following instructions will help you set up the OCLC Connexion Gateway, if you
---
>       click.  The following instructions will help you set up the OCLC Connexion Gateway, if you
41554,41559c41554,41559
<         system:<programlisting>host: The IP address of your Koha server 
< port: The port you want to use for the Connexion service. This port must be different from your SIP port, or any other service 
< koha: The full URL of your staff client 
< log: The location (full file specification) of your log for the service 
< user: The default Koha username to use for importing 
< password: The password that goes with that username</programlisting></para>
---
>         system:<programlisting>host:  The IP address of your Koha server 
> port:  The port you want to use for the Connexion service. This port must be different from your SIP port, or any other service 
> koha:  The full URL of your staff client 
> log:  The location (full file specification) of your log for the service 
> user:  The default Koha username to use for importing 
> password:  The password that goes with that username</programlisting></para>
41579c41579
<         immediately imported into Koha, and should be searchable after your indexes catch up. If
---
>         immediately imported into Koha, and should be searchable after your indexes catch up.  If
41627c41627
<             <para>Set the three numeric parameters: Timeout: 100 Retries: 3 Delay: 0 </para>
---
>             <para>Set the three numeric parameters:  Timeout: 100  Retries:  3   Delay:  0 </para>
41641,41643c41641,41643
<       <para>You should be ready to go! To export a record from OCLC Connexion Client to Koha, just
<         press F5 while the record is on-screen. The export dialog will pop up, and you'll see
<         Connexion attempting to talk to Koha. You should get a message that the record was added or
---
>       <para>You should be ready to go!  To export a record from OCLC Connexion Client to Koha, just
>         press F5 while the record is on-screen.  The export dialog will pop up, and you'll see
>         Connexion attempting to talk to Koha.  You should get a message that the record was added or


More information about the Koha mailing list