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 and keyref resolution

Title: Re: [dita] Question on conditional processing and keyref resolution
Hi Eliot,
You answered my question clearly, thanks. We thought that in this example, the <image> might need to be resolved using the PR3604 graphic  becuase the "product" attribute on the <image> matches the "product" attribute on the second <keydef>.
I have a couple more questions which I'll send along separately in order to keep the threads readable.
Thanks again for the quick response.

From: Eliot Kimber [mailto:ekimber@reallysi.com]
Sent: Tue 2/8/2011 11:14 AM
To: Su-Laine Yeo; dita
Subject: Re: [dita] Question on conditional processing and keyref resolution

Not sure I understand your question. If there is no filtering applied then
it must be as though all elements are unconditional and therefore the first
potentially-applicable binding must be the effective binding irrespective of
any applicability attributes they specify.

You say "because its conditions match". Match what? Matching is only
meaningful in the context of applying filtering for the purposes of key
space construction and key reference resolution (flagging is not relevant).
So if no filtering is applied there's nothing to match.



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

> Hi everyone,
> Here's another question on keyref resolution: If the user has not chosen to
> apply any filtering, should key resolution still take conditions into account?
> For example, say you are processing the following information set with no
> filtering:
> <map>
> ...
> <keydef keys = "illustration-toner-cartridge-access-panel"
> href="graphics/PR2015-toner-cartridge-access-panel.svg" product = "PR2015"/>
> <keydef keys = "illustration-toner-cartridge-access-panel"
> href="graphics/PR3604-toner-cartridge-access-panel.svg" product = "PR3604"/>
> ...
> </map>
> <topic>
> ...
> <image keyref = "illustration-toner-cartridge-access-panel" product =
> "PR3604"/>
> ...
> </topic>
> Should the <image> be resolved using the PR2015 graphic (because it comes
> first) or the PR3604 graphic (because its conditions match)?
> Best regards,
> 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

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