OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [dita] Question on conditional processing before/after keyspace construction


Title: Re: [dita] Question on conditional processing before/after keyspace construction
Thanks! I guess I was confused by the following passage:
 
"Now each of the definitions of key "key-01" has a different value for the @platform property. The effective binding will depend on the setting for the platform property either at the time the key space is constructed (filtering applied first) or at the time the key referencee is resolved (filtering applied second).
 
In serial batch processors like the Open Toolkit or DITA2Go, the effect is the same for a given active property set. But for interactive systems like editors and content management systems the difference is important."
 
What does the phrase "the difference" refer to in this last sentence?
 
Cheers,
Su-Laine


From: Eliot Kimber [mailto:ekimber@reallysi.com]
Sent: Tue 2/8/2011 1:21 PM
To: Su-Laine Yeo; dita
Subject: Re: [dita] Question on conditional processing before/after keyspace construction

For a given set of conditions the effective result will always be the same
(ignoring conref issues).

The difference is that if filtering is applied *after* key space
construction, you have to hold all potentially-applicable key definitions so
that you can select the correct one based on resolution-time conditions.

However, for a given set of conditions you should get the same resolution
result whether you apply filtering before or after key space construction.

Or said another way, for a given set of conditions there is exactly one key
space for a given root map.

I say "ignoring conref" because conref results can differ depending on
whether or not filtering is applied before or after conref resolution (see
the interoperability appendix). But since that would only affect key space
construction in the case where you resolved all *direct* conrefs, then did
key space construction, then resolved any remaining indirect conrefs and one
or more key definitions were constructed via conref, that seems like an
unlikely case in practice.

Cheers,

E.

On 2/8/11 3:11 PM, "Su-Laine Yeo" <su-laine.yeo@justsystems.com> wrote:

> Hi everyone,

> The Understanding Keys and Key Spaces document seems to say that output of an
> information set might differ depending on whether conditional processing is
> applied before or after key space construction. Is this true? If it is, can
> anyone provide an example?

> Cheers,
> Su-Laine

> Su-Laine Yeo
> Solutions Consultant
>
> JustSystems Canada, Inc.
> Office: 1 (778) 327-6356
> syeo@justsystems.com <mailto:syeo@justsystems.com>



--
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 512.554.9368
www.reallysi.com
www.rsuitecms.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]