Extended Subject Scheme Maps

Nadine K
Posts: 7
Joined: Tue Mar 05, 2019 1:13 pm

Extended Subject Scheme Maps

Post by Nadine K » Tue Mar 05, 2019 2:00 pm

Hi there
I am quite new to Oxygen and looking into a problem now for quite a while.
Help would be appreciated ;-)

So, I have a project with a "common" subject scheme map and an "extended" subject scheme map. For each dita map I will in the end use a seperated "extension" scheme, and all will have the same common subject scheme.

my Problem: The values in the extension (e.g. audience--> SAMPLES" do not appear in the ditamap (and inherited topics), but the values of the common scheme map do appear. So there seems to be a problem with the keyref i guess?

I work with oxygen 17 and dita 1.2

here is part of my common scheme (commonscheme.ditamap):

Code: Select all


<subjectScheme>
<subjectHead>
<subjectHeadMeta>
<navtitle> Cendric Subject Scheme</navtitle>
</subjectHeadMeta>
</subjectHead>
<hasInstance>
<subjectdef keys="audiencekey">
<!-- A tree of related values -->
<subjectdef keys="public_DS"/>
<subjectdef keys="public_UM"/>
<subjectdef keys="public_UM_history"/>
</subjectdef>
And here is my extension (extendedscheme.ditamap)

Code: Select all


<subjectScheme>
<schemeref href="commonscheme.ditamap"/>
<!-- <schemeref href="Cendric_Subject_Scheme.ditamap"> </schemeref>-->
<subjectdef keyref="audiencekey">
<!-- A tree of related values -->
<subjectdef keys="RAM"/>
<subjectdef keys="SAMPLES"/>
</subjectdef>
</subjectScheme>
I reference in my ditamap to it. (i also tried mapref, does not work as well)

Code: Select all


	<topicref href="Extendedscheme.ditamap" type="subjectScheme" format="ditamap"/>
Thanks for your help in advance ;-)
Nadine

Radu
Posts: 6335
Joined: Fri Jul 09, 2004 5:18 pm

Re: Extended Subject Scheme Maps

Post by Radu » Wed Mar 06, 2019 1:09 pm

Hi Nadine,

Looking at this example in the DITA 1.3 specification:

https://www.oxygenxml.com/dita/1.3/spec ... nsion.html

I think what you are trying to do is correct. Indeed right now Oxygen does not seem to properly combine the subjectdef keyref with the subject definitions placed inside it. I will add an internal issue on our side to look into this.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Nadine K
Posts: 7
Joined: Tue Mar 05, 2019 1:13 pm

Re: Extended Subject Scheme Maps

Post by Nadine K » Wed Mar 06, 2019 2:33 pm

thanks !

Radu
Posts: 6335
Joined: Fri Jul 09, 2004 5:18 pm

Re: Extended Subject Scheme Maps

Post by Radu » Thu May 23, 2019 2:21 pm

Hi Nadine,

We released Oxygen 21.1 which should have a fix for the problem you reported.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply