Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem characters for tocitems...

322339Aug 15 2002
Another problem:

I have characters such as:
- "<", ">", "&"

in my titles. These I code as:
- &lt; , &gt;, &amp;

As you can see below:
..
<tocitem text="The &lt;helpbook&gt; Tag">
<tocitem text="The &lt;helpbook&gt; Tag" target="Helpbook3N109_htm"/>
<tocitem text="The &lt;cprojstyle&gt; Tag" target="Helpbook3N110_htm"/>

...

However, they then get displayed as &lt; and &gt; 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)
...


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2002
Added on Aug 15 2002
1 comment
574 views