Community
Participate
Working Groups
For showing xml attributes having a value composed of string parts and JSP expressions, the JSP metamodel has a ComposedAttribute metaclass. The JSP discoverer creates jsp.ComposedAttribute instances where often simple xml.Attribute fit the need : no composed attribute values. It is annoying for M2M tools (more navigation rules to write to access to values) for some JSP legacy without such composed attributes values. For realization, if necessary, we may add a consolidation step after ANTLR process on created model.
Hi Fabien, I manage to improve Attribute's discovery in the attached Patch as requested I also updated the corresponding tests The consolidation step was not necessary, I have modified the ANTLR Grammar Regards Nicolas
Created attachment 172316 [details] patch for Discoverer JSP about attributes creation Updated grammar for Modisco JEE/JSP Discoverer xml.Attribute are differenciated from JSP.ComposedAttribute
Created attachment 172317 [details] Update JSP discoverer tests about attributes creation evolution Updated tests for MoDisco JEE/JSP Discoverer
Comment on attachment 172316 [details] patch for Discoverer JSP about attributes creation Forgot to check "patch"
Hi Nicolas, thanks for your contribution. could you make the usual confirmations about contribution rights via this bug ? Fabien.
Hi, 1. I, Nicolas Guyomar, and others contributors listed in this bug, authored 100% of the content 2. I have the rights to donate the content to Eclipse under the EPL 3. I have already provided the filled Employer Consent Forms to the Foundation Regards Nicolas
The patchs have been commited into SVN. Fabien.
The patches have been successfully applied.