[CSS]: string index out of range: -34

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 24

[CSS]: string index out of range: -34

Thu May 25, 2017 11:16 pm

Using the Eclipse plugin version 18.1.0.v2017013018 (with Ixiasoft DITA CMS).

One of our users created a map with a keyref and this element causes 2 [CSS]: String index out of range: -34 errors when opening the map in an Oxygen editor window.

Here's the markup of the map:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//IXIA//DTD IXIA DITA Map//EN" "IxiaMap.dtd">
<map id="ofd1495557802861" xml:lang="en-us">
 <title>David Artman Test Map for <keyword keyref="product"/></title>
 <topicref href="bzi1495557802190.dita"/>
 <topicref href="miz1495557802564.dita"/>
<mapref href="yvv1495557799690.ditamap"/></map>

The element that is causing the issue is

Code: Select all

<keyword keyref="product"/>

Any idea what is causing this error?
Posts: 5226

Re: [CSS]: string index out of range: -34

Fri May 26, 2017 9:08 am

Hi Matt,

The only similar problem we had was with Oxygen 11 about 6 years ago, the CSS parser Oxygen uses internally (as we render the XML in the Author visual editing mode using CSS) broke when encountering a certain CSS structure, but since then we received no such report.
Did you customize in any way the CSSs Oxygen uses for DITA and DITA Map editing?
When running with Ixiasoft, Oxygen may be customized, we have various APIs which can be called by Ixiasoft, for example for resolving keys, also Ixiasoft may contribute a custom DITA framework customization so this will make things even harder to reproduce in a clean Oxygen installation.
Is the received problem consistently reproduced also on other computers?
If your colleague is willing to investigate this further please contact us via email (support@oxygenxml.com) and we can try to instruct you how to enable full logging in Oxygen, in this way we would obtain more details about why the problem occurs.

Radu Coravu
<oXygen/> XML Editor
Posts: 24

Re: [CSS]: string index out of range: -34

Fri May 26, 2017 4:56 pm

We aren't use any CSS customizations and I am able to replicate it on my machine. I will contact support so we can debug this issue further. Thanks Radu!

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest