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: Tue, 14 Mar 2006 02:22:44 +0000
To: public-i18n-its@w3.org
Message-Id: <E1FIzBM-0004Vv-H0@wiggum.w3.org>


------- Comment #9 from fsasaki@w3.org  2006-03-14 02:22 -------
(In reply to comment #8)
> > 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"/>

It took some time, but now I understand.

> 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).

I think your proposal with "yes" and "no" looks good. Btw., is this only a
"global" data category? Or do we need also a local attribute its:withinText?
Received on Tuesday, 14 March 2006 02:22:54 UTC

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