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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
47 - 46 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sat May 11 11:01:31 2024 UTC