Skip to main content

[JAVAHELP] V2.0 release

7 replies [Last post]
Anonymous

Hi Binky,

Can you please let me know exactly what changes were made in the static
merging of help sets between the jh2.0 CR2 and final release versions?

I'm supposed to be implementing jh2.0 for our applications on Monday, and
the helpset I had working under CR2 no longer works under the final
release.

TOC merging works fine, but the Index and Search views display nothing at
all!

Your help would be much appreciated with this.

Can you also let me know what the version rules are for the namespaces in
the .hs , .jhm , TOC.xml and Index.xml files?

The jhug supplied with the final release seems to have a mixture of V1.0
and 2.0 .

====================================================
Chris Morris
Technical Author
SAA Consultants Ltd
http://www.saaconsultants.com
http://www.reims.net
====================================================

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Roger Brinkley

Is there any possibililty there is mixing of releases happening. Did you
remove the previous release of jh2.0 before you instaled jh2.0?

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Michael M�ller-Hillebrand

Hi,

can any of the more experienced JavaHelp gurus confirm, that at least on the Windows XP platform (JRE 1.4.1_03, JH2.0) a HelpSet title partly moves out of visibility, if the text inside the title tag contains line feeds.

I have a UTF-8 encoded .hs file and if it contains

XYZ<br /> Project Help<br /> for Administrators

with UNIX or DOS linefeed characters, the text is moved one line up in the title of the helpset windows (which makes it unreadable); funny: It kind of works with Mac OS line feeds, but the linefeed characters are just stripped and not changed to spaces. Same behaviour with iso-8859-1 encoding...

- Michael

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Roger Brinkley

Michael M�ller-Hillebrand wrote:
> Hi,
>
> can any of the more experienced JavaHelp gurus confirm, that at least
> on the Windows XP platform (JRE 1.4.1_03, JH2.0) a HelpSet title
> partly moves out of visibility, if the text inside the title tag
> contains line feeds.
>
> I have a UTF-8 encoded .hs file and if it contains
>
> XYZ Project Help for Administrators
>
> with UNIX or DOS linefeed characters, the text is moved one line up
> in the title of the helpset windows (which makes it unreadable);
> funny: It kind of works with Mac OS line feeds, but the linefeed
> characters are just stripped and not changed to spaces. Same
> behaviour with iso-8859-1 encoding...

Title bars will be OS dependent so I'm not too surpised at the outcome.
Why would you want a line feed in the first place?

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Michael M�ller-Hillebrand

On 15.09.2003 (10:33 Uhr -0600), Roger Brinkley wrote:

>Michael M�ller-Hillebrand wrote:
>>
>>can any of the more experienced JavaHelp gurus confirm, that at least
>>on the Windows XP platform (JRE 1.4.1_03, JH2.0) a HelpSet title
>>partly moves out of visibility, if the text inside the title tag
>>contains line feeds.
>>
>>I have a UTF-8 encoded .hs file and if it contains
>>
>>XYZ<br /> >>Project Help for<br /> >>Administrators
>>
>>with UNIX or DOS linefeed characters, the text is moved one line up
>>in the title of the helpset windows (which makes it unreadable);
>>funny: It kind of works with Mac OS line feeds, but the linefeed
>>characters are just stripped and not changed to spaces. Same
>>behaviour with iso-8859-1 encoding...
>
>Title bars will be OS dependent so I'm not too surpised at the outcome.
>Why would you want a line feed in the first place?

I do not want line feeds, and I already changed my XSL to suppress them.

But the helpset file calls itself XML-compliant and AFAIK it is pretty legal in XML to use white space, and because of that such a problem should not appear.

- Michael

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Chris Morris

I can confirm that it is definitly the mergetype="javax.help.SortMerge"
attribute applied to the Index view that is causing part of the problem. If
you remove the attribute the default merging works OK for the Index.
Howevet, the Search still doesn't work.

What in particular has changed in these merge classes?

====================================================
Chris Morris
Technical Author
SAA Consultants Ltd
http://www.saaconsultants.com
http://www.reims.net
====================================================

java-help@JAVADESKTOP.
ORG To: JAVAHELP-INTEREST@JAVA.SUN.COM
Sent by: Discussion cc:
list of JavaHelp Subject: Re: [JAVAHELP] V2.0 release
A.SUN.COM>

12/09/2003 17:04
Please respond to
javahelp-interest

> Can you please let me know exactly what changes were made in the static
> merging of help sets between the jh2.0 CR2 and final release versions?
>
> I'm supposed to be implementing jh2.0 for our applications on Monday, and
> the helpset I had working under CR2 no longer works under the final
> release.

Humm. We made significant changes to the merging code (doesn't matter if if
it's static or not). There shouldn't be anything in search that doesn't
work though. Take a look and see if you have any errors being generated
from the index. Running the hsviewer in a MSDOS prompt should help find the
problem.

> TOC merging works fine, but the Index and Search views display nothing at
> all!
>
> Your help would be much appreciated with this.
>
> Can you also let me know what the version rules are for the namespaces in
> the .hs , .jhm , TOC.xml and Index.xml files?

Same as they were for V1.0. However, I'm not sure what your asking.

> The jhug supplied with the final release seems to have a mixture of V1.0
> and 2.0 .

You'd have to provide specific examples of what you mean.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at
http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Roger Brinkley

Chris Morris wrote:
> I can confirm that it is definitly the mergetype="javax.help.SortMerge"
> attribute applied to the Index view that is causing part of the problem. If
> you remove the attribute the default merging works OK for the Index.
> Howevet, the Search still doesn't work.

That's not it. Look at the demos. The animals mergetype is
"javax.help.SortMerge" and it works though without the invertebrates and
vertebrates being added. The glossary in holiday history works. Though
it's a glossary it uses the same index code.

> What in particular has changed in these merge classes?

Everything changed because of performance change that was made in the
merge codes.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

brinkley
Offline
Joined: 2003-06-06
Points: 0

> Can you please let me know exactly what changes were made in the static
> merging of help sets between the jh2.0 CR2 and final release versions?
>
> I'm supposed to be implementing jh2.0 for our applications on Monday, and
> the helpset I had working under CR2 no longer works under the final
> release.

Humm. We made significant changes to the merging code (doesn't matter if if it's static or not). There shouldn't be anything in search that doesn't work though. Take a look and see if you have any errors being generated from the index. Running the hsviewer in a MSDOS prompt should help find the problem.

> TOC merging works fine, but the Index and Search views display nothing at
> all!
>
> Your help would be much appreciated with this.
>
> Can you also let me know what the version rules are for the namespaces in
> the .hs , .jhm , TOC.xml and Index.xml files?

Same as they were for V1.0. However, I'm not sure what your asking.

> The jhug supplied with the final release seems to have a mixture of V1.0
> and 2.0 .

You'd have to provide specific examples of what you mean.

Binky