Skip to main content

[JAVAHELP] Antwort: Re: [JAVAHELP] Problem with Index File in jh2.0

No replies
Anonymous

In spite of not giving me the solution, you still helped me. My dtd is located
locally, so the current reference works.

But the problem was, that I but the language DE instead of EN in the
PUBLIC-Header.

JH2 is starting now fine and is ready for further testing. :-)

Thanks.
Carsten

"Anders Hallqvist M (LN/EAB)" on 30.09.2003
12:51:43

Bitte antworten an Discussion list of JavaHelp

An: JAVAHELP-INTEREST
Kopie: (Blindkopie: Carsten P�rtge)
Thema: Re: [JAVAHELP] Problem with Index File in jh2.0

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

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.

I had problems following the JavaHelp User's Guide regarding the index file. It
worked alright when i changed 2.0 to 1.0 etc, see the example below:

<?xml version='1.0' encoding='ISO-8859-1' ?>

/anders

-----Original Message-----
From: Stephan Schlecht [mailto:stephan@SOFTWARE7.BIZ]
Sent: den 30 september 2003 11:45
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Problem with Index File in jh2.0

Syntactically your index file looks good.

Do you use merging? If yes, can it be, that somewhere
an invalid target is used?

Stephan
--
Software 7 GmbH
*** Helen 1.1, the JavaHelp Authoring Tool ***
*** Soon supporting JavaHelp 2.0 ***
http://www.software7.biz

At 11:12 30.09.2003, you wrote:
>Hello,
>
>I changed from jh2.0beta to jh2.0 stable and now, an error is thrown, when I
>initialize javahelp app.
>
>
>Parsing failed for file:/misc/home/anom/java/appname/apphelp/AppHelpIndex.xml
>Warnung: Ungueltiges Index-Format
>Exception in thread "main" java.lang.NullPointerException
> at
>javax.help.MergeHelpUtilities.mergeNodeChildren(MergeHelpUtilities.java:81)
> at
>javax.help.plaf.basic.BasicIndexNavigatorUI.loadData(BasicIndexNavigatorUI.java:219)

> at
>javax.help.plaf.basic.BasicIndexNavigatorUI.reloadData(BasicIndexNavigatorUI.java:200)

> at
>javax.help.plaf.basic.BasicIndexNavigatorUI.installUI(BasicIndexNavigatorUI.java:144)

> at javax.swing.JComponent.setUI(JComponent.java:449)
> at javax.help.JHelpNavigator.setUI(JHelpNavigator.java:249)
> at javax.help.JHelpNavigator.updateUI(JHelpNavigator.java:268)
> at javax.help.JHelpNavigator.(JHelpNavigator.java:97)
> at javax.help.JHelpIndexNavigator.(JHelpIndexNavigator.java:53)
> at javax.help.IndexView.createNavigator(IndexView.java:103)
> at javax.help.JHelp.setupNavigators(JHelp.java:140)
> at javax.help.JHelp.(JHelp.java:118)
> at
> javax.help.WindowPresentation.createJHelp(WindowPresentation.java:656)
> at
>javax.help.WindowPresentation.createHelpWindow(WindowPresentation.java:689)
> at
>javax.help.DefaultHelpBroker.initPresentation(DefaultHelpBroker.java:170)
> ...
>
>
>I can't find a problem in the index file "AppHelpIndex.xml". Can you see one?
>
>
>
><?xml version='1.0' encoding='ISO-8859-1' ?>
> PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Index Version 2.0//DE"
> "dtd/index_2_0.dtd">
>
> A
> Aufbauzeit
>
>
>
>
>
>Gruss,
>Carsten

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

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.

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

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.