xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Danner <jacob.dan...@gmail.com>
Subject Re: Suppress prefix validation in the XML -Message
Date Sat, 25 Jul 2009 15:30:24 GMT
from what you describe it sounds like you might have a validation
issue with the instance. Have you tried validating and seen if there
are errors?

This:
<response    xmlns="http://kkk/schema/xsxs" xmlns:ns1="http://kkk/xsx.org/">
    <ns1:something>
    <ns1:mn> and so on</ns1:mn>
    </ns1:something>
</response>

compared to this:
<response    xmlns="http://kkk/schema/xsxs" xmlns:ns1="http://kkk/xsx.org/">
    <something>
    <mn> and so on</mn>
    </something>
  </response>

are actually quite different.
If you still need help, please let us know what the validation errors are.

-jacobd


On Sat, Jul 25, 2009 at 6:41 AM, Henry A<henry_human@yahoo.de> wrote:
>
> The message that my client gets from service looks lik this:
> <response    xmlns="http://kkk/schema/xsxs" xmlns:ns1="http://kkk/xsx.org/">
>    <ns1:something>
>    <ns1:mn> and so on</ns1:mn>
>    </ns1:something>
>  </response>
>
> Because the prefix ns1 is used in the message, the xmlbenas in client fails
> with an error!
>  But when I remove the prefix from xml response and then handover to the
> xmlbean works fine.
>  How can I say xmlbeans to understand the prefix in the message?
>  Thanks for your hint in advance.
>
>
>
> --
> View this message in context: http://www.nabble.com/Suppress-prefix-validation-in-the-XML--Message-tp24658040p24658040.html
> Sent from the Xml Beans - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


Mime
View raw message