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

 


Help: OASIS Mailing Lists Help | MarkMail Help

dss-x message

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


Subject: Re: [dss-x] Sample files regarding 'structure models'


Hi Detlef,
> the idea and approach is great. How much work is necessary to finish the approach for JSON?
my current approach to generate the JSON scheme is based on JAXB. This
introduces some restrictions but ensures a usable server and client
implementation for both XML and JSON. The downside is the lack of
alignment between the XML schema elements and the JSON schema artefacts.
And the JAXB output doesn't align with usual JSON schema guidelines. A
very nasty aspect is the attribute name mapping buried in an XML file in
such a tricky way that see no chance to reuse it.  
Other approaches for XML -> JSON have their specific problems, e.g. the
jsonix (http://www.jsonix.org/) project fails to build :-(
Building a XML->JSON mapping stylesheet isn't trivial but could be the
last resort.
I'll have to dig into the detail and like to come up with a solution
next week.
> What else is necessary in order to make this usable together with DocBook?
Havn't worked with DocBook yet. But as a XML-based format it should be
possible to support.

Greetings,

Andreas
>  
>
> BR,
>
> Detlef
>
>  
>
>  
>
> Von: dss-x@lists.oasis-open.org [mailto:dss-x@lists.oasis-open.org] Im Auftrag von Andreas Kuehne
> Gesendet: Freitag, 21. Juli 2017 12:41
> An: dss-x <dss-x@lists.oasis-open.org>
> Betreff: [dss-x] Sample files regarding 'structure models'
>
>  
>
> Hi all,
>
>  
>
> as agreed in the last call see attached files related to the automated generation of the core's specification 'structure models' section. Theattac hed zip contains the following files:
>
>  
>
> *	Consistent schema and specification approach.odp : An overview about the generation process.
> *	oasis-dss-core-schema-v1.0-os.xsd :  The current version of the dss core schema.
> *	insertContent.xsl :  The stylesheet creating the 'structure models' section.
> *	dss-core-v2.0-1500632109391.docx : The created core specification.
>
> The 'Semantics' and the 'XML syntax' sections are generated from the given schema. In section 3.6 Base64DataType you can see comments inserted that are defined within the schema using the annotation/documentation tags.
>
> The JSON schema section needs some work as some of the relevant information are not included in the schema (currently). Take it as a placeholder for now.
>
>  
>
> Greetings,
>
>  
>
> Andreas
>

-- 
Andreas Kühne 
phone: +49 177 293 24 97 
mailto: kuehne@trustable.de

Trustable Ltd. Niederlassung Deutschland Gartenheimstr. 39C - 30659 Hannover Amtsgericht Hannover HRB 212612

Director Andreas Kühne

Company UK Company No: 5218868 Registered in England and Wales 




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