fix-orchestra icon indicating copy to clipboard operation
fix-orchestra copied to clipboard

[repository schema] Support mixed expression/script languages

Open donmendelson opened this issue 3 years ago • 0 comments

Currently, the selection of expression language is global to an Orchestra repository at its root element, and its default is the Score DSL. It affects the interpretation of conditional expressions in <when> elements and values in <assign>.

<xs:attribute name="expressionLanguage" type="xs:string" default="Score">
	<xs:annotation>
		<xs:documentation>The syntax of 'expressionType'</xs:documentation>
	</xs:annotation>
</xs:attribute>

Some projects may need a mix of expression or script languages for different purposes. Therefore, I propose to add the expressionLanguage as an optional attribute of of <when> to override the global setting.

donmendelson avatar Jun 28 '22 14:06 donmendelson