Uploaded image for project: 'Doctrine MongoDB ODM'
  1. Doctrine MongoDB ODM
  2. MODM-150

XSD file for XML mappings is incomplete


    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0BETA3
    • Fix Version/s: None
    • Component/s: Mapping Drivers
    • Labels:


      The XSD file for XML mappings (http://www.doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd) appears to be incomplete:

      • Only document is allowed as root tag, not mapped-superclass or embedded-document
      • The name attribute for the document tag is not allowed according to the XSD file
      • The fieldName, index and unique attributes for the field tag is not allowed according to the XSD file

      These are the problems I discovered at the moment, I haven't yet checked for more problems. The XSD file probably needs a bigger update.

      Attached is a patch file that adds the missing attributes, I haven't dug into Doctrine enough to create the mapped-superclass or embedded-document tags.


        a.braun alcaeus created issue -

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={expand=changesets[0:20].revisions[0:29],reviews, query=MODM-150}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)


          • Assignee:
            jwage Jonathan H. Wage
            a.braun alcaeus
          • Votes:
            1 Vote for this issue
            1 Start watching this issue


            • Created: