You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sander Stevens <st...@hotmail.com> on 2009/03/19 13:35:00 UTC

XML Schema assertion --> Combined XSDs

Hi all,

 

I want to use the XML schema validation to check if my response is well formed.

But the problem is that my XSD is combined. It has declarations to two other XSDs (like below) and in this way some statements in my response are not recognized. 

 

The XSD looks like this (pay attention to the import lines. two additional xsd are used, but not loaded with the XML schema assertion):

 

Thanks!

Sander

 

 

  <?xml version="1.0" encoding="UTF-8" ?> 
- <!--  ZiNG SRU/SRW WSDL Specification                     -->

 
- <!--  Version 1.1                                         -->

 
- <!--  20 July 2004                                         -->

 

- <xsd:schema targetNamespace="http://www.loc.gov/zing/srw/" xmlns:diag="http://www.loc.gov/zing/srw/diagnostic/" xmlns:xcql="http://www.loc.gov/zing/cql/xcql/" xmlns="http://www.loc.gov/zing/srw/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">


  <xsd:import namespace="http://www.loc.gov/zing/cql/xcql/" schemaLocation="xcql.xsd" /> 

  <xsd:import namespace="http://www.loc.gov/zing/srw/diagnostic/" schemaLocation="diagnostics.xsd" /> 

- <xsd:complexType name="requestType">


- <xsd:sequence>


  <xsd:element ref="version" /> 
  </xsd:sequence>
  </xsd:complexType>

- <xsd:complexType name="responseType">
 

 

_________________________________________________________________
De leukste online filmpjes vind je op MSN Video!
http://video.msn.com/video.aspx?mkt=nl-nl