[Koha-bugs] [Bug 16608] Missing entity nbsp in some XML files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 27 19:25:48 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16608

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51864|0                           |1
        is obsolete|                            |

--- Comment #6 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 51887
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51887&action=edit
[SIGNED-OFF] Bug 16608 - Missing entity nbsp in some XML files

The special character "non breaking space"   is not contained in XML
syntax by default.
So we add it in the file header :
<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]>

Even if the source code files do no contain this character, it can be that
translated files contain it.
French for example "Titre :".

This entity is missing in all files in koha-tmpl/intranet-tmpl/prog/en/data/
and in some files of koha-tmpl/intranet-tmpl/prog/en/xslt.

Test plan :
  - generate French templates:
    cd misc/translator
    ./translate install fr-FR
    cd ../..
  - run test:
    prove -v t/00-valid-xml.t
    you get failing error message
  - apply this patch
  - translate again
  - run test again: it passes

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Works as described following test plan
Tes pass, no errors.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list