Issue 81877 - gsicheck: missing quote in tree_strings.xhp
Summary: gsicheck: missing quote in tree_strings.xhp
Status: CONFIRMED
Alias: None
Product: Internationalization
Classification: Code
Component: helpcontent (show other issues)
Version: 680m229
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-24 05:27 UTC by pavel
Modified: 2017-05-20 11:29 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2007-09-24 05:27:43 UTC
Hi,

gsicheck have not found this issue in GSI file:

helpcontent2   source\text\shared\tree_strings.xhp     0       help    par_id3153305   87                      0       
eo      <node id="04020101" title="Menuoj>                              2002-02-02 02:02:02

On build time then:

Processing sbasic.tree
Read 245 lines
................................................................................................................................................................
..................................................................
Processing shared.tree
Read 190 lines
.............................................................................!.........................................!.........

Reading localized titles.............

ERROR: Bad string in '../../source/text/shared/localize.sdf
' will cause invalid xml tree file
---
'helpcontent2   source\text\shared\tree_strings.xhp     0       help    par_id3153305   87                      0       
eo      <node id="04020101" title="Menuoj>                              2002-02-02 02:02:02
'
---
Please remove or replace < = '&lt;' and  > = '&gt;' within the title attribute 'Menuoj>'



update_tree.pl
   all languages in WITH_LANG are processed. WITH_LANG=ALL is
   not supported in manual calls.

   Updates the *.tree files.
   At first, the English file is updated based on the English
   help topic titles as read from the help files. Then, the
   localized tree files are written based on the English tree
   file and the localized help topic titles.

   Requires a valid SO/OOo environment.

dmake:  Error code 255, while making '../../unxlngx6.pro/misc/treefiles.done'
---* tg_merge.mk *---
Comment 1 gregor.hartmann 2008-05-06 13:54:53 UTC
to gsicheck this is a perfect line. If it was quoted as required gsicheck would
find the error

Quote like this:
\<node id=\"04020101\" title=\"Menuoj\>

Importing the string might need replacing the < and > with &lt; and &gt; but
that's up to Ivo to fix

Comment 2 avagula 2008-05-06 14:00:53 UTC
err... but there is missing quote really?
is: <node id="04020101" title="Menuoj>
should be: <node id="04020101" title="Menuoj">
(original: <node id="04020101" title="Menus">)
Comment 3 ivo.hinkelmann 2008-05-06 14:04:17 UTC
Gregor .... nice try!
Comment 4 gregor.hartmann 2008-05-06 14:28:24 UTC
I know that there is a missing " but as it is coded in the sample given gsicheck
simply does not see it because it is not the metainfo which it checks but it is
plain the context of the string as displayed in teh UI.

If I would check this it would be impossible to give a broken example and
gsicheck woudl whine about everything else which looks somewhat like a tag like

a < b

So gsicheck can't check this.
Comment 5 gregor.hartmann 2008-05-06 14:29:49 UTC
fpe please check if the source file is broken altogether since it contains tons
of these strings.
Comment 6 gregor.hartmann 2008-05-06 14:55:00 UTC
And ivo can't read!
Comment 7 gregor.hartmann 2008-05-07 09:34:10 UTC
adding us as cc
Comment 8 frank.thomas.peters 2009-01-12 14:57:46 UTC
source file looks valid in DEV300.m38, all titles are enclosed by &quot; ... &quot;
Comment 9 Marcus 2017-05-20 11:29:25 UTC
Reset assigne to the default "issues@openoffice.apache.org".