[XML Mapping] Wrong URL causing validation errors #7492

Closed
opened 2026-01-22 15:52:16 +01:00 by admin · 4 comments
Owner

Originally created by @DavidPetrasek on GitHub (Mar 25, 2025).

In this section
https://www.doctrine-project.org/projects/doctrine-orm/en/3.3/reference/xml-mapping.html

All occurences of
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
Need to be changed to
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Originally created by @DavidPetrasek on GitHub (Mar 25, 2025). In this section https://www.doctrine-project.org/projects/doctrine-orm/en/3.3/reference/xml-mapping.html All occurences of `xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"` Need to be changed to `xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"`
admin closed this issue 2026-01-22 15:52:16 +01:00
Author
Owner

@greg0ire commented on GitHub (Mar 25, 2025):

Why? When I browse that URL, I get redirected to https, BTW.

@greg0ire commented on GitHub (Mar 25, 2025): Why? When I browse that URL, I get redirected to `https`, BTW.
Author
Owner

@DavidPetrasek commented on GitHub (Mar 25, 2025):

It's not just me having this problem. See: https://stackoverflow.com/a/78870821/10977967
Is this really a bug?

@DavidPetrasek commented on GitHub (Mar 25, 2025): It's not just me having this problem. See: https://stackoverflow.com/a/78870821/10977967 Is this really a bug?
Author
Owner

@greg0ire commented on GitHub (Mar 25, 2025):

I think you're correct, apparently, it should not be thought of as a URL to retrieve anything, but as a namespace, and should match exactly

It was done as part of a bigger migration from http to https in 7fa3e6ec7c

Can you send a PR?

@greg0ire commented on GitHub (Mar 25, 2025): I think you're correct, apparently, it should not be thought of as a URL to retrieve anything, but as a namespace, and should match exactly It was done as part of a bigger migration from `http` to `https` in 7fa3e6ec7c75e1b4f14ab7e6a1dd80badc4e0fac Can you send a PR?
Author
Owner

@DavidPetrasek commented on GitHub (Mar 27, 2025):

Here it is: https://github.com/doctrine/orm/pull/11894

@DavidPetrasek commented on GitHub (Mar 27, 2025): Here it is: https://github.com/doctrine/orm/pull/11894
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7492