-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
False
-
False
-
-
---
-
---
-
-
Sprint 212 AMM, Sprint 213 AMM, Sprint 214 AMM
-
None
Related to javax to jakarta rules. In particular the https://github.com/windup/windup-rulesets/blob/master/rules-reviewed/eap8/eap7/javaee-to-jakarta-namespaces.windup.xml
We are aware of some challenges relating to applying multiple quickfixes to XML files.
It is something we need to improve within our IDEs particularly VSCode.
So the 'strategy' for the rules is to try to identify every aspect of an XML element that needs to change as part of the migration.
http://xmlns.jcp.org/xml/ns/javaee/application_8.xsd" version="8
So the schema path, the schema name and the version attribute.
The problem that we have is that the quick-fixes rely upon the analysis providing a line number and a position on that line for the find/replace.
However when dealing with xml files the analysis can only provide the start point of the parent tag. And applying multiple different quick fixes to parts of the same tag further complicates matters, because even if the position values were correct from the analysis, then they might vary when quickfixes are applied serially.
So in 5.3 we are going to invest in the IDE plugins/extensions to get the quick-fix capabilities improved.