Following up from previous messages, but this is really a new (sub?) topic,
I think.

We have several customizations of props (conditionals), and those are not
treated the same as audience.
As per the previous thread. audience conditionalization works in the map
file.
Our customizations do not (names changed to protect the innocent).


sample.ditamap:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN"
"http://docs.oasis-open.org/dita/dtd/map.dtd";>
<map>
  <title>Sample map</title>

  <topicref weebles="newbie" href="sample.dita"/>
  <topicref weebles="experts" href="sample2.dita"/>
</map>



sample2.ditaval:

<?xml version="1.0" encoding="UTF-8"?>
<val>
  <prop att="weebles" action="exclude"/>
  <prop action="include" att="weebles" backcolor="#FFE0E0" val="newbie"/>
</val>


Just to show that the conditionals are being (somewhat processed), a revised
sample.dita:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN"
"http://docs.oasis-open.org/dita/dtd/topic.dtd";>
<topic id="sample_topic">
  <title>Sample topic</title>

  <body>
    <p>The intended audience of this topic are newbies.</p>
    <p weebles="experts">This paragraph should not appear.</p>
  </body>
</topic>



sample2.dita:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN"
"http://docs.oasis-open.org/dita/dtd/topic.dtd";>
<topic id="sample_topic2">
  <title>Sample topic</title>

  <body>
    <p>The intended audience of this topic are experts.</p>
  </body>
</topic>




The command line:

/c/ditac-1_2_0/bin/ditac.bat -xfc c:/xfc_perso_java-4_3_2/bin/fo2docx.bat
-filter sample2.ditaval  sample.docx sample.ditamap

The attached sample.docx shows that sample.dita is processed correctly (the
second paragraph is indeed missing as it should be)
the map is not and the sample2.dita contents are present.

We think this is a bug, (esp. in light of the previous thread where the map
conditionals are processed when 'audience' is used.)

-Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/ditac-support/attachments/20100325/c7b3aa53/attachment.htm
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.ditamap
Type: application/octet-stream
Size: 279 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/ditac-support/attachments/20100325/c7b3aa53/attachment.dll
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample2.ditaval
Type: application/octet-stream
Size: 166 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/ditac-support/attachments/20100325/c7b3aa53/attachment-0001.dll
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.dita
Type: application/octet-stream
Size: 349 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/ditac-support/attachments/20100325/c7b3aa53/attachment-0002.dll
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample2.dita
Type: application/octet-stream
Size: 287 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/ditac-support/attachments/20100325/c7b3aa53/attachment-0003.dll
 

Reply via email to