<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On 14 Jan 2006, at 17:43, Martin Wunderlich wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dear all,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">May I trouble ye with a few very detailed questions regarding XLIFF</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">and its implementation? I had a very close look at the specs and there</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">are a few that are not entirely clear to me. Here we go:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Under header-glossary a "glossary description" as contents for this</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">element. Is this to be understood as a simple text node?</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The contents of the the glossary is either an <internal-file> or an <external-file> element. The external-file element is strictly defined, whereas the internal-file element isn't, so I wouldn't imagine that it is necessarily safe to assume that this will only ever contain text nodes.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><prop> element: Does anyone have examples for "Tool-specific data or</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">text, no standard elements."? Again, is this to be interpreted as a</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">text node? (I know this element has been deprecated, but for backward</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">compatibility it should be taken into account, I guess)</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I took<FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"> "Tool-specific data or text, no standard elements." to mean that the contents of the prop element was at the sole discretion of the tool maker, as long as it didn't contain an Xliff defined element. As an example, I support the use of xliff files as base formats as well as just interchange formats, so I used the prop element to remember document preferences, such as last window position.</SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Also, as it specifically mentions data as well as text, I imagine that it would be possible to encounter nodes other than text nodes.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Presumably, unless your tool is the tool that created the prop information, you shouldn't try to interpret it, or change it.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">3.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">There are several elements, e.g. <tool>, which may contain "Zero, one</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">or more non-XLIFF elements." What are these elements and how are they</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">to be handled?</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>The tool element defines a tool in some detail. Other elements can then reference that information simply by providing the id. It saves those other elements having to provide repetitive information in a cluttered way.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Phase works in a similar way - describes information about a workflow phase, then allows that information to be referenced by other elements simply by providing the name - almost like a short-hand.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> Is that what you meant by "What are these elements"? Or have I gone off on a tangent?<BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">4.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Something rather curious for the <group> element. It says: "One or more <group>, <trans-unit>,<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><bin-unit> elements, in any order." Does this mean every group element _must_ contain at least one more</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">group element and at least one bin-unit element?</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span"> I took this to be "or" rather than "and" - so at least one trans-unit, <B>or</B> group, <B>or</B> bin-unit. However, I don't reject a file just because it has a group with no children! :-)</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">5.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><bin-target>: In the description it says: "The optional state<SPAN class="Apple-converted-space"> </SPAN>and state-qualifier attributes indicate</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">in which state the <bin-target> is."</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The list of optional attributes is given as: "mime-type, ts, state, phase-name, restype, resname." No</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">mention of a state-qualifier here. Does bin-target have a state-qualifier attribute or not?</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Well spotted - I never noticed that. Although if you look at the state-qualifier attribute you'll find :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"> "State-qualifier - Describes the state of a particular translation in a </SPAN></FONT><A href="file:///Volumes/Panther/Loc%20Proj%20Stuff/XLIFF/XLIFF%201.1%20Final%20Specification.html#target"><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent; text-decoration: none;"><target></SPAN></FONT></A><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"> or </SPAN></FONT><A href="file:///Volumes/Panther/Loc%20Proj%20Stuff/XLIFF/XLIFF%201.1%20Final%20Specification.html#bin-target"><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent; text-decoration: none;"><bin-target></SPAN></FONT></A><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"> element."</SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">6.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><bx /> has optional attributes 'ctype' and 'clone'. <ex /> doesn't. Does this mean that the values of</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">these two attributes by extension also apply to <ex />?</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The <ex /> is directly connected to the <bx /> via the rid - and is just an end marker for it, so it doesn't need the ctype and clone attributes. That's the way I took it up anyway...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Phew, that's all for the moment. Thanks a lot for any help in advance!</DIV></BLOCKQUOTE></DIV><FONT class="Apple-style-span" color="#0000DD"><BR class="khtml-block-placeholder"></FONT><DIV><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;">That's it,</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"> Hope it clarifies things rather than muddies them! </SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"> Cheers,</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><SPAN class="Apple-style-span" style="background-color: transparent;"> Mike.</SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>LocFactory Editor: a smart editor for Xliff, gettext (po), WorkGlossary and other common localisation formats.</DIV><DIV>www.locfactory.com</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>