|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62900 Wrong namespace on xsd import error message
Submitted: 2012-08-22 22:59 UTC Modified: -
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: victor dot prieto at avature dot net Assigned:
Status: Open Package: SOAP related
PHP Version: 5.3.16 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: victor dot prieto at avature dot net
New email:
PHP Version: OS:


 [2012-08-22 22:59 UTC] victor dot prieto at avature dot net

please take a look at:

line 121:

soap_error2(E_ERROR, "Parsing Schema: can't import schema from '%s', unexpected 'targetNamespace'='%s'", location, ns->children->content);

'targetNamespace' placeholder value corresponds to new_tns->children->content and not to ns->children->content



Expected result:
The error should render the targetNamespace found on the referenced XSD file and not the value of the namespace attribute of the import tag on the referencing XSD file

Actual result:
The error shows the 'namespace' import tag attribute as the 'targetNamespace' value


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Apr 02 09:03:46 2023 UTC