You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: