← Prev in month ← Prev in thread
Next in thread → Next in month →

Purpose of name attribute for <context-group>

From
Asgeir Frimannsson <>
Date
2005-04-12T03:49:23+00:00
ID
Thread
Purpose of name attribute for <context-group>
Hi,

In the XLIFF 1.1 Specification, under the description of the <context-group> 
element, the specification says:

"The required name attribute uniquely identifies the <context-group> within 
the file"

We've been discussing the meaning of this, and have two distinct opinions:

A) Each <context-group> element must have a unique name. You can't have two  
<context-group> XML elements within the same <file> with the same 'name' 
attribute.

B) Each collection of <context-group> elements must have a unique name. 
Meaning you can re-use the same 'name' attribute for a <context-group> at a 
different hierarchical level in your XLIFF file.

If option B is correct, would it be clearer to rephrase the specification to 
something like:

"The required name attribute uniquely identifies the collection  of 
<context-group> elements within the file"

cheers,
Asgeir Frimannsson
(for the XLIFF Tools project on freedesktop.org)
← Prev in month ← Prev in thread
Next in thread → Next in month →