[xliff-tools] XLIFF detailed questions
asgeirf at gmail.com
Sun Jan 15 03:49:42 PST 2006
On 15/01/06, Martin Wunderlich <martin_wu at gmx.net> wrote:
> There are several elements, e.g. <tool>, which may contain "Zero, one
> or more non-XLIFF elements." What are these elements and how are they
> to be handled?
Anywhere you see "Zero, one or more non-XLIFF elements" in the
specification, it refers to XLIFF's extensibility mechanisms through
XML namespaces. Read section 2.5 (Extensibility) in the XLIFF spec for
a good overview of this.
A good example of how these elements could be used is found in the
HTML profile (available from the XLIFF document repository).
How are these to be handled? A localisation tool could e.g. use the
extra data stored in the HTML namespace to provide a visual editor for
XLIFF based on the html profile. In general, tools that don't know how
to process this data should ignore it AND preserve it. So if I send
you an XLIFF file generated by my tool, including my xyz namespace
extensions, your tool should ignore the xyz extensions when loading
the file, and make sure they are still there when the file is saved.
Hope this helps!
More information about the xliff-tools