[Bug 2878] "Element within text" data category

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2878





------- Comment #8 from ysavourel@translate.com  2006-03-13 22:08 -------

> But since there is only one value for this data category
> (which is different from translatability "yes" versus "no"),

I'm not sure about this. I think we might need two values: "yes' and "no".
for example in DocBook the element <firstname> is within text when its parent
is <address> but not within text when its parent is <personname>. So we would
have something like:

<its:withinText its:selector="//address/*" its:withinText="yes"/>
<its:withinText its:selector="//personname/*" its:withinText="no"/>

To be sure to set the right value to <firstname> (and the many elements like
<firstname>).

One could do it one by one obviously:

<its:withinText its:selector="//address/firstname" its:withinText="yes"/>
etc... (omitting the parents with mixed content)

but it would make things more complicated (I think).

Received on Monday, 13 March 2006 22:08:49 UTC