Problem characters for tocitems...
Another problem:
I have characters such as:
- "<", ">", "&"
in my titles. These I code as:
- < , >, &
As you can see below:
..
<tocitem text="The <helpbook> Tag">
<tocitem text="The <helpbook> Tag" target="Helpbook3N109_htm"/>
<tocitem text="The <cprojstyle> Tag" target="Helpbook3N110_htm"/>
...
However, they then get displayed as < and > rather than converted.
If I instead use <,>, and &, and try to use HelpSetDemo, I get:
..
C:\ohelp\bin>helpsetdemo
View passed to RootItemModel does not contain data in TopicTree format.
java.lang.StringIndexOutOfBoundsException: String index out of range: -7
at java.lang.String.substring(String.java:1476)
at oracle.help.common.xml.XMLTokenizer.nextToken(Unknown Source)
at oracle.help.common.xml.XMLParser.<init>(Unknown Source)
at oracle.help.engine.XMLTOCEngine.createDataObject(Unknown Source)
at oracle.help.engine.XMLTOCEngine.createDataObject(Unknown Source)
...