cancel
Showing results for 
Search instead for 
Did you mean: 

binding data from model to view error - sap fiori app

jyothiradityak
Participant
0 Kudos

Hi,

I am following Create fiori app and stuck at step-2. I have created the app and wile running the app, i am getting error in the console saying as below: Can you please suggest how to correct this.

 Error: resource ocn/thirdpartydemo/view/App.view.xml could not be loaded from ./view/App.view.xml. Check for 'file not found' or parse errors. 

Reason: Error: Invalid XML: <mvc:View controllerName="ocn.thirdpartydemo.controller.App" xmlns:mvc="sap.ui.core.mvc" displayBlock="true" xmlns="sap.m">



LoaderExtensions-dbg.js:309 Uncaught (in promise) Error: resource ocn/thirdpartydemo/view/App.view.xml could not be loaded from ./view/App.view.xml. Check for 'file not found' or parse errors. 

Reason: Error: Invalid XML: <mvc:View controllerName="ocn.thirdpartydemo.controller.App" xmlns:mvc="sap.ui.core.mvc" displayBlock="true" xmlns="sap.m">
venkateswaran_k
Active Contributor
0 Kudos

Please provide your controller and view code.

Accepted Solutions (1)

Accepted Solutions (1)

WouterLemaire
Active Contributor

Looks like something is wrong in the xml of the view. Try validating the xml of the app view in an xml parser online. If the xml is fine, then you might have a typo somewhere for the namespace.

Kr, Wouter

jyothiradityak
Participant
0 Kudos

Yes, apparently didnt see the error closely. There is a syntax error in the View (App.view.xml) at the TABLE command with extra '<'.

Many Thanks !

Answers (0)