DDC-550: <doctrine-mapping /> tag attributes generated by XmlExporter are inconsistent with documentation & do not provide code completion in IDEs #679

Closed
opened 2026-01-22 12:46:32 +01:00 by admin · 1 comment
Owner

Originally created by @doctrinebot on GitHub (Apr 27, 2010).

Originally assigned to: @jwage on GitHub.

Jira issue originally created by user mjh_ca:

Expected as per docs:

<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
                    http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

Actually generated:

<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xsi="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

At least with NetBeans, these attributes are insufficient for XML code completion. Adjusting to match the tag in the docs restores code completion functionality.

Originally created by @doctrinebot on GitHub (Apr 27, 2010). Originally assigned to: @jwage on GitHub. Jira issue originally created by user mjh_ca: Expected as per docs: ``` <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> ``` Actually generated: ``` <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xsi="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> ``` At least with NetBeans, these attributes are insufficient for XML code completion. Adjusting to match the tag in the docs restores code completion functionality.
admin added the Improvement label 2026-01-22 12:46:32 +01:00
admin closed this issue 2026-01-22 12:46:34 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 28, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Apr 28, 2010): 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#679