php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57628 Namespaces should be URIs
Submitted: 2007-04-23 09:54 UTC Modified: 2017-01-10 08:05 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: mfp@php.net Assigned:
Status: Suspended Package: SCA_SDO (PECL)
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
 [2007-04-23 09:54 UTC] mfp@php.net
Description:
------------
We had a problem where importing an xsd with a namespace of PersonNS caused the single-argument version of
createDocument to stop working. No idea why, but making the namespace a proper uri:
urn:personNS
fixed the problem.

Actually namespaces *should* be uris, and uris are supposed to have a scheme, so we *should* check for a valid uri anywhere we expect a namespace. Also we should fix it in the docs if we have examples of invalid namespaces (which we do).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 08:05 UTC] kalle@php.net
-Status: Assigned +Status: Suspended -Assigned To: mfp +Assigned To:
 [2017-01-10 08:05 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 9 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 04 14:01:29 2024 UTC