Re: [dxwg] Profile Composition and Languages

> what about JSON Schema?

Sure.

> they are geared at describing and validating data described using a specific technology 

But are there successful languages for universal data description?
(The book Validating RDF Data has some great examples related to HL7that are rendered in XML schema, SHEX and I think another formalism)

> independently of whether it's published in ISO MARC or MARC XML. So that would be a task for the profile

Ah but this is a very narrow example. MARC XML uses the same MARC lingo (tags, subtags etc) and is a mirror image.

> We then can create an XML schema to describe our version

I doubt you can do it with XML Schema, I think you have to also use Schematron for the cross-field rules.

I can give another narrow example:
Implementing complex e-Government solutions with open source and BPM: Architecture of Export Control System phase 2 (ECS2). Alexiev, V.; Mitev, A.; and Bukev, A. Java2Days Conference, Sofia, Bulgaria. 2010. http://vladimiralexiev.github.io/pubs/AlexievMitevBukev2010-eGovBPM.pdf
See slide 18 and 33-40. We used an XPath cross-field validation language (similar to Schematron but simpler) that was used for XML, Java beans, and the interactive UI.

> need a (technology-independent?) meta-model of profiles including composition mechanisms

I think we do: even if we can't develop a technology-independent language for defining (implementing) profiles, we can develop one for composing profiles.


-- 
GitHub Notification of comment by VladimirAlexiev
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/162#issuecomment-375650773 using your GitHub account

Received on Friday, 23 March 2018 12:32:24 UTC