DDC-2468: xml schema incomplete #3096

Closed
opened 2026-01-22 14:12:06 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (May 23, 2013).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user dbu:

while writing the schema for phpcr-odm i noticed that the orm schema seems to miss some things. not sure if they are just missing in the schema but supported by the xml driver or if the xml driver also misses those:

cascade-type is missing

        <xs:element name="cascade-detach" type="phpcr:emptyType" minOccurs="0"/>

lifecycle-callback-type is missing a bunch of callbacks:

        <xs:enumeration value="onFlush"/>
        <xs:enumeration value="postFlush"/>
        <xs:enumeration value="onClear"/>
        <xs:enumeration value="loadClassMetadata"/>
Originally created by @doctrinebot on GitHub (May 23, 2013). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user dbu: while writing the schema for phpcr-odm i noticed that the orm schema seems to miss some things. not sure if they are just missing in the schema but supported by the xml driver or if the xml driver also misses those: cascade-type is missing ``` <xs:element name="cascade-detach" type="phpcr:emptyType" minOccurs="0"/> ``` lifecycle-callback-type is missing a bunch of callbacks: ``` <xs:enumeration value="onFlush"/> <xs:enumeration value="postFlush"/> <xs:enumeration value="onClear"/> <xs:enumeration value="loadClassMetadata"/> ```
admin added the Bug label 2026-01-22 14:12:06 +01:00
admin closed this issue 2026-01-22 14:12:07 +01:00
Author
Owner

@doctrinebot commented on GitHub (May 26, 2013):

Comment created by @beberlei:

These are not lifecycle events? I am not sure they are necessary here.

@doctrinebot commented on GitHub (May 26, 2013): Comment created by @beberlei: These are not lifecycle events? I am not sure they are necessary here.
Author
Owner

@doctrinebot commented on GitHub (May 26, 2013):

Comment created by @beberlei:

Fixed cascade-detach missing

@doctrinebot commented on GitHub (May 26, 2013): Comment created by @beberlei: Fixed cascade-detach missing
Author
Owner

@doctrinebot commented on GitHub (May 26, 2013):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (May 26, 2013): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3096