[oXygen-user] Association Rules in frameworks

Scott Prentice sp14 at leximation.com
Tue Oct 17 17:54:35 CDT 2023


I've got two different DITA models that are similar, and each may be 
edited at the same time in Oxygen. Their DTDs are different and use 
different Public IDs. I'm developing a framework for each which applies 
slightly different schematron validation and CSS styling. It's my 
understanding that I should be able to target each model using the 
Association Rules, and in general this seems to work fine.

Since I'm trying to be very specific about which documents are to use 
each framework, I thought I'd keep the Association Rules to a minimum, 
basically just the specific Public IDs. It's my understanding that if a 
document matches any one of these rules, the framework will be applied 
.. so no need to include extra match rules  .. right?

One association rule that I see on many DITA frameworks is a Java Class 
rule of ..

     ro.sync.ecss.extensions.dita.topic.DITATopicCustomRuleMatcher

Can someone tell me what this does and is it needed in all cases?

Also .. and I may be mistaken .. but I think I'm seeing that after I 
remove all but the necessary rules from a particular framework, after 
some time, additional rules are added. When I close and save the 
framework, sometime later I go back and there are rules that match on 
Root Local Name .. concept, task, reference, etc. .. I'd swear I didn't 
add those. Do I have gremlins, or is this a feature?

Thanks!

...scott





More information about the oXygen-user mailing list