Next in thread →
Next in month →
Re: [xliff-omos] 0.9.3 Feedback
Hi Phil,
This looks to me like it might be in your serialization code. That "kind": "ec" is a little suspicious.
Both the jliff-example3-0.9.3.json file and your excerpt above are valid under the 0.9.3 schema, they're just saying different things.
On Sat, Feb 25, 2017 at 2:46 PM, Phil Ritchie <> wrote:
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:
www.vistatec.com | ISO 9001 | ISO 13485 | EN 15038
Think Global
Next in thread →
Next in month →