XMLInternal 2 gDocument - warnings ...
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
Please sign in to leave a comment.
uncheck "Settings -> Generator -> Error reporting -> Warn when child cannot be ..."
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
MPS-13902)