
Hi Simon, You seem to have set the filter content inside the DITA Map. The DITA Map must contain references to DITA topics. Each reference can be profiled so that when the DITAVAL filter is applied only a certain part of the DITA Map is published. Only your "plumbers.ditaval" must contain the filter content. You can find a video demonstration about using Oxygen for DITA profiling here:
You should consider registering on the Yahoo Groups DITA Users List:
It is a very good place where to ask DITA questions which are not related with Oxygen. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/1/2015 8:41 AM, Simon wrote:
Here is my problem with using DITA-OT.
I am just starting to use the "Filtering" feature when I encounter the following issue:
*Here is how I run the DITA-OT:*
java -jar lib/dost.jar /i:/conditional-text.ditamap /filter:plumbers.ditaval /outdir:. /transtype:pdf2
*And here is the result: *BUILD FAILED D:\DITA-OT\build.xml:44: The following error occurred while executing this line: D:\DITA-OT\plugins\org.dita.base\build_preprocess.xml:24: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse
the input file 'D:\DITA-OT\conditional-text.ditamap'. The XML parser reported the following error: : conditional-
text.ditamap Line 2:cvc-elt.1.a: Cannot find the declaration of element 'val'.
*Here is the content of myconditional-text.ditamap * <?xml version="1.0" encoding="UTF-8"?> <val> <prop att="audience" val="electricians" action="include"/> <prop att="audience" val="plumbers" action="exclude"/> </val>
Can anyone tell me how to fix this?Thanks!
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user