Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:
    • Environment:
      Ubuntu 13.04, Symfony2

      Description

      When i try to generate my entities mapping in Symfony2 using XML I always get the same error:

      Element '

      {http://doctrine-project.org/schemas/orm/doctrine-mapping}

      doctrine-mapping': No matching global declaration avail
      able for the validation root

      I am not adding any column, because first i need to validate the XML which I can't.

      <?xml version="1.0" encoding="UTF-8"?>
      <orm:doctrine-mapping
      xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
      xmlns:orm='http://doctrine-project.org/schemas/orm/doctrine-mapping'
      xsi:schemaLocation='http://doctrine-project.org/schemas/orm/doctrine-mapping http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd'>

      </orm:doctrine-mapping>

      As you can figure out, my XML is very simple. I am doing just for the validation testing. After this could be validated, I will map my entities.

      Thanks for your help.

      Regards,
      Peter

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Petter Castro
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: