Re: [SOAP] RE: element handling in schema
| From: | George Schlossnagle | Date: | Mon, 28 Mar 2005 19:34:43 +0000 |
| Subject: | Re: [SOAP] RE: element handling in schema | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1798@lists.php.net to get a copy of this message | ||
On Mar 28, 2005, at 2:05 PM, Adam Maccabee Trachtenberg wrote:
On Mon, 28 Mar 2005, Dmitry Stogov wrote:Right. It's not clear how to support this with the syntax Dmitry demonstrated. It's not an issue for me at the moment, but might be later. GeorgeIf I read this correctly, you can have attributes with the same local name, as long as they are bound to different namespaces. (Or one is in a NS and one is not.) I think that's what George is getting at, i.e. <foo xmlns:ns1="a" xmlns:ns2="b" ns1:bar="x" ns2:bar="y" /> You can have two "bar" attributes, as ns1 is "a" and ns2 is "b", so they are distinct.Is there (out of curiosity) anyway to handle multiple attributes with the same local name that are in different namespaces?No way. http://www.w3.org/TR/REC-xml-names/#uniqAttrs