Re: [ITS-2.0-Testsuite] Typo (f322352)

I have fix this error with its:param.

Leroy


On 29 November 2012 19:55, Jirka Kosek <jirka@kosek.cz> wrote:

> On 29.11.2012 20:28, Yves Savourel wrote:
> > Hi Jirka, Leroy, Fredrik, all,
> >
> > To go back to this:
> >
> >> - <its:param name="termInfoRefPointer">target</its:param>
> >> + <its:param name="termInfoRefPointer">@target</its:param>
> >>
> >> ... This is inappropriate use of parameters. If the goal is
> >> to select attribute named target, then it should be
> >> target/its:param
> >
> > I'm don't think we can pass XPath expressions by the parameters.
> > Or this needs to be handled in a special way.
> >
> > Otherwise when we process termInfoRefPointer="$termInfoRefPointer" the
> value of the parameter does not get applied.
> > The resolver applies $termInfoRefPointer, but then is done and does not
> apply @target 9or whatever goes there).
> >
> > or am I missing something?
> > -yves
>
> You are right Yves, it seems that GitHub mangled code:
>
> This is inappropriate use of parameters. If the goal is to select
> attribute named target, then it should be
>
>  <its:param name="termInfoRefPointer">target</its:param>
>
>  <its:termRule selector="//term" term="yes"
> termInfoRefPointer="@*[local-name() = $termInfoRefPointer]"/>
>
>
>
> --
> ------------------------------------------------------------------
>   Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
> ------------------------------------------------------------------
>        Professional XML consulting and training services
>   DocBook customization, custom XSLT/XSL-FO document processing
> ------------------------------------------------------------------
>  OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
> ------------------------------------------------------------------
>     Bringing you XML Prague conference    http://xmlprague.cz
> ------------------------------------------------------------------
>
>

Received on Thursday, 6 December 2012 15:28:20 UTC