Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General - Add transformer to create OCL constraints for a profile schema #138

Closed
jechterhoff opened this issue Feb 28, 2018 · 1 comment
Closed
Assignees
Milestone

Comments

@jechterhoff
Copy link
Contributor

When you are faced with a base schema that you do not control (and you cannot change its derivatives, like its XML Schema), but which you would like to use in your application with specific restrictions (and maybe extensions), you want to create a profile schema. The profile schema would define restrictions of the base schema via OCL constraints. These constraints could later on be converted to Schematron assertions (by the XmlSchema target), allowing you to encode your application data using elements of the XML Schema of the base schema, while at the same time enforcing the restrictions you defined.

Depending upon the use case, many OCL constraints of the same type may need to be created, for example to prohibit the use of specific base schema types or their properties. Create a transformer that supports a user in this task.

@jechterhoff jechterhoff added this to the 2.6.0 milestone Feb 28, 2018
@jechterhoff jechterhoff self-assigned this Feb 28, 2018
@jechterhoff
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant