Example instance doc

<s1:a xmlns:s1="www.test.com/s1" xmlns:s2="www.test.com/s2"
xmlns:s3="www.test.com/s3">
  <s2:b>
     <s3:c>abc<s3:c>
  </s2:b>
</s1:a>

Another example 

  
    <c xmlns="www.test.com/s3">abc</c>
  


Ideally both the instances are same, but the only difference is the
namespaces are declared in different locations.

When i try to unmrashsal with castor the second one does not work, it
returns a null object.
The first one works fine. 
Is there any setting or property that I need to specify to get this working?

Right now I have implemented a very horrible fix, of parsing through the
entire XML and removing the namespaces.

Thanks
Thiaga
-- 
View this message in context: 
http://www.nabble.com/Location-of-the-namespaces-tf4565294.html#a13031043
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to