[flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread ben.clinkinbeard
http://www.returnundefined.com/2006/07/dealing-with-default-namespaces-in-flex-2as3/ Ben http://www.returnundefined.com/ --- In flexcoders@yahoogroups.com, Tom Lee [EMAIL PROTECTED] wrote: Hi everyone, I am having some difficulty parsing .Net web service results. The problem lies in

RE: [flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread Tom Lee
:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, August 16, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML parser chokes on un-typed xmlns http://www.returnundefined.com/2006/07/dealing-with-default-namespaces-in-fl ex-2as3/ Ben http

RE: [flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread Gordon Smith
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard Sent: Wednesday, August 16, 2006 9:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML parser chokes on un-typed xmlns http://www.returnundefined.com/2006/07/dealing-with-default-namespaces-in-flex

[flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread ben.clinkinbeard
- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, August 16, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML parser chokes on un-typed xmlns http://www.returnundefined.com/2006/07/dealing-with-default

RE: [flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread Tom Lee
PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: XML parser chokes on un-typed xmlns More explanation... Tom, the behavior you saw was correct. In your first case, defining the soap namespace prefix on a doesn't affect b, because b has no namespace prefix and is therefore

RE: [flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread Tom Lee
PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML parser chokes on un-typed xmlns Hi Tom, Sorry, I've not used the descendants method before and I just assumed the approach I use would work. If you use .. instead it will work as expected. namespace temp = http://tempuri.org/;; use

[flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread ben.clinkinbeard
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, August 16, 2006 2:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML parser chokes on un-typed xmlns Hi Tom, Sorry, I've not used the descendants method before

RE: [flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread Tom Lee
, August 16, 2006 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML parser chokes on un-typed xmlns Don't get me started on default namespaces in Flex/AS3... :) --- In flexcoders@yahoogroups.com, Tom Lee [EMAIL PROTECTED] wrote: Awesome! That's got it! Thanks so much. Seems odd

Re: [flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread Claus Wahlers
Another idea I had would be to automagically loop through all the nodes in the XML, find all the namespaces, and declare them... But frankly, I don't know enough about the topic to understand the downsides of doing something like that. What do you think of the idea? Class XML: AS3 function

RE: [flexcoders] Re: XML parser chokes on un-typed xmlns

2006-08-16 Thread Tom Lee
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML parser chokes on un-typed xmlns I went round and round with different ideas about how to deal with these issues shortly after I started working with Flex. I even had some issues using namespaceDeclarations() which, as Claus points out, should