Hello.
I try to explain my problem:
/* state */
ScxmlStateType:
'<state'
( 'id=' name = MymwIDDataType
& ('src=' importURI = (HttpUrlDataType | LocalUrlDataType))?
& ('mymw:category=' mymwCategoryDatatype = MymwCategoryDatatype)?
& ('initial=' initial1 = [ScxmlStateType | MymwIDDataType])? ) //state
scxmlStateMix = ScxmlStateMix
;
.
.
.
/* transition */
ScxmlTransitionType:
'<transition'
( ('target=' target = [ScxmlStateType | MymwIDDataType])? // state
& ('event=' event = [ideal::AType | MymwEventTypeDatatype])?
& ('cond=' cond = MymwExpressionDataType)? ) // MymwExpressionDatatype
scxmlTransitionMix = ScxmlTransitionMix
;
<state id="FootbalslPortal" [b]src="test.mymw"[/b] mymw:category="Application">
<initial>
<transition [b]target="InitialMenu"[/b] />
</initial>
.
.
.
In this case "InitialMenu" is declared in the file test.mymw and its works well because I use "fragment = scoping.ImportURIScopingFragment {} // scope URI" in the mwe2 file.
But in other tags (('event=' event = [ideal::AType | MymwEventTypeDatatype])?) I need, also , reference things declared in other files in the namespace (without using src for it)
If instead of using the "fragment = scoping.ImportURIScopingFragment {} // scope URI" i use "fragment = scoping.ImportNamespacesScopingFragment {}" this working properly, but the above example does not work ...
What would be the easiest way to make this all work together? Anyone can help me go in the right direction?
Sorry if I did not make myself clear, English is not my native language.
Thanks!
A greeting