You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
leads to a Cartesian product of labels and languages. This respects the definition of language-maps (and data-maps, by extension): "Given the list of values resulting from a language-taggable term map T, and the list of values resulting from its language map L, the resulting terms are generated by the n-ary Cartesian product combination of T × L, where the values in T are the lexical forms, and the values in L are the non-empty language tags."
Is this something we want (seems contradictory w.r.t. a seemingly conceivable use case). If not, there is (IMHO) something wrong with the specification, and we likely need some iteration manipulation (as @frmichel once suggested). If not, then the spec should give a concrete example with maybe a note or two.
The text was updated successfully, but these errors were encountered:
This is indeed a nice example that illustrates the issues (that were already there also with templates) when working with hierarchical data and trying to combine data elements respecting the hierarchical context of the data source.
Well, to me, LV solves the problem by "eliminating" the inconveniences of hierarchical docs and multi-valued expression maps by creating the logical equivalent of rows where the "scope" of multi-valued expression maps is nicely defined. My question can be rephrased as follows: do we recognize the proposed definition and its implications (in corner cases) and explicitly acknowledge and document such implications? In other words, do not solve it as it can be handled elsewhere.
Given the following XML for example:
Iterating over
/tasks/task
, I want to generate English and French labels from tasks.Allows me to do that, but why "hard-code" the languages. The problem is that
leads to a Cartesian product of labels and languages. This respects the definition of language-maps (and data-maps, by extension): "Given the list of values resulting from a language-taggable term map T, and the list of values resulting from its language map L, the resulting terms are generated by the n-ary Cartesian product combination of T × L, where the values in T are the lexical forms, and the values in L are the non-empty language tags."
Is this something we want (seems contradictory w.r.t. a seemingly conceivable use case). If not, there is (IMHO) something wrong with the specification, and we likely need some iteration manipulation (as @frmichel once suggested). If not, then the spec should give a concrete example with maybe a note or two.
The text was updated successfully, but these errors were encountered: