attribute namespace fix
| From: | George Schlossnagle | Date: | Thu, 31 Mar 2005 17:18:36 +0000 |
| Subject: | attribute namespace fix | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1821@lists.php.net to get a copy of this message | ||
Hi,
The recent changes to the SOAP attribute namespacing aren't quite correct. After a further reading of the namespacing scoping spec (http://www.w3.org/TR/REC-xml-names/#scoping-defaulting) and specifically schema spec (http://www.w3.org/TR/xmlschema-0/#UnqualLocals) regarding namespace qualification, the logic should be: if an attribute is marked as 'qualified' (i.e. attr-form == XSD_FORM_QUALIFIED) and if has a namespace, then specify the namespace, otherwise don't.)
I've prepared a patch and attached it.