Page 1 of 1

import profiling colors

Posted: Thu Dec 10, 2015 6:39 pm
by aeijohn
I am evaluating Oxygen 17 using DITA. When I got to import profiling colors, I get the message "No profiling sytle was detected from the selected DITAVAL file(s)." However I do have styling in the ditaval file.

Encoded similar to: <prop att="audience" val="comments" action="exclude" color="green"/>

I have tried with and without a <!DOCTYPE> in the ditaval file with the same results.

Please help me understand why this is not working.

Also, when using a <!DOCTYPE>, the import profiling colors fails to recognize the PUBLIC URL as it keeps looking for the ditaval.dtd to be in the same folder as the ditaval file.

But if I open the ditaval file for editing, it does recognize the PUBLIC URL, or at least appears to.

Do I want to always want to not use <!DOCTYPE> in the ditaval file?

Re: import profiling colors

Posted: Fri Dec 11, 2015 11:13 am
by mihaela
Hi,

The profiling styles imported from the ditaval files are the one detected from the props elements that have an action="flag" set.
As you can see in the ditaval specification the colors and style attributes are applicable only for prop attribute with flag set:
http://docs.oasis-open.org/dita/v1.2/os ... -prop.html

Regarding the usage of a ditaval with DOCTYPE, the problem should be fixed in the last oXygen build.
You should install the last version of oXygen available on our site:
http://www.oxygenxml.com/download.html

Please tell us if you need more information.

Best Regards,
Mihaela

Re: import profiling colors

Posted: Fri Dec 11, 2015 6:52 pm
by aeijohn
Thank you!
Setting @action to "flag" did the trick.
It good to know that DOCTYPE will be allowed in newer version of oxygen.