Re: Setting XML parser features

2019-05-03 Thread Miljenko Brkic
Hi Daniel, Thanks! Schema is coming from a 3rd party. I doubt they'll fix it any time soon if ever. As a workaround I've already done what you suggest (as I haven't find any other way to make it work), i.e. created another XSD that includes all others (that use the same namespace) and then import

Re: Setting XML parser features

2019-05-02 Thread Daniel Kulp
> On Apr 30, 2019, at 7:05 AM, Miljenko Brkic wrote: > > I have a SOAP endpoint and want to validate incoming requests against the > WSDL. The problem is that WSDL imports multiple XSDs using the same > namespace I would fix that problem, not try to hack the parser to accept it. The WSDL sh

Setting XML parser features

2019-04-30 Thread Miljenko Brkic
Hi, I have a SOAP endpoint and want to validate incoming requests against the WSDL. The problem is that WSDL imports multiple XSDs using the same namespace that results with error: Caused by: org.xml.sax.SAXParseException: cvc-elt.1.a: Cannot find the declaration of element 'TestRQ'. at o