Suppress prefix validation in the XML -Message

2009-07-25 Thread Henry A
The message that my client gets from service looks lik this: responsexmlns=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

Re: Suppress prefix validation in the XML -Message

2009-07-25 Thread Jacob Danner
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: responsexmlns=http://kkk/schema/xsxs; xmlns:ns1=http://kkk/xsx.org/; ns1:something ns1:mn and so on/ns1:mn /ns1:something

Re: Suppress prefix validation in the XML -Message

2009-07-25 Thread Henry A
from what you describe it sounds like you might have a validation a) The only message after validating of response i get is a boolean value:false //hier is the validation responseDoc.Factory.parse(respons_decoded).validate(); Are there other options to get more validation data from the xmlbean!?

Re: Suppress prefix validation in the XML -Message

2009-07-25 Thread Pete Cordell
Would it help if you posted the XSD schema? Thanks, Pete Cordell Codalogic Ltd Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com for C++ XML data binding - Original Message - From: Henry A henry_hu...@yahoo.de To: user@xmlbeans.apache.org Sent: Saturday, July 25, 2009 7:16 PM

Re: Suppress prefix validation in the XML -Message

2009-07-25 Thread Jacob Danner
A) Take a peek at http://xmlbeans.apache.org/docs/2.0.0/guide/conValidationWithXmlBeans.html#validation_apis you can set an error listener on the XMLOptions you pass into the validate method and get much more useful information. The value of false means the instance is not valid according to the