Skip to Content
avatar image
Former Member

Uncaught Error: resource view/View1.view.xml could not be loaded from ./view/View1.view.xml. Check for 'file not found' or parse errors. Reason: Error: Invalid XML error in WEB IDE

Hi Experts,

I was developing an bullet with gap diagram refering to this link.

SAPUI5 Explored

I created an XML view and pasted this code in content of Page.

<ScrollContainer focusable="true" height="100%" horizontal="false" vertical="true" width="100%">

<viz:Popover id="idPopOver"></viz:Popover>

<VBox>

<RadioButton groupName="group1" id="idRadio4" selected="true" text="Horizontal"/>

<RadioButton groupName="group1" id="idRadio5" text="Vertical"/>

</VBox>

<viz:VizFrame height="500px" id="idVizFrameBullet" uiConfig="{applicationSet:'fiori'}" vizType="bullet" width="100%"></viz:VizFrame>

<VBox>

<RadioButton groupName="group2" id="idRadio1" text="above only"/>

<RadioButton groupName="group2" id="idRadio2" text="below only"/>

<RadioButton groupName="group2" id="idRadio3" selected="true" text="both"/>

</VBox>

</ScrollContainer>

But i didn't get my output.

This was error in console.

Please help.

Thank you.

error.PNG (49.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 07, 2015 at 12:21 PM

    Did you wrote this in your view.

    xmlns:viz="sap.viz.ui5.controls"

    <mvc:View height="100%" width="100%"

    controllerName="sap.viz.sample.Bullet.Bullet" // here your controller name

    xmlns:viz="sap.viz.ui5.controls" // include this library

    xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m">

    Follow these links. This might be helpful a lot in your case.

    http://scn.sap.com/thread/3762697

    http://scn.sap.com/thread/3759157

    http://scn.sap.com/thread/3760756

    http://scn.sap.com/thread/3764209

    http://scn.sap.com/thread/3764210

    Regards

    Dhananjay

    Add comment
    10|10000 characters needed characters exceeded