Dita 2.x - profiling attributes
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 30
- Joined: Tue Jun 02, 2015 2:01 pm
Dita 2.x - profiling attributes
Hi,
I tried out the newly released Oxygen 17.1.
When making use of the new built-in DITA-OT 2.x a webhelp build fails when dita files contain profiling attributes.
More specifically during [move-meta] phase the following issue occurs:
Backtracking the problem it seems like ditaarch is added twice to dita files in the temp folder (oxygen_dita_temp) which have a profile attribute:
Is there a workaround for this, or a known issue?
Thanks,
Tristan
I tried out the newly released Oxygen 17.1.
When making use of the new built-in DITA-OT 2.x a webhelp build fails when dita files contain profiling attributes.
More specifically during [move-meta] phase the following issue occurs:
Code: Select all
[topic-fragment] Error on line 205 column 1060 of topic.dita:
Code: Select all
[move-meta] SXXP0003: Error reported by XML parser: Attribute "ditaarch" bound to namespace
[move-meta] "http://www.w3.org/2000/xmlns/" was already specified for element "topic".
Code: Select all
<topic xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"...
Thanks,
Tristan
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Dita 2.x - profiling attributes
Hi Tristan,
I don't seem to reproduce the error on my side.
You are publishing from Oxygen and not from the command line, right?
Did you use Relax NG-based specific DITA 1.3 maps and topics?
Or did you use DITA maps and topics with the default DTD declaration (which should resolve to the DITA 1.3 DTDs when you switch to using DITA OT 2.x)?
Both of these should work as well.
Could you possibly create a sample DITA project to reproduce the issue and send it to us? support@oxygenxml.com
Regards,
Radu
I don't seem to reproduce the error on my side.
You are publishing from Oxygen and not from the command line, right?
Did you use Relax NG-based specific DITA 1.3 maps and topics?
Or did you use DITA maps and topics with the default DTD declaration (which should resolve to the DITA 1.3 DTDs when you switch to using DITA OT 2.x)?
Both of these should work as well.
Could you possibly create a sample DITA project to reproduce the issue and send it to us? support@oxygenxml.com
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 30
- Joined: Tue Jun 02, 2015 2:01 pm
Re: Dita 2.x - profiling attributes
Thanks for the quick follow-up,
Yes, Publishing occurs from Oxygen.
I was able to recreate the issue, and send a sample project to the support mail.
One condition I overlooked so far is that it only occurs when a ditaval is selected as filter in the ditamaps manager and applied during transformation.
When no profiling setting is applied in the dita maps manager all goes well.
Looking forward to your feedback,
Tristan
Yes, Publishing occurs from Oxygen.
I was able to recreate the issue, and send a sample project to the support mail.
One condition I overlooked so far is that it only occurs when a ditaval is selected as filter in the ditamaps manager and applied during transformation.
When no profiling setting is applied in the dita maps manager all goes well.
Looking forward to your feedback,
Tristan
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Dita 2.x - profiling attributes
Hi Tristan,
Thanks a lot for the samples.
I managed to reproduce the issue with them and added a DITA OT issue:
https://github.com/dita-ot/dita-ot/issues/2109
It seems that the problem is related to the fact that you have nested topics + the presence of the DITAVAL. If I find some more details about it I will comment on the GitHub opened issue.
Regards,
Radu
Thanks a lot for the samples.
I managed to reproduce the issue with them and added a DITA OT issue:
https://github.com/dita-ot/dita-ot/issues/2109
It seems that the problem is related to the fact that you have nested topics + the presence of the DITAVAL. If I find some more details about it I will comment on the GitHub opened issue.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 30
- Joined: Tue Jun 02, 2015 2:01 pm
Re: Dita 2.x - profiling attributes
Ok thanks,
I'll follow-up on the github page.
If there would be a workaround in attendance of a bugfix, that would be great.
Meanwhile I'll see if I can find a workaround myself.
Best regards,
Tristan
I'll follow-up on the github page.
If there would be a workaround in attendance of a bugfix, that would be great.
Meanwhile I'll see if I can find a workaround myself.
Best regards,
Tristan
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Dita 2.x - profiling attributes
Hi Tristan,
I think that you could avoid having multiple subtopics and prefer instead to define each topic in its own file and to create the topics hierarchy in the DITA Map.
Regards,
Radu
I think that you could avoid having multiple subtopics and prefer instead to define each topic in its own file and to create the topics hierarchy in the DITA Map.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 30
- Joined: Tue Jun 02, 2015 2:01 pm
Re: Dita 2.x - profiling attributes
Thanks for the feedback and suggestion.
I'm not really keen on reworking the structure for a bug in the toolkit.
This could be a workaround for a small dita project, but not for one with hundreds of dita files already, many of them containing nested topics.
I know there are heated debates on chunking or nesting topics, but fact of the matter is that both are supported by the standard and depending on the use case, either chunking in the ditamap or nesting in the dita file can be a preferred solution.
I'm not really keen on reworking the structure for a bug in the toolkit.
This could be a workaround for a small dita project, but not for one with hundreds of dita files already, many of them containing nested topics.
I know there are heated debates on chunking or nesting topics, but fact of the matter is that both are supported by the standard and depending on the use case, either chunking in the ditamap or nesting in the dita file can be a preferred solution.
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Dita 2.x - profiling attributes
Hello,
Just to update the thread, this problem has been resolved in the latest maintenance build of Oxygen 17.1, 2015102718 (released on October 29th):
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2015102718
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
Let us know if you encounter further problems with this new build.
Regards,
Ionela
Just to update the thread, this problem has been resolved in the latest maintenance build of Oxygen 17.1, 2015102718 (released on October 29th):
You can download it from our web site:DITA publishing: Fixed publishing with DITA-OT 2.x when using inner topics and DITAVAL filters.
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2015102718
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
Let us know if you encounter further problems with this new build.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service