Closed IObert closed 3 years ago
Thanks for reporting! This might be caused by https://github.com/SAP/ui5-builder/pull/488
I can reproduce the issue with UI5 CLI 2.6.0 but not with 2.5.0. I also can not reproduce it with 2.4.4, opposing to your report.
We'll look into it.
I think you're right. I have 2.6.0 installed globally. It probably used 2.6.0 for all builds and ignored the version that has been specified in the package.json bc of the caret. That would make sense
Seems to be a bug in one of the regular expressions in minify-xml. See https://github.com/kristian/minify-xml/issues/4 .
Seems to be a bug in one of the regular expressions in minify-xml. See kristian/minify-xml#4 .
Fixed with 2.1.3 sorry for any inconvenience caused!
I can confirm minify-xml v2.1.3 fixes the reported issue. It's part of @ui5/cli v2.6.1
Awesome, thanks!
Expected Behavior
That the builder will generate a valid XML view.
Current Behavior
It generates an invalid one (missing "f" namespace):
Steps to reproduce the issue
git clone https://<SAP Cloud GitHub/Marius' User>/ui-tech-samples.git
cd sapui5-sample-app
Context
ui5 --version
when using the CLI):2.4.4 and 2.6.0
v12.13.1
6.14.8
MacOS Catalina 10.15.7
Affected components (if known)
Log Output / Stack Trace
NA