Page 1 of 1

stepsection resets numbering for xref

Posted: Tue Feb 23, 2021 11:24 pm
by mdslup
Using Oxygen 22.1. In a task topic, I have a table at the top with step numbers. These step numbers are xrefs that link to steps with IDs in the same file. The xref just displays the step number, which is what I want.

However, putting in a stepsection causes this numbering to reset. Is this a known bug?

Re: stepsection resets numbering for xref

Posted: Wed Feb 24, 2021 8:18 am
by Radu
Hi,

Can you paste maybe a small sample DITA task as an example?
Also please tell us if this is a problem related to editing (and how Oxygen computes link texts in the Author visual mode) or to publishing (and to what output format).

Regards,
Radu

Re: stepsection resets numbering for xref

Posted: Thu May 20, 2021 1:58 am
by EvanHOlson
I'm getting the same issue. I am using the Mac version of Oxygen Author v23.1.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="stepsection_example">
	<title>Test Task</title>
	<prolog>
		<metadata>
			<prodinfo>
				<prodname>Product Name</prodname>
				<vrmlist>
					<vrm modification="Issue 1, Month Year" version="Release X.X.X"/>
				</vrmlist>
				<prognum>0000-0000-000</prognum>
			</prodinfo>
		</metadata>
	</prolog>
	<taskbody>
		<context>
			<p>This is an example of stepsection messing up cross references.</p>
		</context>
		<steps id="steps_jst_qz1_rpb">
			<step id="step_01">
				<cmd>First step.</cmd>
			</step>
			<step id="step_02">
				<cmd>Second step. The following is a link to Step 3 but the stepsection causes the links to reset at Step 1. Refer to <xref href="#stepsection_example/step_03"/>.</cmd>
			</step>
			<stepsection>We call stepsection elements "Procedural Notes".</stepsection>
			<step id="step_03">
				<cmd>Third step.</cmd>
			</step>
			<step id="step_04">
				<cmd>Fourth step.</cmd>
			</step>
			<step id="step_05">
				<cmd>Fifth step.</cmd>
			</step>
		</steps>
	</taskbody>
</task>

Re: stepsection resets numbering for xref

Posted: Thu May 20, 2021 8:05 am
by Radu
Hi Evan,

Thanks for the sample, all clear for me now. I added an internal issue and we'll update this forum thread when the issue is fixed.

Regards,
Radu

Re: stepsection resets numbering for xref

Posted: Tue Oct 19, 2021 8:30 am
by Radu
Hi Evan,

We released Oxygen 24 and it should have this problem fixed.

Regards,
Radu