Re: [oXygen-user] Conkeyrefs not rendered on map-level

2023-02-02 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Sasha,


Thanks for investigating this, I can reproduce the problem and added a 
DITA OT issue with samples for it:


https://github.com/dita-ot/dita-ot/issues/4117


Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 2/2/23 10:28, Sascha Nothofer wrote:


Hi Radu,


thanks for your analysis of my issue!
Your questions and thoughts helped me to track down the problem.

If you try to publish a map containing a title (or data element) with 
a conkeyref like this

...
and if the reused element contains another element with an id 
attribute like this

..
then the DITA OT 3.7.3 (Oxygen 25.0 build in) is not able to resolve 
the reference on map level.
For example the pdf front page title does not contain the referenced 
content.


If you use conref instead, everything is fine.
Conkeyrefs from topic to topic are also resolved as expected.

It looks like a OT bug.


Thx!
Sascha


> Currently I want to switch from Oxygen 23 to 25.0 including an
> extracted build-in DITA-OT3.x with custom pdf2 plugin but In the
> updated?environment we have the following effect:
>
>
> In almost all DITAVAL contexts (we have a lot) the variable texts are
> not rendered into the DITA Map anymore without error messages.
>
This looks like an editing problem, in such cases we are interested in
knowing what those particular error messages state. Ideally we would
also have a small sample DITA project to reproduce the problem on our
side. You can do this with a separate off list email.


>
> Just a few DITAVAL contexts produce output as before.
>
By output do you mean publishing?

yes, html or pdf. We have no problems in Oxygen/Author. All references 
are displayed fine.




>
> In published content topics/chapters everything is fine -> conkeyrefs
> are resolved.
>
So the publishing is fine? Only the DITA Maps Manager has problems
displaying the keyrefs?
No problem in Maps Manager. The problem is only in preprocessing 
output and following.

>
> Also Oxygen Author WYSIWYG resolves all conkeyrefs as expected in
> topics and in the map.
>
Ok, so the main editor area seems to work.
>
>
> In the pre-processing output (?_MERGED.xml) the specific map elements
> do not contain the variable text but conref attributes with wrong
> transformed links:
> The conrefs contain ?path/topic.dita#ElementID? instead of
> ?path/ditatopic.dita#topicID/ElementID?
>
> In correct output contexts there are no conref attrubtes rendered into
> output, just the elements with resolved text.
>
So there is also a publishing problem as well? Oxygen 25.0 comes bundled
with DITA OT 3.7 from what I remember, maybe there is some
incompatibility between your custom PDF plugin and DITA OT 3.7.

Do you have also a DITA DTD specialization plugin? If so did you install
it in the DITA OT bundled with Oxygen 25.0?

yes

> I guess, there could be many different reasons for this. I tried a lot
> and couldn?t reproduced the problem in a simple test project. I also
> did?nt manage to simplify our project to a working state.
>
I somehow suspect you may have some DITA specialization for certain
topics. I'm not sure. If you can reproduce about the same problem when
editing and when publishing, the problem is usually somewhere in the
DITA Open Toolkit publishing engine, some plugin which may not be 
installed.



Regards,

Radu

Radu Coravu
Oxygen XML Editor






Kontakt | Contact   Rein Medical GmbH
T:  +49 2161 6984 - 131 Monforts Quartier 23
*M:*
Schwalmstraße 301
*F:*+49 2161 6984 - 231 41238 Mönchengladbach
*E:*sascha.notho...@reinmedical.com Germany
*W:*https://www.reinmedical.com 
*S:*



Rechtliches | Legal 
Geschäftsführer: 	Dieter Cyganek, Stephan Rein, Thorsten Godulla, 
Hisakazu Harada, Akira Suzuki

Registergericht:Amtsgericht Mönchengladbach HRB 15810   
Ust.-ID-Nr.:DE811604837 
WEE-Reg.-Nr.:   DE 59730470 
Diese E-Mail ist ausschließlich für den angegebenen Empfänger 
bestimmt. Sie kann Informationen enthalten, welche vertraulich sind 
und durch die Verschwiegenheit geschützt werden. Diese E-Mail darf nur 
von diesem Empfänger gelesen, ausgedruckt, aufbewahrt, kopiert und 
verbreitet werden. Sollten Sie diese Mitteilung irrtümlich erhalten 
haben, bitten wir Sie, den Absender zu benachrichtigen, sämtliche 
Ausdrucke zu vernichten und diese E-Mail zu löschen.
This message may contain confidential information and is intended only 
for the specified recipient. If you are not the specified recipient 
you should not disseminate, distribute or copy this e-mail. Please 
notify the specified sender immediately by e-mail if you have received 
this e-mail by mistake and delete this e-mail from your system.




*Von:* oXygen-user  im Auftrag von 
oxygen-user-requ...@oxygenxml.com 

*Gesendet:* Mittwoch, 25. Januar 2023 19:00
*An:* oxygen-user@oxygenxml.com
*Betreff:* 

