Skip to content

Children class Docs vs. Schema defintion #782

@ElectricMaxxx

Description

@ElectricMaxxx

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions