Giter VIP home page Giter VIP logo

kony-functional-modules's Introduction

npx danguilherme

kony-functional-modules's People

Contributors

danguilherme avatar

Watchers

 avatar  avatar  avatar

kony-functional-modules's Issues

functionalModules.xml file saved with invalid schema

The generated functionalModules.xml is not compliant with the schema it is tested against. The following error occurs when building for Android:

[09-24-2015 10:21:01]Ant build error=The following error occurred while executing this line:
[Project Temp Path]/build/luaandroid/build-jssource.xml:77: The following error occurred while executing this line:
[Project Temp Path]/build/luaandroid/build-jssource.xml:116: The following error occurred while executing this line:
[Project Temp Path]/build/luaandroid/build-jssource.xml:158: org.xml.sax.SAXParseException; systemId: file:[Project Temp Path]/build/luaandroid/dist/[ProjectName]/assets/functionalModules.xml; lineNumber: 1; columnNumber: 20; cvc-complex-type.4: Attribute 'projectName' must appear on element 'functionalModules'.
[09-24-2015 10:21:01]Build Generation failed for platform Android.

The schema is located at [Kony Studio Workspace]/temp/[Project Name]/build/luaandroid/extres/functionalModules.xsd. Content:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="functionalModules">
        <xs:complexType>
            <xs:sequence>
                <xs:element maxOccurs="unbounded" ref="functionalModule" />
            </xs:sequence>
            <xs:attribute name="projectName" use="required"
                type="xs:NCName" />
        </xs:complexType>
    </xs:element>
    <xs:element name="functionalModule">
        <xs:complexType>
            <xs:all>
                <xs:element minOccurs="0" maxOccurs="1" ref="dependentModules" />
                <xs:element minOccurs="0" maxOccurs="1" ref="views" />
                <xs:element minOccurs="0" maxOccurs="1" ref="jsModules" />
            </xs:all>
            <xs:attribute name="loadOnStartUp" type="xs:boolean" />
            <xs:attribute name="name" use="required" type="xs:NCName" />
            <xs:attribute name="init" type="xs:NCName" />
        </xs:complexType>
    </xs:element>
    <xs:element name="dependentModules" type="xs:string" />    
    <xs:element name="views" type="xs:string" />
    <xs:element name="jsModules" type="xs:string" />    
    <!-- 
     <xs:simpleType name="pathVal">
        <xs:restriction base="xs:string">
            <xs:pattern value="[^\s\r\n]+" />
        </xs:restriction>
     </xs:simpleType>

     <xs:simpleType name="NonEmptyString">
        <xs:restriction base="xs:string">
            <xs:minLength value="1" />
            <xs:pattern value="\S+"/>
        </xs:restriction>
    </xs:simpleType>
     -->
</xs:schema>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.