Hi folks - I am working on an SRW server implementation in PHP4 I have great troubles trying to validate my own 'explainResponses' against the SRW schema http://www.loc.gov/z3950/agency/zing/srw/srw-types.xsd My srw:explainResponse starts out something like this; <?xml version="1.0" encoding="UTF-8"?> <srw:explainResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:srw="http://www.loc.gov/zing/srw/" xmlns:diag="http://www.loc.gov/zing/srw/diagnostic/" xmlns:xcql="http://www.loc.gov/zing/srw/xcql/" xsi:schemaLocation="http://www.loc.gov/zing/srw/ http://www.loc.gov/z3950/agency/zing/srw/srw-types.xsd"> <srw:version>1.1</srw:version> <srw:record> I tried quite a few xml-schema validators, and they complain about the scheme as such. Now what ?? Which tools do you use to make sure that the xml output from your reference implementations are correct in schemas ??? Some hints to good tools to use? Or some hints where the error in the scheme might be ?? DETAILS: XMLLINT: seems to be a bug in xmmlint, gives very confusiong errors PPARSE (Xerces) PParse -n -s -f tmp/explain.sru.tmp Error at file http://www.loc.gov/z3950/agency/zing/srw/srw-types.xsd, line 26, char 41 Message: An 'all' model group that's part of a complex type definition must constitute the entire content type of the definition Error at file http://www.loc.gov/z3950/agency/zing/srw/srw-types.xsd, line 43, char 42 Message: An 'all' model group that's part of a complex type definition must constitute the entire content type of the definition Error at file http://www.loc.gov/z3950/agency/zing/srw/srw-types.xsd, line 58, char 41 Message: An 'all' model group that's part of a complex type definition must constitute the entire content type of the definition Error at file http://www.loc.gov/z3950/agency/zing/srw/srw-types.xsd, line 70, char 42 Message: An 'all' model group that's part of a complex type definition must constitute the entire content type of the definition Error at file http://www.loc.gov/z3950/agency/zing/srw/srw-types.xsd, line 81, char 41 Message: An 'all' model group that's part of a complex type definition must constitute the entire content type of the definition Error at file http://www.loc.gov/z3950/agency/zing/srw/srw-types.xsd, line 91, char 42 Message: An 'all' model group that's part of a complex type definition must constitute the entire content type of the definition tmp/explain.sru.tmp: 1395 ms (73 elems, 55 attrs, 18 spaces, 874 chars) GOTDOTNET http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx (only trying to validate the schema as such) Cannot resolve schemaLocation attribute. An error occurred at , (7, 4). Cannot resolve schemaLocation attribute. An error occurred at , (8, 4). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (10, 6). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (17, 6). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (71, 10). The derived type and the base type must have the same content type. An error occurred at , (68, 4). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (17, 6). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (92, 10). The derived type and the base type must have the same content type. An error occurred at , (89, 4). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (10, 6). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (27, 10). The derived type and the base type must have the same content type. An error occurred at , (24, 4). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (17, 6). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (44, 10). The derived type and the base type must have the same content type. An error occurred at , (41, 4). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (10, 6). 'all' is not the only particle in a group or being used as an extension. An error occurred at , (59, 10). The derived type and the base type must have the same content type. An error occurred at , (56, 4). Type 'http://www.loc.gov/zing/cql/xcql/:operandType' is not declared. An error occurred at , (145, 12). Type 'http://www.loc.gov/zing/cql/xcql/:searchClauseType' is not declared. An error occurred at , (209, 12). The 'http://www.loc.gov/zing/srw/diagnostic/:diagnostic' element is not declared. An error occurred at , (136, 8).