Re: [oXygen-user] Conkeyrefs not rendered on map-level

2023-02-02 Thread Sascha Nothofer
Hi Radu,

thanks for your analysis of my issue!
Your questions and thoughts helped me to track down the problem.

If you try to publish a map containing a title (or data element) with a 
conkeyref like this
...
and if the reused element contains another element with an id attribute like 
this
..
then the DITA OT 3.7.3 (Oxygen 25.0 build in) is not able to resolve the 
reference on map level.
For example the pdf front page title does not contain the referenced content.

If you use conref instead, everything is fine.
Conkeyrefs from topic to topic are also resolved as expected.

It looks like a OT bug.

Thx!
Sascha



> Currently I want to switch from Oxygen 23 to 25.0 including an
> extracted build-in DITA-OT3.x with custom pdf2 plugin but In the
> updated?environment we have the following effect:
>
>
> In almost all DITAVAL contexts (we have a lot) the variable texts are
> not rendered into the DITA Map anymore without error messages.
>
This looks like an editing problem, in such cases we are interested in
knowing what those particular error messages state. Ideally we would
also have a small sample DITA project to reproduce the problem on our
side. You can do this with a separate off list email.


>
> Just a few DITAVAL contexts produce output as before.
>
By output do you mean publishing?

yes, html or pdf. We have no problems in Oxygen/Author. All references are 
displayed fine.



>
> In published content topics/chapters everything is fine -> conkeyrefs
> are resolved.
>
So the publishing is fine? Only the DITA Maps Manager has problems
displaying the keyrefs?
No problem in Maps Manager. The problem is only in preprocessing output and 
following.
>
> Also Oxygen Author WYSIWYG resolves all conkeyrefs as expected in
> topics and in the map.
>
Ok, so the main editor area seems to work.
>
>
> In the pre-processing output (?_MERGED.xml) the specific map elements
> do not contain the variable text but conref attributes with wrong
> transformed links:
> The conrefs contain ?path/topic.dita#ElementID? instead of
> ?path/ditatopic.dita#topicID/ElementID?
>
> In correct output contexts there are no conref attrubtes rendered into
> output, just the elements with resolved text.
>
So there is also a publishing problem as well? Oxygen 25.0 comes bundled
with DITA OT 3.7 from what I remember, maybe there is some
incompatibility between your custom PDF plugin and DITA OT 3.7.

Do you have also a DITA DTD specialization plugin? If so did you install
it in the DITA OT bundled with Oxygen 25.0?

yes

> I guess, there could be many different reasons for this. I tried a lot
> and couldn?t reproduced the problem in a simple test project. I also
> did?nt manage to simplify our project to a working state.
>
I somehow suspect you may have some DITA specialization for certain
topics. I'm not sure. If you can reproduce about the same problem when
editing and when publishing, the problem is usually somewhere in the
DITA Open Toolkit publishing engine, some plugin which may not be installed.


Regards,

Radu

Radu Coravu
Oxygen XML Editor





[https://reinmedical.com/en/node/1499/view-as-image]
[cid:image690462.png@57dd3af6.4dab699c] 
Kontakt | Contact   Rein Medical GmbH
T:  +49 2161 6984 - 131 Monforts Quartier 23
M:  Schwalmstraße 301
F:  +49 2161 6984 - 231 41238 Mönchengladbach
E:  sascha.notho...@reinmedical.com Germany
W:  https://www.reinmedical.com
S:

Rechtliches | Legal
Geschäftsführer:Dieter Cyganek, Stephan Rein, Thorsten Godulla, 
Hisakazu Harada, Akira Suzuki
Registergericht:Amtsgericht Mönchengladbach HRB 15810
Ust.-ID-Nr.:DE811604837
WEE-Reg.-Nr.:   DE 59730470

[https://reinmedical.com/en/node/1498/view-as-image]

Diese E-Mail ist ausschließlich für den angegebenen Empfänger bestimmt. Sie 
kann Informationen enthalten, welche vertraulich sind und durch die 
Verschwiegenheit geschützt werden. Diese E-Mail darf nur von diesem Empfänger 
gelesen, ausgedruckt, aufbewahrt, kopiert und verbreitet werden. Sollten Sie 
diese Mitteilung irrtümlich erhalten haben, bitten wir Sie, den Absender zu 
benachrichtigen, sämtliche Ausdrucke zu vernichten und diese E-Mail zu löschen.
This message may contain confidential information and is intended only for the 
specified recipient. If you are not the specified recipient you should not 
disseminate, distribute or copy this e-mail. Please notify the specified sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.


Von: oXygen-user  im Auftrag von 
oxygen-user-requ...@oxygenxml.com 
Gesendet: Mittwoch, 25. Januar 2023 19:00
An: oxygen-user@oxygenxml.com
Betreff: oXygen-user Digest, Vol 139, Issue 17

Send oXygen-user mailing list submissions to
oxygen-user@oxygenxml.com

To subscribe or unsubscribe via the World Wide Web, visit