Hi, Get a copy of DITA Keys Analyzer from http://www.maxprograms.com/products/keyanalyzer.html (it’s free).
Keys Analyzer can tell you if there are issues with your keys that need to be corrected before attempting to publish. Regards, Rodolfo -- Rodolfo M. Raya [email protected] Maxprograms http://www.maxprograms.com <http://www.maxprograms.com/> On 8/18/16, 11:43 AM, "David Goss" <[email protected] on behalf of [email protected]> wrote: Hi, I'm seeing a lot of warning about unresolved keys when processing filtered maps. These are caused by keys that are missing because both the topic causes the warning and the key are filtered out. Below is an example. If I process the below using the test.ditaval specified, I get a missing key for `some-key` in topic-b. Both some-key and topic-b are filtered out by the filter. This warning isn't really expected because topic-b shouldn't have been processed in the first place. (1) Is this the expected and desired behavior, or is it a bug? (2) If expected (if I recall, the spec is ambiguous on when filtering should happen, which is why the DITA-OT has a filter-stage parameter) is there a way to change the order of operations here so that filtering takes place before resolving keys? <!-- map.dita --> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> <map id="map"> <title>Test Map</title> <topicref href="topic-a.dita" product="product-a"/> <topicref href="topic-b.dita" product="product-b"/> <keydef keys="some-key" product="product-b"> <topicmeta> <keywords> <keyword>Test</keyword> </keywords> </topicmeta> </keydef> </map> <!-- test.ditaval --> <?xml version="1.0" encoding="utf-8"?> <val> <prop action="exclude" att="product" val="product-b"/> </val> <!-- topic-a.dita --> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd"> <topic id="topic-a"> <title>Test topic A</title> </topic> <!-- topic-a.dita --> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd"> <topic id="topic-b"> <title>Test topic B</title> <shortdesc>Here's a keyref: <ph keyref="some-key"/></shortdesc> </topic> <!-- warning that appears during processing --> (10:29 goss:~/test/ditac-ditaval)$ ditac -filter test.ditaval test.pdf map.ditamap ditac: WARNING: file:/home/goss/test/ditac-ditaval/topic-b.dita:5:53: cannot resolve keyref="some-key" and there is no href fallback attribute ------ David Goss , Technical Writer Frontier Science | www.fstrf.org 4033 Maple Rd, Amherst, NY 14226 (716) 834-0900 extension 7204 -- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support -- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

