- daniel sti
- 10/24/11
Hi,
when running the xmlInternal generator i get a bunch of warnings - like the following one:
child 'GItem' is expected for role 'item' but was 'SimpleAttribute'
-- – was child: SimpleAttribute <no name>[null] in uiframework@5_0
-- – was input: [rootElement] SimpleElement <no name>[5899746768957014141] in uiframework@4_0
-- – was parent in template: [contentNode] GConditionalLine <no name>[1179109560291] in jetbrains.mps.xmlInternal.generator.baseLanguage.template.main@generator
-- – was child in template: [item] GText <no name>[1188773485721] in jetbrains.mps.xmlInternal.generator.baseLanguage.template.main@generator
I did not care until now, but in a larger model, i get 1095 of those ... Is there a way to get rid of them?
Best,
Dan
when running the xmlInternal generator i get a bunch of warnings - like the following one:
child 'GItem' is expected for role 'item' but was 'SimpleAttribute'
-- – was child: SimpleAttribute <no name>[null] in uiframework@5_0
-- – was input: [rootElement] SimpleElement <no name>[5899746768957014141] in uiframework@4_0
-- – was parent in template: [contentNode] GConditionalLine <no name>[1179109560291] in jetbrains.mps.xmlInternal.generator.baseLanguage.template.main@generator
-- – was child in template: [item] GText <no name>[1188773485721] in jetbrains.mps.xmlInternal.generator.baseLanguage.template.main@generator
I did not care until now, but in a larger model, i get 1095 of those ... Is there a way to get rid of them?
Best,
Dan
- Evgeny Gryaznov
- 10/24/11
Temporary workaround:
uncheck "Settings -> Generator -> Error reporting -> Warn when child cannot be ..."
uncheck "Settings -> Generator -> Error reporting -> Warn when child cannot be ..."
- daniel sti
- 10/25/11
Hi Evgeny,
thanks for your quick response. Did no find this setting in MPS2, nor in MPS1.5 ... There is only:
Where do i have to look ...
Dan
thanks for your quick response. Did no find this setting in MPS2, nor in MPS1.5 ... There is only:
- show informational messages
- Show warning
- keep transient models with warning
- maximum number of transient models to keep
Where do i have to look ...
Dan
- Evgeny Gryaznov
- 10/25/11
It is available since 2.0.1 (see MPS-13902)