JLIFF, Creating a JSON Serialization of OASIS XLIFF 2
summary
A JSON serialization of OASIS XLIFF 2.0/2.1 called JLIFF maps the abstract LIFF object model into JSON, claims guaranteed roundtrip semantics, and strips XML-isms like wellformed MRK in favor of object objects for placeholders and spans with explicit ids. Implementation uses JSON Schema grammar for validation and JSON-LD context for prefix expansion to handle namespaces, supports file/group/unit or single-unit fragment exchange, and has an open source reference implementation for experimentation.
AI-written summary · about
chapters (13)
- 0:00Intro
- 3:30XLIFF 2 namespaces
- 9:06LIOM -static structure
- 11:34LIOM - transient structure
- 14:52LIOM - inline content model
- 16:21XLIFF Top Level Element
- 17:16JLIFF Anonymous Top Level Object
- 19:53General design principles
- 21:15No mixing character data with markup
- 23:16xs data types via patterns
- 23:43Other design considerations (1)
- 24:46Other design considerations (2)
- 26:11XLIFF, LIOM, and JLIFF resources (1)
