OASIS XML Localisation Interchange File Format (XLIFF) TC

Expand all | Collapse all

Request approval of "Preserve XML attribute or metadata without extensibility" proposal

  • 1.  Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-12-2012 23:23
      |   view attached
    I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0 ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 2.  Re: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-13-2012 10:45
      |   view attached
    I second Dr. David Filip ======================= LRC CNGL LT-Web CSIS University of Limerick, Ireland telephone: +353-6120-2781 cellphone: +353-86-0222-158 facsimile: +353-6120-2734 mailto: david.filip@ul.ie On Mon, Mar 12, 2012 at 23:22, Schnabel, Bryan S < bryan.s.schnabel@tektronix.com > wrote: I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0 ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 3.  RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-13-2012 14:17
      |   view attached
    Hi Bryan,   Could you define what “metadata” means in your example? Is that implying that some of the metadata could be XML element content too?   I’m also wondering why XML source documents should have a specific way of being stored? Couldn’t HTML5 metadata be also important for example?   Cheers, -yves       From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Monday, March 12, 2012 5:23 PM To: xliff@lists.oasis-open.org Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0 ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 4.  RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-13-2012 14:26
    Hi Yves, Nice catch. Bad wording on my part. The scope I had in mind was more narrow. I would change the wording now to say "Preserve XML attributes and XML attribute metadata without using extensibility." Even these words are a bit obscure. But I mean the attribute value, and some if its supporting information (its metadata), like its type, translate y/n, etc. Metadata was a poorly chosen word. Sorry for the sloppiness. - Bryan ________________________________________ From: xliff@lists.oasis-open.org [xliff@lists.oasis-open.org] On Behalf Of Yves Savourel [ysavourel@enlaso.com] Sent: Tuesday, March 13, 2012 7:17 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal Hi Bryan, Could you define what “metadata” means in your example? Is that implying that some of the metadata could be XML element content too? I’m also wondering why XML source documents should have a specific way of being stored? Couldn’t HTML5 metadata be also important for example? Cheers, -yves From: xliff@lists.oasis-open.org [ mailto:xliff@lists.oasis-open.org ] On Behalf Of Schnabel, Bryan S Sent: Monday, March 12, 2012 5:23 PM To: xliff@lists.oasis-open.org Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0 ). If any voting member of the TC agrees, please second. Here's some background. Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend. Consider this XML element: <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para> If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case. Example: <trans-unit id="para-73"> <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold> <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold> <meta-hold name="rev">c</meta-hold> <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit> I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints. Modification to schema: <xsd:element name="meta-hold"> <xsd:complexType mixed="true"> <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/> <xsd:attribute name="name" type="xsd:string" use="required"/> <xsd:attribute name="type" use="optional"/> <xsd:attribute name="translate" use="optional"/> </xsd:complexType> </xsd:element> Allow the usual inline elements, but do not allow nested <meta-hold> elements <xsd:group name="ElemGroup_TextContent"> <xsd:choice> <xsd:element ref="xlf:g"/> <xsd:element ref="xlf:bpt"/> <xsd:element ref="xlf:ept"/> <xsd:element ref="xlf:ph"/> <xsd:element ref="xlf:it"/> <xsd:element ref="xlf:mrk"/> <xsd:element ref="xlf:x"/> <xsd:element ref="xlf:bx"/> <xsd:element ref="xlf:ex"/> </xsd:choice> </xsd:group> Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea. Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com< http://www.tektronix.com/ > [cid:image001.gif@01CD00F1.A7D00A80]< http://www.tek.com/signature/twitter >[cid:image002.gif@01CD00F1.A7D00A80]< http://www.tek.com/signature/rss > [cid:image003.gif@01CD00F1.A7D00A80] < http://www.tek.com/signature/facebook > [cid:image004.gif@01CD00F1.A7D00A80] < http://www.tek.com/signature/webstore > [cid:image005.gif@01CD00F1.A7D00A80]


  • 5.  RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-13-2012 14:54
      |   view attached
    Hi,   There shouldn’t be something specific for XML. If there is a  needs preserving metadata, the solution should be generic and contemplate formats like HTML5 or PO as well.   We could recover the concept of “group” from XLIFF 1.2 and implement it as an optional module that would allow storing information at different levels, like <file>, <unit>, <segment> and <match>.   With two elements living in a separate namespace we could store lots of optional information like in this example:   <unit>   <segment>    <source>Translate me!</source>   </segment>   <mtd:metaHolder type =”attributes”>     <mtd:meta key =”id”>gr_3456</meta>     <mtd:meta key =”bold”>yes</meta>   </mtd:metaHolder>   <mtd:metaHolder type =”count”>     <mtd:meta key =”words”>2</meta>     <mtd:meta key =”chars”>13</meta>   </mtd:metaHolder> </unit>   One attribute in the main holder element would indicate the type of metadata and another attribute would define the key of a key-value pair.   In the module specification we could define a set of standard information types that covers what we have in XLIFF 1.2 and add new ones as needed to cover things that are currently handled by custom extensions in XLIFF 1.2.   This schema used in <match > or <matches> would be quite useful for storing metadata that today we can’t store in <alt-trans>.   Applications that don’t understand certain type of metadata would be able to safely ignore the proposed elements, as with any element coming from an optional module.   Regards, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://ww w.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Yves Savourel Sent: Tuesday, March 13, 2012 11:17 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Bryan,   Could you define what “metadata” means in your example? Is that implying that some of the metadata could be XML element content too?   I’m also wondering why XML source documents should have a specific way of being stored? Couldn’t HTML5 metadata be also important for example?   Cheers, -yves       From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Monday, March 12, 2012 5:23 PM To: xliff@lists.oasis-open.org Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0 ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 6.  General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)

    Posted 03-13-2012 19:16
      |   view attached
    Hi Rodolfo,   I love this proposal. This covers 90% of my intent - plus 100% of Yves' concern. I wonder if we could add the remaining 10% of my intent by adding a translate y/n dimension? But in doing so, it would be important to keep in mind David W.'s excellent point that adding a second <s>/<t> pair would be a game-changer ( http://lists.oasis-open.org/archives/xliff/201203/msg00028.html ).   I am very much leaning toward doing the following.   1. withdraw my earlier proposal (and with that David's second goes away) 2. ask that you co-own this feature 3. add your generi-sized and improved functionality to the wiki summary 4. decide if translatable strings are in scope 5. re-propose the feature after dispensing with 1 thru 4   What do people think of this approach?   - Bryan   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Rodolfo M. Raya Sent: Tuesday, March 13, 2012 7:54 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi,   There shouldn’t be something specific for XML. If there is a  needs preserving metadata, the solution should be generic and contemplate formats like HTML5 or PO as well.   We could recover the concept of “group” from XLIFF 1.2 and implement it as an optional module that would allow storing information at different levels, like <file>, <unit>, <segment> and <match>.   With two elements living in a separate namespace we could store lots of optional information like in this example:   <unit>   <segment>    <source>Translate me!</source>   </segment>   <mtd:metaHolder type =”attributes”>     <mtd:meta key =”id”>gr_3456</meta>     <mtd:meta key =”bold”>yes</meta>   </mtd:metaHolder>   <mtd:metaHolder type =”count”>     <mtd:meta key =”words”>2</meta>     <mtd:meta key =”chars”>13</meta>   </mtd:metaHolder> </unit>   One attribute in the main holder element would indicate the type of metadata and another attribute would define the key of a key-value pair.   In the module specification we could define a set of standard information types that covers what we have in XLIFF 1.2 and add new ones as needed to cover things that are currently handled by custom extensions in XLIFF 1.2.   This schema used in <match > or <matches> would be quite useful for storing metadata that today we can’t store in <alt-trans>.   Applications that don’t understand certain type of metadata would be able to safely ignore the proposed elements, as with any element coming from an optional module.   Regards, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://ww w.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Yves Savourel Sent: Tuesday, March 13, 2012 11:17 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Bryan,   Could you define what “metadata” means in your example? Is that implying that some of the metadata could be XML element content too?   I’m also wondering why XML source documents should have a specific way of being stored? Couldn’t HTML5 metadata be also important for example?   Cheers, -yves       From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Monday, March 12, 2012 5:23 PM To: xliff@lists.oasis-open.org Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0 ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 7.  RE: [xliff] General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)

    Posted 03-13-2012 20:33
      |   view attached
    Hi Bryan,   There should be only one <source>/target> pair per segment. The two translatable portions from your example should be in their own <unit> because if you use two <segment> elements within one <unit>, they could be merged or split by the translator and that’s something you will not like.   We already have a “translate” attribute at segment level. It is not necessary to put that information in a metadata container.   If you want to withdraw your original proposal and make  a new one based in the examples I provided, then I’ll second the new initiative.   Regards, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://www.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 4:15 PM To: Rodolfo M. Raya; xliff@lists.oasis-open.org Subject: [xliff] General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)   Hi Rodolfo,   I love this proposal. This covers 90% of my intent - plus 100% of Yves' concern. I wonder if we could add the remaining 10% of my intent by adding a translate y/n dimension? But in doing so, it would be important to keep in mind David W.'s excellent point that adding a second <s>/<t> pair would be a game-changer ( http://lists.oasis-open.org/archives/xliff/201203/msg00028.html ).   I am very much leaning toward doing the following.   1. withdraw my earlier proposal (and with that David's second goes away) 2. ask that you co-own this feature 3. add your generi-sized and improved functionality to the wiki summary 4. decide if translatable strings are in scope 5. re-propose the feature after dispensing with 1 thru 4   What do people think of this approach?   - Bryan   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Rodolfo M. Raya Sent: Tuesday, March 13, 2012 7:54 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi,   There shouldn’t be something specific for XML. If there is a  needs preserving metadata, the solution should be generic and contemplate formats like HTML5 or PO as well.   We could recover the concept of “group” from XLIFF 1.2 and implement it as an optional module that would allow storing information at different levels, like <file>, <unit>, <segment> and <match>.   With two elements living in a separate namespace we could store lots of optional information like in this example:   <unit>   <segment>    <source>Translate me!</source>   </segment>   <mtd:metaHolder type =”attributes”>     <mtd:meta key =”id”>gr_3456</meta>     <mtd:meta key =”bold”>yes</meta>   </mtd:metaHolder>   <mtd:metaHolder type =”count”>     <mtd:meta key =”words”>2</meta>     <mtd:meta key =”chars”>13</meta>   </mtd:metaHolder> </unit>   One attribute in the main holder element would indicate the type of metadata and another attribute would define the key of a key-value pair.   In the module specification we could define a set of standard information types that covers what we have in XLIFF 1.2 and add new ones as needed to cover things that are currently handled by custom extensions in XLIFF 1.2.   This schema used in <match > or <matches> would be quite useful for storing metadata that today we can’t store in <alt-trans>.   Applications that don’t understand certain type of metadata would be able to safely ignore the proposed elements, as with any element coming from an optional module.   Regards, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://ww w.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Yves Savourel Sent: Tuesday, March 13, 2012 11:17 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Bryan,   Could you define what “metadata” means in your example? Is that implying that some of the metadata could be XML element content too?   I’m also wondering why XML source documents should have a specific way of being stored? Couldn’t HTML5 metadata be also important for example?   Cheers, -yves       From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Monday, March 12, 2012 5:23 PM To: xliff@lists.oasis-open.org Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0 ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 8.  RE: [xliff] General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)

    Posted 03-13-2012 21:04
      |   view attached
    I formally withdraw my request for promotion of "Preserve XML attribute or metadata without extensibility" proposal in its current state.   I will update the wiki with the improvements Rodolfo has suggested, and renew the request shortly.   Rodolfo, is it okay if I add you as a co-owner?   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Rodolfo M. Raya Sent: Tuesday, March 13, 2012 1:33 PM To: xliff@lists.oasis-open.org Subject: RE: [xliff] General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)   Hi Bryan,   There should be only one <source>/target> pair per segment. The two translatable portions from your example should be in their own <unit> because if you use two <segment> elements within one <unit>, they could be merged or split by the translator and that’s something you will not like.   We already have a “translate” attribute at segment level. It is not necessary to put that information in a metadata container.   If you want to withdraw your original proposal and make  a new one based in the examples I provided, then I’ll second the new initiative.   Regards, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://www.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 4:15 PM To: Rodolfo M. Raya; xliff@lists.oasis-open.org Subject: [xliff] General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)   Hi Rodolfo,   I love this proposal. This covers 90% of my intent - plus 100% of Yves' concern. I wonder if we could add the remaining 10% of my intent by adding a translate y/n dimension? But in doing so, it would be important to keep in mind David W.'s excellent point that adding a second <s>/<t> pair would be a game-changer ( http://lists.oasis-open.org/archives/xliff/201203/msg00028.html ).   I am very much leaning toward doing the following.   1. withdraw my earlier proposal (and with that David's second goes away) 2. ask that you co-own this feature 3. add your generi-sized and improved functionality to the wiki summary 4. decide if translatable strings are in scope 5. re-propose the feature after dispensing with 1 thru 4   What do people think of this approach?   - Bryan   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Rodolfo M. Raya Sent: Tuesday, March 13, 2012 7:54 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi,   There shouldn’t be something specific for XML. If there is a  needs preserving metadata, the solution should be generic and contemplate formats like HTML5 or PO as well.   We could recover the concept of “group” from XLIFF 1.2 and implement it as an optional module that would allow storing information at different levels, like <file>, <unit>, <segment> and <match>.   With two elements living in a separate namespace we could store lots of optional information like in this example:   <unit>   <segment>    <source>Translate me!</source>   </segment>   <mtd:metaHolder type =”attributes”>     <mtd:meta key =”id”>gr_3456</meta>     <mtd:meta key =”bold”>yes</meta>   </mtd:metaHolder>   <mtd:metaHolder type =”count”>     <mtd:meta key =”words”>2</meta>     <mtd:meta key =”chars”>13</meta>   </mtd:metaHolder> </unit>   One attribute in the main holder element would indicate the type of metadata and another attribute would define the key of a key-value pair.   In the module specification we could define a set of standard information types that covers what we have in XLIFF 1.2 and add new ones as needed to cover things that are currently handled by custom extensions in XLIFF 1.2.   This schema used in <match > or <matches> would be quite useful for storing metadata that today we can’t store in <alt-trans>.   Applications that don’t understand certain type of metadata would be able to safely ignore the proposed elements, as with any element coming from an optional module.   Regards, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://ww w.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Yves Savourel Sent: Tuesday, March 13, 2012 11:17 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Bryan,   Could you define what “metadata” means in your example? Is that implying that some of the metadata could be XML element content too?   I’m also wondering why XML source documents should have a specific way of being stored? Couldn’t HTML5 metadata be also important for example?   Cheers, -yves       From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Monday, March 12, 2012 5:23 PM To: xliff@lists.oasis-open.org Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0 ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 9.  RE: [xliff] General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)

    Posted 03-13-2012 21:08
      |   view attached
    Hi Bryan,   Yes, go ahead and add me as co-owner.   Regards, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://www.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 6:03 PM To: Rodolfo M. Raya; xliff@lists.oasis-open.org Subject: RE: [xliff] General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)   I formally withdraw my request for promotion of "Preserve XML attribute or metadata without extensibility" proposal in its current state.   I will update the wiki with the improvements Rodolfo has suggested, and renew the request shortly.   Rodolfo, is it okay if I add you as a co-owner?   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Rodolfo M. Raya Sent: Tuesday, March 13, 2012 1:33 PM To: xliff@lists.oasis-open.org Subject: RE: [xliff] General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)   Hi Bryan,   There should be only one <source>/target> pair per segment. The two translatable portions from your example should be in their own <unit> because if you use two <segment> elements within one <unit>, they could be merged or split by the translator and that’s something you will not like.   We already have a “translate” attribute at segment level. It is not necessary to put that information in a metadata container.   If you want to withdraw your original proposal and make  a new one based in the examples I provided, then I’ll second the new initiative.   Regards, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://www.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 4:15 PM To: Rodolfo M. Raya; xliff@lists.oasis-open.org Subject: [xliff] General metadata preservation, not just XML attributes (was RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal)   Hi Rodolfo,   I love this proposal. This covers 90% of my intent - plus 100% of Yves' concern. I wonder if we could add the remaining 10% of my intent by adding a translate y/n dimension? But in doing so, it would be important to keep in mind David W.'s excellent point that adding a second <s>/<t> pair would be a game-changer ( http://lists.oasis-open.org/archives/xliff/201203/msg00028.html ).   I am very much leaning toward doing the following.   1. withdraw my earlier proposal (and with that David's second goes away) 2. ask that you co-own this feature 3. add your generi-sized and improved functionality to the wiki summary 4. decide if translatable strings are in scope 5. re-propose the feature after dispensing with 1 thru 4   What do people think of this approach?   - Bryan   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Rodolfo M. Raya Sent: Tuesday, March 13, 2012 7:54 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi,   There shouldn’t be something specific for XML. If there is a  needs preserving metadata, the solution should be generic and contemplate formats like HTML5 or PO as well.   We could recover the concept of “group” from XLIFF 1.2 and implement it as an optional module that would allow storing information at different levels, like <file>, <unit>, <segment> and <match>.   With two elements living in a separate namespace we could store lots of optional information like in this example:   <unit>   <segment>    <source>Translate me!</source>   </segment>   <mtd:metaHolder type =”attributes”>     <mtd:meta key =”id”>gr_3456</meta>     <mtd:meta key =”bold”>yes</meta>   </mtd:metaHolder>   <mtd:metaHolder type =”count”>     <mtd:meta key =”words”>2</meta>     <mtd:meta key =”chars”>13</meta>   </mtd:metaHolder> </unit>   One attribute in the main holder element would indicate the type of metadata and another attribute would define the key of a key-value pair.   In the module specification we could define a set of standard information types that covers what we have in XLIFF 1.2 and add new ones as needed to cover things that are currently handled by custom extensions in XLIFF 1.2.   This schema used in <match > or <matches> would be quite useful for storing metadata that today we can’t store in <alt-trans>.   Applications that don’t understand certain type of metadata would be able to safely ignore the proposed elements, as with any element coming from an optional module.   Regards, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://ww w.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Yves Savourel Sent: Tuesday, March 13, 2012 11:17 AM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Bryan,   Could you define what “metadata” means in your example? Is that implying that some of the metadata could be XML element content too?   I’m also wondering why XML source documents should have a specific way of being stored? Couldn’t HTML5 metadata be also important for example?   Cheers, -yves       From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Monday, March 12, 2012 5:23 PM To: xliff@lists.oasis-open.org Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0 ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 10.  Re: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-13-2012 14:43
      |   view attached
    What is the purpose of making these attribute values available within XLIFF?  Is it related to the "preview" function that has been proposed?  Providing this as a way to handle translatable attribute values does not seem to fit into the XLIFF structure very well.  You would have to provide this text within <source> and <target> elements to make this translatable.  Now you could have multiple (2+) translatable strings defined within one <trans-unit>.  I thought we were tending towards making each translatable attribute value a separate <trans-unit> element. I agree with Yves when he asked about why limit it to XML.  This concept could apply to many non-XML file format, like HTML, resource files, message files, etc. David Corporate Globalization Tool Development EMail:  waltersd@us.ibm.com           Phone: (507) 253-7278,   T/L:553-7278,   Fax: (507) 253-1721 CHKPII:                     http://w3-03.ibm.com/globalization/page/2011 TM file formats:     http://w3-03.ibm.com/globalization/page/2083 TM markups:         http://w3-03.ibm.com/globalization/page/2071 "Schnabel, Bryan S" ---03/12/2012 06:23:37 PM---I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without From: "Schnabel, Bryan S" <bryan.s.schnabel@tektronix.com> To: "xliff@lists.oasis-open.org" <xliff@lists.oasis-open.org> Date: 03/12/2012 06:23 PM Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal Sent by: <xliff@lists.oasis-open.org> I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility  ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0  ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 11.  RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-13-2012 19:01
      |   view attached
    Hi David,   This is not at all related to the preview function (I think). It's just about round-tripping XML and not needing extensibility.   (spoiler alert, I've seen notes from this thread, after this one, where my eyes have been opened to the fact that the requirement may realistically be morphing into a general metadata handling issue, not just XML attributes. But for the excellent issues you raise, here goes . . .)   Attribute values (and names) need to be preserved in XLIFF whether we translate them or not. And beyond that, I think in some cases knowing the type could be useful in the translation workflow. I understand your point that having multiple translatable string sets in a single trans-unit is a new way of thinking. And I understand how this could be viewed negatively.   But to look at the flipside, I can also see negative aspects to storing attributes in two different ways depending on whether or not the attribute needs to be translated. And I perceive a need to preserve attributes w/o extensibility.   Going back to my example:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   In order to preserve the id, alt, and rev, and translate the alt, I suppose, off the top of my head we would do something like:   (a) <trans-unit restype="x-myxml-para"                      id="para-73"                      mynspace:id="g_3423"                      mynspace:alt="It's orders of magnitude faster"                      mynspace:alt_idref="a1"                      mynspace:rev="c">     <source> This is orders of magnitude faster than swept analysis techniques.</source>     <target /> </trans-unit>   <trans-unit restype="x-myxml_attribute-alt"                      id="a1">     <source> It's orders of magnitude faster </source>     <target /> </trans-unit>   (perhaps I overlooked a better way than the example above)   But to tell you the truth, the idea of needing a second pair of <source>/<target> is an inelegance I completely spaced on (oh, boy). So let's see if my proposal still works with that reality:   (b) <trans-unit restype="x-myxml-para"                      id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">        <source>It's orders of magnitude faster</source>        <target />     </meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   To my eyes, (b) looks a lot better than (a).   But I'm happy to hear why (a) is better than (b), or a better alternative is available.   Thanks,   Bryan   From: David Walters [mailto:waltersd@us.ibm.com] Sent: Tuesday, March 13, 2012 7:42 AM To: Schnabel, Bryan S Cc: xliff@lists.oasis-open.org Subject: Re: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   What is the purpose of making these attribute values available within XLIFF?  Is it related to the "preview" function that has been proposed?  Providing this as a way to handle translatable attribute values does not seem to fit into the XLIFF structure very well.  You would have to provide this text within <source> and <target> elements to make this translatable.  Now you could have multiple (2+) translatable strings defined within one <trans-unit>.  I thought we were tending towards making each translatable attribute value a separate <trans-unit> element. I agree with Yves when he asked about why limit it to XML.  This concept could apply to many non-XML file format, like HTML, resource files, message files, etc. David Corporate Globalization Tool Development EMail:  waltersd@us.ibm.com           Phone: (507) 253-7278,   T/L:553-7278,   Fax: (507) 253-1721 CHKPII:                     http://w3-03.ibm.com/globalization/page/2011 TM file formats:     http://w3-03.ibm.com/globalization/page/2083 TM markups:         http://w3-03.ibm.com/globalization/page/2071 "Schnabel, Bryan S" ---03/12/2012 06:23:37 PM---I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without From: "Schnabel, Bryan S" <bryan.s.schnabel@tektronix.com> To: "xliff@lists.oasis-open.org" <xliff@lists.oasis-open.org> Date: 03/12/2012 06:23 PM Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal Sent by: <xliff@lists.oasis-open.org> I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility  ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0  ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 12.  RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-13-2012 20:24
      |   view attached
    Hi Bryan,   Your examples are based on the “old” XLIFF 1.2 and we are working on version 2.0. One of the details we all agreed for XLIFF 2.0 is that we will no longer have sub-flow elements in inline markup. All text belonging to a sub-flow should be in its own <unit>.   Your example:     <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This     is orders  of magnitude faster than swept analysis techniques.</para>   needs to be stored in two <unit> elements, like this:   <unit id=”1”>   <segment>     <source> This is orders of magnitude faster than swept analysis techniques.</source>   </segment> </unit> <unit id=”2”>   <segment>     <source>It's orders of magnitude faster </source>   </segment> </unit>   If we use the module for metadata that I proposed previously, you could have your attributes stored in this way:   <unit id=”1”>   <segment>     <source> This is orders of magnitude faster than swept analysis techniques.</source>   </segment>   <mtd:metaHolder type=”x-attributes”>     <mtd:meta key=”id”> g_3423_spectrum </mtd:meta>   </mtd:metaHolder> </unit> <unit id=”2”>   <segment>     <source>It's orders of magnitude faster </source>     <mtd:metaHolder type=”x-attribute-subflow”>       <mtd:meta key=”att-name”>alt</mtd:meta>     <mtd:metaHolder>     </segment> </unit>   In the example above I placed metadata at two different levels. In the first case I used <unit> level to indicate attributes of the source XML element. In the second case I placed the data at <segment> level and indicated from which attribute it comes.   Any tool except your extraction filter should be able to safely ignore that metadata. As it would be only interesting for your tool, I prefixed the value in the “type” attribute with “x-“, as we used to do in old versions to indicate custom values.   Hope this helps, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://www.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 4:01 PM To: David Walters Cc: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi David,   This is not at all related to the preview function (I think). It's just about round-tripping XML and not needing extensibility.   (spoiler alert, I've seen notes from this thread, after this one, where my eyes have been opened to the fact that the requirement may realistically be morphing into a general metadata handling issue, not just XML attributes. But for the excellent issues you raise, here goes . . .)   Attribute values (and names) need to be preserved in XLIFF whether we translate them or not. And beyond that, I think in some cases knowing the type could be useful in the translation workflow. I understand your point that having multiple translatable string sets in a single trans-unit is a new way of thinking. And I understand how this could be viewed negatively.   But to look at the flipside, I can also see negative aspects to storing attributes in two different ways depending on whether or not the attribute needs to be translated. And I perceive a need to preserve attributes w/o extensibility.   Going back to my example:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   In order to preserve the id, alt, and rev, and translate the alt, I suppose, off the top of my head we would do something like:   (a) <trans-unit restype="x-myxml-para"                      id="para-73"                      mynspace:id="g_3423"                      mynspace:alt="It's orders of magnitude faster"                      mynspace:alt_idref="a1"                      mynspace:rev="c">     <source> This is orders of magnitude faster than swept analysis techniques.</source>     <target /> </trans-unit>   <trans-unit restype="x-myxml_attribute-alt"                      id="a1">     <source> It's orders of magnitude faster </source>     <target /> </trans-unit>   (perhaps I overlooked a better way than the example above)   But to tell you the truth, the idea of needing a second pair of <source>/<target> is an inelegance I completely spaced on (oh, boy). So let's see if my proposal still works with that reality:   (b) <trans-unit restype="x-myxml-para"                      id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">        <source>It's orders of magnitude faster</source>        <target />     </meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   To my eyes, (b) looks a lot better than (a).   But I'm happy to hear why (a) is better than (b), or a better alternative is available.   Thanks,   Bryan   From: David Walters [mailto:waltersd@us.ibm.com] Sent: Tuesday, March 13, 2012 7:42 AM To: Schnabel, Bryan S Cc: xliff@lists.oasis-open.org Subject: Re: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   What is the purpose of making these attribute values available within XLIFF?  Is it related to the "preview" function that has been proposed?  Providing this as a way to handle translatable attribute values does not seem to fit into the XLIFF structure very well.  You would have to provide this text within <source> and <target> elements to make this translatable.  Now you could have multiple (2+) translatable strings defined within one <trans-unit>.  I thought we were tending towards making each translatable attribute value a separate <trans-unit> element. I agree with Yves when he asked about why limit it to XML.  This concept could apply to many non-XML file format, like HTML, resource files, message files, etc. David Corporate Globalization Tool Development EMail:   waltersd@us.ibm.com           Phone: (507) 253-7278,   T/L:553-7278,   Fax: (507) 253-1721 CHKPII:                     http://w3-03.ibm.com/globalization/page/2011 TM file formats:     http://w3-03.ibm.com/globalization/page/2083 TM markups:         http://w3-03.ibm.com/globalization/page/2071 "Schnabel, Bryan S" ---03/12/2012 06:23:37 PM---I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without From: "Schnabel, Bryan S" < bryan.s.schnabel@tektronix.com > To: " xliff@lists.oasis-open.org " < xliff@lists.oasis-open.org > Date: 03/12/2012 06:23 PM Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal Sent by: < xliff@lists.oasis-open.org > I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility  ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0  ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 13.  RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-13-2012 20:45
      |   view attached
    Hi Rodolfo,   That does help. As I was proposing it, I did not see the metadata holder as a sub-flow element, nor did I see it as inline markup. But that is just my blind spot I suppose (maybe more the former, and less the latter).   So that part of my proposal is drudging up old mud. I should remove that 10% but still think about the better method you adapted.   I'll answer that on the appropriate thread (that I just saw enter my mail box).   Thanks,   Bryan   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Rodolfo M. Raya Sent: Tuesday, March 13, 2012 1:24 PM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Bryan,   Your examples are based on the “old” XLIFF 1.2 and we are working on version 2.0. One of the details we all agreed for XLIFF 2.0 is that we will no longer have sub-flow elements in inline markup. All text belonging to a sub-flow should be in its own <unit>.   Your example:     <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This     is orders  of magnitude faster than swept analysis techniques.</para>   needs to be stored in two <unit> elements, like this:   <unit id=”1”>   <segment>     <source> This is orders of magnitude faster than swept analysis techniques.</source>   </segment> </unit> <unit id=”2”>   <segment>     <source>It's orders of magnitude faster </source>   </segment> </unit>   If we use the module for metadata that I proposed previously, you could have your attributes stored in this way:   <unit id=”1”>   <segment>     <source> This is orders of magnitude faster than swept analysis techniques.</source>   </segment>   <mtd:metaHolder type=”x-attributes”>     <mtd:meta key=”id”> g_3423_spectrum </mtd:meta>   </mtd:metaHolder> </unit> <unit id=”2”>   <segment>     <source>It's orders of magnitude faster </source>     <mtd:metaHolder type=”x-attribute-subflow”>       <mtd:meta key=”att-name”>alt</mtd:meta>     <mtd:metaHolder>     </segment> </unit>   In the example above I placed metadata at two different levels. In the first case I used <unit> level to indicate attributes of the source XML element. In the second case I placed the data at <segment> level and indicated from which attribute it comes.   Any tool except your extraction filter should be able to safely ignore that metadata. As it would be only interesting for your tool, I prefixed the value in the “type” attribute with “x-“, as we used to do in old versions to indicate custom values.   Hope this helps, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://www.maxprograms.com   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 4:01 PM To: David Walters Cc: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi David,   This is not at all related to the preview function (I think). It's just about round-tripping XML and not needing extensibility.   (spoiler alert, I've seen notes from this thread, after this one, where my eyes have been opened to the fact that the requirement may realistically be morphing into a general metadata handling issue, not just XML attributes. But for the excellent issues you raise, here goes . . .)   Attribute values (and names) need to be preserved in XLIFF whether we translate them or not. And beyond that, I think in some cases knowing the type could be useful in the translation workflow. I understand your point that having multiple translatable string sets in a single trans-unit is a new way of thinking. And I understand how this could be viewed negatively.   But to look at the flipside, I can also see negative aspects to storing attributes in two different ways depending on whether or not the attribute needs to be translated. And I perceive a need to preserve attributes w/o extensibility.   Going back to my example:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   In order to preserve the id, alt, and rev, and translate the alt, I suppose, off the top of my head we would do something like:   (a) <trans-unit restype="x-myxml-para"                      id="para-73"                      mynspace:id="g_3423"                      mynspace:alt="It's orders of magnitude faster"                      mynspace:alt_idref="a1"                      mynspace:rev="c">     <source> This is orders of magnitude faster than swept analysis techniques.</source>     <target /> </trans-unit>   <trans-unit restype="x-myxml_attribute-alt"                      id="a1">     <source> It's orders of magnitude faster </source>     <target /> </trans-unit>   (perhaps I overlooked a better way than the example above)   But to tell you the truth, the idea of needing a second pair of <source>/<target> is an inelegance I completely spaced on (oh, boy). So let's see if my proposal still works with that reality:   (b) <trans-unit restype="x-myxml-para"                      id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">        <source>It's orders of magnitude faster</source>        <target />     </meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   To my eyes, (b) looks a lot better than (a).   But I'm happy to hear why (a) is better than (b), or a better alternative is available.   Thanks,   Bryan   From: David Walters [mailto:waltersd@us.ibm.com] Sent: Tuesday, March 13, 2012 7:42 AM To: Schnabel, Bryan S Cc: xliff@lists.oasis-open.org Subject: Re: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   What is the purpose of making these attribute values available within XLIFF?  Is it related to the "preview" function that has been proposed?  Providing this as a way to handle translatable attribute values does not seem to fit into the XLIFF structure very well.  You would have to provide this text within <source> and <target> elements to make this translatable.  Now you could have multiple (2+) translatable strings defined within one <trans-unit>.  I thought we were tending towards making each translatable attribute value a separate <trans-unit> element. I agree with Yves when he asked about why limit it to XML.  This concept could apply to many non-XML file format, like HTML, resource files, message files, etc. David Corporate Globalization Tool Development EMail:   waltersd@us.ibm.com           Phone: (507) 253-7278,   T/L:553-7278,   Fax: (507) 253-1721 CHKPII:                     http://w3-03.ibm.com/globalization/page/2011 TM file formats:     http://w3-03.ibm.com/globalization/page/2083 TM markups:         http://w3-03.ibm.com/globalization/page/2071 "Schnabel, Bryan S" ---03/12/2012 06:23:37 PM---I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without From: "Schnabel, Bryan S" < bryan.s.schnabel@tektronix.com > To: " xliff@lists.oasis-open.org " < xliff@lists.oasis-open.org > Date: 03/12/2012 06:23 PM Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal Sent by: < xliff@lists.oasis-open.org > I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility  ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0  ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 14.  RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-13-2012 21:29
      |   view attached
    Hi Bryan,   Just a general comment: “metadata” is a very general term. (for example it’s already used in the annotation description).   It seems that the aim of your proposal is simply to store pre-parsed XML attributes name/values pairs. This is very different from storing interoperable metadata.   Maybe the name “metadata” needs to be more specific?   -ys     From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 2:45 PM To: Rodolfo M. Raya; xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Rodolfo,   That does help. As I was proposing it, I did not see the metadata holder as a sub-flow element, nor did I see it as inline markup. But that is just my blind spot I suppose (maybe more the former, and less the latter).   So that part of my proposal is drudging up old mud. I should remove that 10% but still think about the better method you adapted.   I'll answer that on the appropriate thread (that I just saw enter my mail box).   Thanks,   Bryan   From: xliff@lists.oasis-open.org [ mailto:xliff@lists.oasis-open.org ] On Behalf Of Rodolfo M. Raya Sent: Tuesday, March 13, 2012 1:24 PM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Bryan,   Your examples are based on the “old” XLIFF 1.2 and we are working on version 2.0. One of the details we all agreed for XLIFF 2.0 is that we will no longer have sub-flow elements in inline markup. All text belonging to a sub-flow should be in its own <unit>.   Your example:     <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This     is orders  of magnitude faster than swept analysis techniques.</para>   needs to be stored in two <unit> elements, like this:   <unit id=”1”>   <segment>     <source> This is orders of magnitude faster than swept analysis techniques.</source>   </segment> </unit> <unit id=”2”>   <segment>     <source>It's orders of magnitude faster </source>   </segment> </unit>   If we use the module for metadata that I proposed previously, you could have your attributes stored in this way:   <unit id=”1”>   <segment>     <source> This is orders of magnitude faster than swept analysis techniques.</source>   </segment>   <mtd:metaHolder type=”x-attributes”>     <mtd:meta key=”id”> g_3423_spectrum </mtd:meta>   </mtd:metaHolder> </unit> <unit id=”2”>   <segment>     <source>It's orders of magnitude faster </source>     <mtd:metaHolder type=”x-attribute-subflow”>       <mtd:meta key=”att-name”>alt</mtd:meta>     <mtd:metaHolder>     </segment> </unit>   In the example above I placed metadata at two different levels. In the first case I used <unit> level to indicate attributes of the source XML element. In the second case I placed the data at <segment> level and indicated from which attribute it comes.   Any tool except your extraction filter should be able to safely ignore that metadata. As it would be only interesting for your tool, I prefixed the value in the “type” attribute with “x-“, as we used to do in old versions to indicate custom values.   Hope this helps, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://www.maxprograms.com   From: xliff@lists.oasis-open.org [ mailto:xliff@lists.oasis-open.org ] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 4:01 PM To: David Walters Cc: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi David,   This is not at all related to the preview function (I think). It's just about round-tripping XML and not needing extensibility.   (spoiler alert, I've seen notes from this thread, after this one, where my eyes have been opened to the fact that the requirement may realistically be morphing into a general metadata handling issue, not just XML attributes. But for the excellent issues you raise, here goes . . .)   Attribute values (and names) need to be preserved in XLIFF whether we translate them or not. And beyond that, I think in some cases knowing the type could be useful in the translation workflow. I understand your point that having multiple translatable string sets in a single trans-unit is a new way of thinking. And I understand how this could be viewed negatively.   But to look at the flipside, I can also see negative aspects to storing attributes in two different ways depending on whether or not the attribute needs to be translated. And I perceive a need to preserve attributes w/o extensibility.   Going back to my example:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   In order to preserve the id, alt, and rev, and translate the alt, I suppose, off the top of my head we would do something like:   (a) <trans-unit restype="x-myxml-para"                      id="para-73"                      mynspace:id="g_3423"                      mynspace:alt="It's orders of magnitude faster"                      mynspace:alt_idref="a1"                      mynspace:rev="c">     <source> This is orders of magnitude faster than swept analysis techniques.</source>     <target /> </trans-unit>   <trans-unit restype="x-myxml_attribute-alt"                      id="a1">     <source> It's orders of magnitude faster </source>     <target /> </trans-unit>   (perhaps I overlooked a better way than the example above)   But to tell you the truth, the idea of needing a second pair of <source>/<target> is an inelegance I completely spaced on (oh, boy). So let's see if my proposal still works with that reality:   (b) <trans-unit restype="x-myxml-para"                      id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">        <source>It's orders of magnitude faster</source>        <target />     </meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   To my eyes, (b) looks a lot better than (a).   But I'm happy to hear why (a) is better than (b), or a better alternative is available.   Thanks,   Bryan   From: David Walters [mailto:waltersd@us.ibm.com] Sent: Tuesday, March 13, 2012 7:42 AM To: Schnabel, Bryan S Cc: xliff@lists.oasis-open.org Subject: Re: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   What is the purpose of making these attribute values available within XLIFF?  Is it related to the "preview" function that has been proposed?  Providing this as a way to handle translatable attribute values does not seem to fit into the XLIFF structure very well.  You would have to provide this text within <source> and <target> elements to make this translatable.  Now you could have multiple (2+) translatable strings defined within one <trans-unit>.  I thought we were tending towards making each translatable attribute value a separate <trans-unit> element. I agree with Yves when he asked about why limit it to XML.  This concept could apply to many non-XML file format, like HTML, resource files, message files, etc. David Corporate Globalization Tool Development EMail:   waltersd@us.ibm.com           Phone: (507) 253-7278,   T/L:553-7278,   Fax: (507) 253-1721 CHKPII:                     http://w3-03.ibm.com/globalization/page/2011 TM file formats:     http://w3-03.ibm.com/globalization/page/2083 TM markups:         http://w3-03.ibm.com/globalization/page/2071 "Schnabel, Bryan S" ---03/12/2012 06:23:37 PM---I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without From: "Schnabel, Bryan S" < bryan.s.schnabel@tektronix.com > To: " xliff@lists.oasis-open.org " < xliff@lists.oasis-open.org > Date: 03/12/2012 06:23 PM Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal Sent by: < xliff@lists.oasis-open.org > I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility  ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0  ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com      


  • 15.  RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal

    Posted 03-14-2012 17:05
      |   view attached
    Answering to Yves´ question: “ Maybe the name “metadata” needs to be more specific? “ If we are talking specifically about the metadata that will  go with along with the proposal match, the module that Rodolfo is proposing, (alt-trans in xliff 1.2), I propose to call it “provenance data”. Lucía   From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Yves Savourel Sent: 13 March 2012 21:29 To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Bryan,   Just a general comment: “metadata” is a very general term. (for example it’s already used in the annotation description).   It seems that the aim of your proposal is simply to store pre-parsed XML attributes name/values pairs. This is very different from storing interoperable metadata.   Maybe the name “metadata” needs to be more specific?   -ys     From: xliff@lists.oasis-open.org [ mailto:xliff@lists.oasis-open.org ] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 2:45 PM To: Rodolfo M. Raya; xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Rodolfo,   That does help. As I was proposing it, I did not see the metadata holder as a sub-flow element, nor did I see it as inline markup. But that is just my blind spot I suppose (maybe more the former, and less the latter).   So that part of my proposal is drudging up old mud. I should remove that 10% but still think about the better method you adapted.   I'll answer that on the appropriate thread (that I just saw enter my mail box).   Thanks,   Bryan   From: xliff@lists.oasis-open.org [ mailto:xliff@lists.oasis-open.org ] On Behalf Of Rodolfo M. Raya Sent: Tuesday, March 13, 2012 1:24 PM To: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi Bryan,   Your examples are based on the “old” XLIFF 1.2 and we are working on version 2.0. One of the details we all agreed for XLIFF 2.0 is that we will no longer have sub-flow elements in inline markup. All text belonging to a sub-flow should be in its own <unit>.   Your example:     <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This     is orders  of magnitude faster than swept analysis techniques.</para>   needs to be stored in two <unit> elements, like this:   <unit id=”1”>   <segment>     <source> This is orders of magnitude faster than swept analysis techniques.</source>   </segment> </unit> <unit id=”2”>   <segment>     <source>It's orders of magnitude faster </source>   </segment> </unit>   If we use the module for metadata that I proposed previously, you could have your attributes stored in this way:   <unit id=”1”>   <segment>     <source> This is orders of magnitude faster than swept analysis techniques.</source>   </segment>   <mtd:metaHolder type=”x-attributes”>     <mtd:meta key=”id”> g_3423_spectrum </mtd:meta>   </mtd:metaHolder> </unit> <unit id=”2”>   <segment>     <source>It's orders of magnitude faster </source>     <mtd:metaHolder type=”x-attribute-subflow”>       <mtd:meta key=”att-name”>alt</mtd:meta>     <mtd:metaHolder>     </segment> </unit>   In the example above I placed metadata at two different levels. In the first case I used <unit> level to indicate attributes of the source XML element. In the second case I placed the data at <segment> level and indicated from which attribute it comes.   Any tool except your extraction filter should be able to safely ignore that metadata. As it would be only interesting for your tool, I prefixed the value in the “type” attribute with “x-“, as we used to do in old versions to indicate custom values.   Hope this helps, Rodolfo -- Rodolfo M. Raya       rmraya@maxprograms.com Maxprograms       http://www.maxprograms.com   From: xliff@lists.oasis-open.org [ mailto:xliff@lists.oasis-open.org ] On Behalf Of Schnabel, Bryan S Sent: Tuesday, March 13, 2012 4:01 PM To: David Walters Cc: xliff@lists.oasis-open.org Subject: RE: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   Hi David,   This is not at all related to the preview function (I think). It's just about round-tripping XML and not needing extensibility.   (spoiler alert, I've seen notes from this thread, after this one, where my eyes have been opened to the fact that the requirement may realistically be morphing into a general metadata handling issue, not just XML attributes. But for the excellent issues you raise, here goes . . .)   Attribute values (and names) need to be preserved in XLIFF whether we translate them or not. And beyond that, I think in some cases knowing the type could be useful in the translation workflow. I understand your point that having multiple translatable string sets in a single trans-unit is a new way of thinking. And I understand how this could be viewed negatively.   But to look at the flipside, I can also see negative aspects to storing attributes in two different ways depending on whether or not the attribute needs to be translated. And I perceive a need to preserve attributes w/o extensibility.   Going back to my example:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   In order to preserve the id, alt, and rev, and translate the alt, I suppose, off the top of my head we would do something like:   (a) <trans-unit restype="x-myxml-para"                      id="para-73"                      mynspace:id="g_3423"                      mynspace:alt="It's orders of magnitude faster"                      mynspace:alt_idref="a1"                      mynspace:rev="c">     <source> This is orders of magnitude faster than swept analysis techniques.</source>     <target /> </trans-unit>   <trans-unit restype="x-myxml_attribute-alt"                      id="a1">     <source> It's orders of magnitude faster </source>     <target /> </trans-unit>   (perhaps I overlooked a better way than the example above)   But to tell you the truth, the idea of needing a second pair of <source>/<target> is an inelegance I completely spaced on (oh, boy). So let's see if my proposal still works with that reality:   (b) <trans-unit restype="x-myxml-para"                      id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">        <source>It's orders of magnitude faster</source>        <target />     </meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   To my eyes, (b) looks a lot better than (a).   But I'm happy to hear why (a) is better than (b), or a better alternative is available.   Thanks,   Bryan   From: David Walters [mailto:waltersd@us.ibm.com] Sent: Tuesday, March 13, 2012 7:42 AM To: Schnabel, Bryan S Cc: xliff@lists.oasis-open.org Subject: Re: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal   What is the purpose of making these attribute values available within XLIFF?  Is it related to the "preview" function that has been proposed?  Providing this as a way to handle translatable attribute values does not seem to fit into the XLIFF structure very well.  You would have to provide this text within <source> and <target> elements to make this translatable.  Now you could have multiple (2+) translatable strings defined within one <trans-unit>.  I thought we were tending towards making each translatable attribute value a separate <trans-unit> element. I agree with Yves when he asked about why limit it to XML.  This concept could apply to many non-XML file format, like HTML, resource files, message files, etc. David Corporate Globalization Tool Development EMail:   waltersd@us.ibm.com           Phone: (507) 253-7278,   T/L:553-7278,   Fax: (507) 253-1721 CHKPII:                     http://w3-03.ibm.com/globalization/page/2011 TM file formats:     http://w3-03.ibm.com/globalization/page/2083 TM markups:         http://w3-03.ibm.com/globalization/page/2071 "Schnabel, Bryan S" ---03/12/2012 06:23:37 PM---I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without From: "Schnabel, Bryan S" < bryan.s.schnabel@tektronix.com > To: " xliff@lists.oasis-open.org " < xliff@lists.oasis-open.org > Date: 03/12/2012 06:23 PM Subject: [xliff] Request approval of "Preserve XML attribute or metadata without extensibility" proposal Sent by: < xliff@lists.oasis-open.org > I move that we promote the proposed feature, "2.21. (B25) Preserve XML attribute or metadata without extensibility" ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#XLIFF2.0.2BAC8-Feature.2BAC8-PreserveXMLattributeormetadatawithoutextensibility.A.28B25.29PreserveXMLattributeormetadatawithoutextensibility  ) to section 1, as an approved feature for XLIFF 2.0 ( http://wiki.oasis-open.org/xliff/XLIFF2.0/FeatureTracking#ApprovedFeaturesforXLIFF2.0  ).   If any voting member of the TC agrees, please second.   Here's some background.   Today we nearly always need to use extensibility to preserve source XML attributes when converting an XML file to XLIFF. We should create a way to preserve the attributes using supported XLIFF markup - removing the need to extend.   Consider this XML element:   <para id="g_3423_spectrum" alt="It's orders of magnitude faster" rev="c">This is orders of magnitude faster than swept analysis techniques.</para>   If we were to allow an element like <meta-hold> (would really need to come up with a better name though) to contain the name of the attribute, its value, and optionally its type and translate y/n, we would eliminate the need for extensibility for this use case.   Example:   <trans-unit id="para-73">     <meta-hold name="id" translate="no">g_3423_spectrum</meta-hold>     <meta-hold name="alt" translate="yes">It's orders of magnitude faster</meta-hold>     <meta-hold name="rev">c</meta-hold>     <source>This is orders of magnitude faster than swept analysis techniques.</source> </trans-unit>   I include the following, not to propose to specifically update the schema in this manner, but rather to provide more background on the proposed data types and constraints.   Modification to schema:       <xsd:element name="meta-hold">         <xsd:complexType mixed="true">             <xsd:group maxOccurs="unbounded" minOccurs="0" ref="xlf:ElemGroup_TextContent"/>             <xsd:attribute name="name" type="xsd:string" use="required"/>             <xsd:attribute name="type" use="optional"/>             <xsd:attribute name="translate" use="optional"/>         </xsd:complexType>     </xsd:element>   Allow the usual inline elements, but do not allow nested <meta-hold> elements       <xsd:group name="ElemGroup_TextContent">         <xsd:choice>             <xsd:element ref="xlf:g"/>             <xsd:element ref="xlf:bpt"/>             <xsd:element ref="xlf:ept"/>             <xsd:element ref="xlf:ph"/>             <xsd:element ref="xlf:it"/>             <xsd:element ref="xlf:mrk"/>             <xsd:element ref="xlf:x"/>             <xsd:element ref="xlf:bx"/>             <xsd:element ref="xlf:ex"/>         </xsd:choice>     </xsd:group>   Please feel free to join this discussion if you have questions, concerns, objects, or if you support this idea.   Thanks, Bryan Schnabel Content Management Architect Phone: 503.627.5282 www.tektronix.com