← Prev in month ← Prev in thread

Rationale for Filtering Logic in Architecture Spec

From
Earley, Jim <>
Date
2008-05-06T18:15:29+00:00
ID
Thread
Rationale for Filtering Logic in Architecture Spec


Dear TC 
Members,

 

Pardon my ignorance 
on this particular subject, but I'm looking for clarification on the filtering 
logic for conditional metadata.  To paraphrase the Architecture Spec (and 
please correct me if I'm wrong), the logic is to create a conditional processing 
profile (DITAVAL file) that explicitly identifies the values to be excluded 
(otherwise, the content is included).  I'm not concerned with flagging 
right now.

 

The way I 
understand it now, unless you explicitly declare an exclusion, it will be 
included. I have several clients that want the reverse.  In 
other words, the processing model would:

 

* Include 
all elements where:

    a) there is a matching value for the identified attribute, 
OR

    
b) the identified attribute is not specified on the element

* Exclude elements 
that

    
a) the identified attribute is set, but there isn't a matching 
value

 

Some of 
my clients make heavy use of conditional processing, where it makes more 
sense to specify that the current collection of topics should be processed for 
audience A, platform B and product C rather than explicitly excluding audiences 
D, E, and F, and so forth.

 

What I'm wondering 
is why the specification only identifies the explicit exclusion model.  
Wouldn't it be reasonable to suggest that a DITA processor could implement an 
explicit inclusion model also?  

 

Any insight you can 
provide would be very helpful.  

 

Best 
Regards,

 

Jim 
Earley
← Prev in month ← Prev in thread