Re: within text html4 output

Am 29.04.13 02:30, schrieb Yves Savourel:
> Hi Leroy,
>
> No I think you understood the wiki page.
>
> But that last p element is at the receiving end of a global rule which should override the default.
>
> <p id=’copyright’> and we have:
>
> <its:withinTextRule selector="//h:p[@id=$withinparam]" withinText="yes"/>
>
> with
>
> <its:param name="withinparam">copyright</its:param>
>
> so, to me, that p should be withinText='yes'

I think that's correct.

Best,

Felix

>
> Put it another way: The default has not changed for p elements, so the result should be the same.
> -ys
>
>
> From: Leroy Finn [mailto:finnle@tcd.ie]
> Sent: Sunday, April 28, 2013 6:15 PM
> To: Yves Savourel
> Cc: Multilingual Web LT-TESTS Public
> Subject: Re: within text html4 output
>
> Hey Yves,
>
> I discussed this on a mail on Friday. See mail here:
>
> The only change seems to be in withintext4html. This change is based on the fact that only phrasing elements listed here http://www.w3.org/International/multilingualweb/lt/wiki/HTML5_Defaults#Elements_Within_Text are within text.
> The changes can be seen here: https://github.com/finnle/ITS-2.0-Testsuite/commit/71f62343a383a411c9069f671ed1e26acf65dde8
> Any thoughts or did i miss anything?
>
> Have I misunderstood the wiki page?
>
> Thanks,
> Leroy
>
> On 29 April 2013 01:06, Yves Savourel <ysavourel@enlaso.com> wrote:
> Hi Leroy, all,
>
> I noticed that the last p element in the html4 test of Element Within Text is now 'no':
> https://github.com/finnle/ITS-2.0-Testsuite/commit/71f62343a383a411c9069f671ed1e26acf65dde8
>
> But I'm not sure why. The input file seems to be the same and there that last p element has the id 'copyright' and the rules should still make it withinText='yes', no?
>
> <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
> <its:param name="withinparam">copyright</its:param>
> <its:withinTextRule selector="//h:span|//h:img|//h:em" withinText="yes"/>
> <its:withinTextRule selector="//h:cite" withinText="nested"/>
> <its:withinTextRule selector="//h:section/h:span" withinText="no"/>
> <its:withinTextRule selector="//h:p[@id=$withinparam]" withinText="yes"/>
>
> or am I missing something?
>
> Thanks,
> -yves
>
>
>
>
>
>

Received on Monday, 29 April 2013 07:58:59 UTC