Re: attribute namespace fix

From: Date: Thu, 31 Mar 2005 18:27:31 +0000
Subject: Re: attribute namespace fix
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-1825@lists.php.net to get a copy of this message
On Mar 31, 2005, at 1:14 PM, Dmitry Stogov wrote:
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.
Taking a bit more of a look, this look like it's intended to be addressed in schema_attribute_fixup(). It doesn't look implemented though. I'm happy to take a shot at that, if you're busy. As you can probably guess, I need this support working for something. :) George
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.
George Schlossnagle
-- Prinicipal Consultant -- OmniTI Computer Consulting -- http://www.omniti.com

« previous php.soap (#1825) next »