Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Children class Docs vs. Schema defintion #782

Open
ElectricMaxxx opened this issue Jun 24, 2018 · 1 comment
Open

Children class Docs vs. Schema defintion #782

ElectricMaxxx opened this issue Jun 24, 2018 · 1 comment
Labels

Comments

@ElectricMaxxx
Copy link
Contributor

What is the correct way to define allowed children class ins XML?
Docs say:

<doctrine-mapping>
    <document class="ContentFolder">
        <child-class>Article</child-class>
        <child-class>Page</child-class>
        <!-- ... -->
    </document>
</doctrine-mapping>

Schema says:

    <xs:complexType name="child-class">
        <xs:attribute name="name" type="xs:string"/>
    </xs:complexType>
@ElectricMaxxx ElectricMaxxx changed the title Chidren class Docs vs. Schema defintion Children class Docs vs. Schema defintion Jun 24, 2018
@dbu
Copy link
Member

dbu commented Aug 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants