[Koha-bugs] [Bug 6458] incorrect parsing result in translation processing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 21 11:36:24 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6458

--- Comment #8 from Frère Sébastien Marie <semarie-koha at latrappe.fr> 2011-07-21 09:36:24 UTC ---
(In reply to comment #7)
> Created attachment 4695 [details]
> Proposed patch
> 
> Could you try this test case and check that it detects the appropriate TT
> issues?

Issues are incomplete: haskell version report 269 issues in 45 files, versus
perl 34 issues in 14 files.

The list could be consulted here:
http://lists.koha-community.org/pipermail/koha-devel/2011-July/035922.html , in
the attachment (but *.inc are not included, and "269 in 45 files" is the last
count on master repo)

There are multiples problems with this perl version:
 - it is line oriented versus stream oriented. So in case of opening tag on one
line, and inclusion of directive in other line, the issue is not reported.
(for examples:
  see ./koha-tmpl/opac-tmpl/prog/en/modules/opac-messaging.tt, line 74
  see ./koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc, line 42
)

 - it only check directive near the tagname (like <li[%IF ), and not more
general construct (like <option value="10"[%IF )
(for examples:
  see ./koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt, line 135
  see ./koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt,
line 91
)

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list