No, this should be handled by default. Can you please create a new Jira
issue at
http://jira.codehaus.org/browse/CASTOR
and attach all relevant information. Please read
http://castor.org/how-to-submit-an-xml-bug.html
before doing so and try to follow these guidelines as much as possible
to make our life easier.
Werner
Thiaga wrote:
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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email