DITAVAL: Profiling doesn't work in oXygen if multiple default values are set to "include"
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 457
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
DITAVAL: Profiling doesn't work in oXygen if multiple default values are set to "include"
Post by Frank Ralf »
Hi,
I've noticed a strange behavior when applying profiling condition sets in oXygen that are linked to a DITAVAL file. If I set the default behavior explicitly to "include" for more than one attribute the profiling doesn't seem to work in oXygen anymore.
Does not work
Works
Can this be a configuration issue on my side (oXygen 16.1, Windows 7) or is this a bug?
Best regards,
Frank
I've noticed a strange behavior when applying profiling condition sets in oXygen that are linked to a DITAVAL file. If I set the default behavior explicitly to "include" for more than one attribute the profiling doesn't seem to work in oXygen anymore.
Does not work
Code: Select all
<val>
<prop att="audience" action="include" />
<prop att="audience" val="exclude_me" action="exclude" />
<prop att="audience" val="include_me" action="include" />
<prop att="product" action="include" />
<prop att="product" val="Exclusion" action="exclude" />
<prop att="product" val="Inclusion" action="include" />
</val>
Code: Select all
<val>
<!-- <prop att="audience" action="include" />-->
<prop att="audience" val="exclude_me" action="exclude" />
<prop att="audience" val="include_me" action="include" />
<prop att="product" action="include" />
<prop att="product" val="Exclusion" action="exclude" />
<prop att="product" val="Inclusion" action="include" />
</val>
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
-
- Posts: 457
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: DITAVAL: Profiling doesn't work in oXygen if multiple default values are set to "include"
Post by Frank Ralf »
I had a closer look and the behavior is a bit different but still strange. When setting the default value explicitly to "include" in a DITAVAL file the associated profiling condition in oXygen doesn't work for that attribute.
Frank
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
Re: DITAVAL: Profiling doesn't work in oXygen if multiple default values are set to "include"
Hi Frank,
The way in which the attributes are defined on the DITA elements might also matter and you did not give me any sample DITA content.
How about if you put together a small sample DITA project + a DITAVAL and send it to "support@oxygenxml.com" along with steps to reproduce the problem?
Also, is the problem related also the publishing part or only to the Oxygen feature which fades-out content depending on the applied profiling condition set?
Regards,
Radu
The way in which the attributes are defined on the DITA elements might also matter and you did not give me any sample DITA content.
How about if you put together a small sample DITA project + a DITAVAL and send it to "support@oxygenxml.com" along with steps to reproduce the problem?
Also, is the problem related also the publishing part or only to the Oxygen feature which fades-out content depending on the applied profiling condition set?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 457
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: DITAVAL: Profiling doesn't work in oXygen if multiple default values are set to "include"
Post by Frank Ralf »
Hi Radu,
Thanks for your quick reply. I will send you my sample files but they are plain standard DITA. Here's an excerpt:
Sample DITA code
Filtering does work as expected when publishing as PDF. The problem is only related to oXygen Author mode where I can see the effect of the applied condition set. I created the condition sets by importing the DITAVAL files.
Best regards,
Frank
Thanks for your quick reply. I will send you my sample files but they are plain standard DITA. Here's an excerpt:
Sample DITA code
Code: Select all
<ul>
<li audience="" product="">1) Only empty attributes. > Included</li>
<li audience="invalid" product="">2) audience="invalid" product="" > <b>Included</b> (Default)</li>
<li audience="invalid" product="Inclusion">3) audience="invalid" product="Inclusion" > <b>Included</b> (Default)</li>
<li audience="invalid" product="Exclusion">4) audience="invalid" product="Exclusion" > <b>Excluded</b> (Default)</li>
<li audience="include_me" product="Inclusion">5) audience="include_me" product="Inclusion" > Included</li>
<li audience="include_me" product="Exclusion">6) audience="include_me" product="Exclusion" > <b>Excluded</b></li>
<li audience="exclude_me" product="Inclusion">7) audience="exclude_me" product="Inclusion" > <b>Excluded</b></li>
<li audience="exclude_me" product="Exclusion">8) audience="exclude_me" product="Exclusion" > <b>Excluded</b></li>
<li audience="exclude_me include_me" product="Inclusion">9) audience="exclude_me include_me" product="Inclusion" > Included</li>
<li audience="exclude_me include_me" product="Exclusion">10) audience="exclude_me include_me" product="Exclusion" > <b>Excluded</b></li>
</ul>
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
Re: DITAVAL: Profiling doesn't work in oXygen if multiple default values are set to "include"
Hi Frank,
I also consider this to be a bug.
I added an internal issue and I'll update this forum thread when the issue is fixed.
Regards,
Radu
I also consider this to be a bug.
I added an internal issue and I'll update this forum thread when the issue is fixed.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 457
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: DITAVAL: Profiling doesn't work in oXygen if multiple default values are set to "include"
Post by Frank Ralf »
Hi Radu,
Thanks for testing and confirming the issue.
Best regards,
Frank
Thanks for testing and confirming the issue.
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
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)
- ↳ 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