Because the also introduced attribute groups and model groups are only placeholders in complex type definitions, we will omit those components for our translator.
--
You received this message because you are subscribed to a topic in the Google Groups "JSON Schema" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/json-schema/mS0zP5nqGDo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to json-schema+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,No, sorry. Because our XSD schema is very complex, we first of all manually generated a JSON schema (using XMLSpy to do it graphically). Since then we used XSLT to generate an XML encoded object model for X3D. Then another XSLT to work generate the JSON schema. This latter is still a work in progress.Roy
On 8 February 2017 at 22:59, codebug <katragadd...@gmail.com> wrote:
Thank you Roy.Any idea about the open source libraries or any schema matching techniques for the conversion of XSD to Json Schema and vice-versa ?
On Wednesday, February 8, 2017 at 8:28:21 PM UTC+1, Roy Walmsley wrote:Hi,You should be aware that the expressive powers of JSON schema are different to, and, in my opinion, better than those of XML schema. For example, I work with the 3D graphics standard X3D. This has a published XML encoding, with XSD schema, and a draft JSON encoding, with JSON schema. When developing the JSON schema I found that JSON offered better validation capabilities than the XML. I will give two examples:1) Consider an object, which has multiple properties, which properties have values which are also objects. JSON schema can validate the content of each property individually. XML schema (XSD) can only validate the combined content objects.2) Consider an object with a property holding an array. JSON can individually validate each array element. XML schema cannot.So I conclude that JSON schema may not always be directly transformed to XML schema, and then back to a JSON schema, using automated tools, without loss of capability.Roy
--
You received this message because you are subscribed to a topic in the Google Groups "JSON Schema" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/json-schema/mS0zP5nqGDo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to json-schema...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to json-schema...@googlegroups.com.