W3C home > Mailing lists > Public > public-i18n-its@w3.org > January to March 2006

[Bug 2878] "Element within text" data category

From: <bugzilla@wiggum.w3.org>
Date: Mon, 13 Mar 2006 22:08:41 +0000
CC:
To: public-i18n-its@w3.org
Message-Id: <E1FIvDV-0006uu-Mw@wiggum.w3.org>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:06 UTC