Code Monkey home page Code Monkey logo

Comments (6)

goetas avatar goetas commented on September 21, 2024 1

Fixed in 0.4.0

from xsd2php.

goetas avatar goetas commented on September 21, 2024

Can you please share also the generated YAML metadata?

from xsd2php.

anto-acube avatar anto-acube commented on September 21, 2024

Hi! Here is the AllowanceCharge metadata

Model\CommonAggregate\AllowanceChargeType:
    properties:
        ...
        chargeIndicator:
            expose: true
            access_type: public_method
            serialized_name: ChargeIndicator
            xml_element:
                namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2'
            accessor:
                getter: getChargeIndicator
                setter: setChargeIndicator
            type: Model\CommonBasic\ChargeIndicator
        ...

The ChargeIndicator definition

Model\CommonBasic\ChargeIndicator:
    xml_root_name: ChargeIndicator
    xml_root_namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2'

And the ChargeIndicatorType definition

Model\CommonBasic\ChargeIndicatorType:
    properties: {  }

from xsd2php.

goetas avatar goetas commented on September 21, 2024

Hmm, that seems a bug. Model\CommonBasic\ChargeIndicatorType should not be generated at all, and in Model\CommonAggregate\AllowanceChargeType, the propv 'chargeIndicatorshould be justtype: boolean`

from xsd2php.

anto-acube avatar anto-acube commented on September 21, 2024

Thanks @goetas ! I did the changes as you suggested. Thanks for your help

from xsd2php.

goetas avatar goetas commented on September 21, 2024

The yaml files should be auto updated. Re opening as this is probably a bug

from xsd2php.

Related Issues (20)

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.