RE: attribute namespace fix
| From: | Dmitry Stogov | Date: | Thu, 31 Mar 2005 18:14:11 +0000 |
| Subject: | RE: attribute namespace fix | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1823@lists.php.net to get a copy of this message | ||
Hi George,
I think your patch isn't fully correct.
It didn't look into attributeFormDefault of the <schema>.
Seems I didn't understand this during implementation.
Thanks. Dmitry.
> -----Original Message-----
> From: George Schlossnagle [mailto:george@omniti.com]
> Sent: Thursday, March 31, 2005 21:19
> To: Dmitry Stogov; soap@lists.php.net
> Cc: George Schlossnagle
> Subject: attribute namespace fix
>
>
> 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.
>
>
>