Matthew J. Dovey wrote:
>There's a new srw-types.xsd document at
>http://samantha.oucs.ox.ac.uk:8080/srw1-1/srw-types.xsd
>
>
I tried this with PParse (Xalan/Xerces C code version xerces23_2.3.0-1
debian testing), and it works.
PParse -n -s test.xml 2>&1 | less
where head test.xml
<?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
<searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/zing/srw/
http://samantha.oucs.ox.ac.uk:8080/srw1-1/srw-types.xsd">
<version>1.1</version>
<numberOfRecords>2</numberOfRecords>
<nextRecordPosition>1</nextRecordPosition>
.....
And it _did_ find a bug in my implementation. Nice!
Thanks for the effort spent in making the scheme OK.
>(http://samantha.oucs.ox.ac.uk:8080/srw1-1/ contains all the other
>files, srw-types, diagnostics and
>http://samantha.oucs.ox.ac.uk:8080/cql/xcql.xsd have been changed)
>
>
>
These I have not touched.
>Could people test this to let me know if it solves the various problems
>(you can use http://samantha.oucs.ox.ac.uk:8080/srw1-1/srw-bindings.wsdl
>which will pick up the new types etc.)
>
>
>
Neither this one
>Matthew
>
>P.S. Ray, don't transfer these files to the live site until after
>testing!
>
>
>
Thanks for your help in this issue!
Marc Cromme, Indexdata
PS: It also claimed to find a bug in the DC schemes I use in this
application. I do not know yet wether there is a bug in PParse or in the
DC schemes.
Has anybody stroke on this problem as well ???
Error messages from PParse like this:
Error at file http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd,
line 63,
char 66
Message: Invalid value '0' for attribute: 'maxOccurs'.
Error at file http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd,
line 72,
char 53
Message: Element title has a type which does not derive from the type
of the e
lement at the head of the substitution group
Error at file http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd,
line 72,
char 53
Message: Untyped element: title
Error at file http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd,
line 73,
char 55
Message: Element creator has a type which does not derive from the
type of the
element at the head of the substitution group
..... and so on ...........
|