OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff-omos message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 0.9.3 Feedback



Robert

 

With my prototype implementation of source and target accepting an array of elements (or various types which implement an element interface)

 

“source”: { “$ref”: “#/definitions/elements” }

 

When trying to mimic jliff-example3-0.9.3.json

 

I get

 

{

  "id": "f1",

  "version": "1.0",

  "skeleton": {

    "ref": "Graphic Example.psd.skl"

  },

  "unit": [

    {

      "id": "1",

      "subunit": [

        {

          "source": [

            {

              "kind": "ec",

              "text": "Quetzal"

            }

          ],

          "target": [

            {

              "kind": "ec",

              "text": "Quetzal"

            }

          ]

        }

      ]

    }

  ]

}

 

That is, not “source”: [ “Quetzal” ]

 

I’m pretty new to serializing and deserializing to json so could be my code.


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 | EN 15038
Vistatec
Think Global
FacebookLinkedInTwitterGoogle Plus





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]