OASIS XLIFF Object Model and Other Serializations (XLIFF OMOS) TC

 View Only
  • 1.  PC Elements in JLIFF

    Posted 03-05-2018 18:17
    All   How would we represent the XLIFF construct:   <segment id=”3”>     <source>         <pc id=”4”><mrk id=”5” ref=”…” type=”…”>Important</mrk></pc>     </source> </segment>   Currently we just have a segment which contains an array of “elements”. Thus we have no way to recursively nest inlines.   Maybe:   “subunits”: [     {         “kind”: “segment”,         “id”: “3”,         “source”: [             {                 “kind”: “pc”,                 “id”: “4”,                 “annotations”: [                     {                         “kind”: “mrk”,                         “text”: “Important”                     }                 ]             }         ]     } ]   This would still only accommodate one level of nesting though.   Phil Phil Ritchie Chief Technology Officer     Vistatec Vistatec House, 700 South Circular Road, Kilmainham, Dublin 8, Ireland. Tel:  +353 1 416 8000     Direct:  +353 1 416 8024 Email:  phil.ritchie@vistatec.com www.vistatec.com     ISO 9001     ISO 13485     ISO 17100     ISO 27001 Think Global Vistatec Ltd. Registered in Ireland 268483. Registered Office, Vistatec House, 700, South Circular Road, Kilmainham. Dublin 8. Ireland. The information contained in this message, including any accompanying documents, is confidential and is intended only for the addressee(s). ?The unauthorized use, disclosure, copying, or alteration of this message is strictly forbidden. If you have received this message in error please notify the sender immediately.