Skip to content


DDC-806: XSD requires an id element before the first field element #5323

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user m.strehl:

The entity element in doctrine-mapping.xsd requires an element id in front of the first element field.

This leads to invalid XML files, where a inherited class doesn't need an ID on its own, but inherits one from its parent.

In the examples in the documentation,
the code, too, has no id element in front of the first field elements.

A minimal example, showing the inheritance problem, too, is attached. The validation error occurs on the field element of the "Cat" entity.


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0-RC1 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.