Hi,I've encountered strange behaviour of DITAC that seems to me as a bug in filtering when attribute groups are used.
Consider that map includes topic by: <topicref href="topic-for-group-B.dita" audience="group(B)"/>Now lets consider that I want to include only topics belonging into group A. I will use the following .ditaval file
<val> <prop action="exclude" att="group"/> <prop action="include" att="group" val="A"/> </val>However topic topic-for-group-B.dita is included. It seems that exclude for group in .ditaval is ignored.
If I will modify .ditaval to exclude all profiling attributes and groups instead, filtering works correctly:
<val> <prop action="exclude"/> <prop action="include" att="group" val="A"/> </val>Filtering works correctly also if I will directly reference profiling attribute instead of attribute group in .ditaval as:
<val> <prop action="exclude" att="audience"/> <prop action="include" att="group" val="A"/> </val> So to me it seems that following is being ignored by ditac: <prop action="exclude" att="group"/>Seems like attribute groups are not honored for exclusions in ditac. My understading of DITAC specs is that this should work and DITA-OT also support this -- and produces different output than DITAC when filtering is applied in this way.
Many thanks in advance for looking into this issue.
Have a nice day,
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: [email protected] http://xmlguru.cz
------------------------------------------------------------------
Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
Bringing you XML Prague conference http://xmlprague.cz
------------------------------------------------------------------
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

