Detect and fix usage of `sap.ui.core` namespace in XMLView definition
Open
@flovogt is already working on this.
Since Aug 10, 2026.
autofix
detection
- Dominant language
- TypeScript
- Stars
- 79
- Forks
- 13
- Avg merge
- 19h 34m
- Merged PRs (30d)
- 9
Description
I define a sap/ui/core/mvc/XMLView but instead of using the recommended sap.ui.core.mvc namespace to define the View, I use the old sap.ui.core namespace.
<core:View
xmlns:mvc="sap.ui.core.mvc"
xmlns:core="sap.ui.core"
xmlns="sap.m"
controllerName="ui5app.controller.Home">
<Text text="Hello"/>
<core:View>
Detection Goal
This scenario is detected and a finding is reported to use the sap.ui.core.mvc namespace.
Autofix Goal
The view definition is adjusted to consume the sap.ui.core.mvc namespace. In case the sap.ui.core is no longer used after the migration, it should be removed.
<mvc:View
xmlns:mvc="sap.ui.core.mvc"
xmlns:core="sap.ui.core"
xmlns="sap.m"
controllerName="ui5app.controller.Home">
<Text text="Hello"/>
<mvc:View>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.