[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Fwd: RE: Lates versoin of XLIFF Profile for Windows Resources
Hi All, There may be a problem in the schema with our use of 'choice' in the "ElemType_header" complexType. Because choice defines a mutually exclusive grouping, this only allows one of the elements to occur. <xsd:complexType name="ElemType_header"> <xsd:sequence> <xsd:element name="skl" type="xlf:ElemType_ExternalReference" minOccurs="0" /> <xsd:element name="phase-group" type="xlf:ElemType_phase-group" minOccurs="0" /> <xsd:choice> <xsd:element name="glossary" type="xlf:ElemType_ExternalReference" minOccurs="0" maxOccurs="unbounded" /> <xsd:element name="reference" type="xlf:ElemType_ExternalReference" minOccurs="0" maxOccurs="unbounded" /> <xsd:element name="count-group" type="xlf:ElemType_count-group" minOccurs="0" maxOccurs="unbounded" /> <xsd:element name="prop-group" type="xlf:ElemType_prop-group" minOccurs="0" maxOccurs="unbounded" /> <xsd:element name="note" type="xlf:ElemType_note" minOccurs="0" maxOccurs="unbounded" /> <xsd:element name="tool" type="xlf:ElemType_tool" minOccurs="0" maxOccurs="unbounded" /> </xsd:choice> <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> </xsd:complexType> Our intent here is to allow any of these to occur in any order. We may be able to fix this by adding 'minOccurs="0" maxOccurs="unbounded"' to the choice element, which should allow more than one of these elements in the header. This was identified by Nikolai Tsepalov at PumaTech and brought to my attention. His thread is below. regards, john >>> "Nikolai" <nikolait@comcast.net> 2/16/04 10:14:27 PM >>> Hi John, My name is Nikolai. I work at Pumatech (http://www.pumatech.com <http://www.pumatech.com/> ) as L10N/I18N engineer. I'm working on XLIFF base tool for Windows binary resources exchange. Since Yves out of office until Feb 23, could you please answer my questions? Thanks, Nikolai -----Original Message----- From: Nikolai [mailto:nikolait@comcast.net] Sent: Monday, February 16, 2004 9:00 PM To: 'ysavourel@translate.com' Subject: RE: Lates versoin of XLIFF Profile for Windows Resources Hi Yves, I almost finished my XLIFF tool for Windows binary resources exchange. We are planning to use it for one of our projects. I have a few questions for you. Header format I did validation using XMLSpy and MSXML4.0 and both of them complain about header format: 'tool' should be in namespace ##other My understanding is that <tool> is a child node of the <header> node. I added "maxOccurs="unbounded"" in to <xsd:complexType name="ElemType_header"> <xsd:sequence> <xsd:element name="skl" type="xlf:ElemType_ExternalReference" minOccurs="0"/> <xsd:element name="phase-group" type="xlf:ElemType_phase-group" minOccurs="0"/> <xsd:choice maxOccurs="unbounded"> and error message disappeared. Looks like "choice" needs maxOccurs attrib to allow <header> have more than one child. Here my file sample. <?xml version="1.0" encoding="UTF-8"?> <xliff version="1.1" xmlns="urn:oasis:names:tc:xliff:document:1.1" xmlns:xyz="urn:appInfo:Items" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.1 http://www.oasis-open.org/committees/xliff/documents/xliff-core-1.1.xsd" > <file original="IS_goAnyResEnu.dll" source-language="en-us" target-language="de-de" datatype="winres"> <header> <count-group name="File Info"> <count unit="item" count-type="menu">2</count> <count unit="item" count-type="dialog">16</count> <count unit="item" count-type="string">195</count> <count unit="word" count-type="total">1704</count> <count unit="word" count-type="new">1704</count> </count-group> <tool tool-id="711" tool-name="ResourceUpdater" tool-version="1.0" tool-company="Pumatech"/> </header> <body></body> </file> </xliff> Recommended localization vendor and XLIFF editor My management is concern about XLIFF support on localization vendor's site. Which localization vendor (preferably USA based) would you recommend? Which XLIFF editor looks for you as the most comprehensive and easy to use at the same time? Tool certification program Do you (Committee) have tools certification program? Thanks, Nikolai -----Original Message----- From: Yves Savourel [mailto:ysavourel@translate.com] Sent: Friday, August 29, 2003 8:17 AM To: Nikolai Cc: ntsepalov@pumatech.com Subject: RE: Lates versoin of XLIFF Profile for Windows Resources Hello Nikolai, No, there has been only a little work on that since we started to work on XLIFF 1.1. The version 1.1 is now being driven through the OASIS process to become an OASIS standard. I would expect that work on the different profiles, including the one for RC, would resume around the end of September. Cheers, -yves -----Original Message----- From: Nikolai [mailto:nikolait@comcast.net] Sent: Thu, August 28, 2003 7:37 PM To: ysavourel@translate.com Cc: ntsepalov@pumatech.com Subject: Lates versoin of XLIFF Profile for Windows Resources Hi Yves, Several months back you sent me "XLIFF Profile for Windows Resources" which was Preliminary Working Draft, 6 July 2002. Do you have updated version of this document. Please send reply to my work (in CC) address as well. Thanks, Nikolai
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]