It is an error for the client to request it. The server should ignore it.
Ralph
> -----Original Message-----
> From: Matthew J. Dovey [mailto:[log in to unmask]]
> Sent: Friday, April 30, 2004 8:53 AM
> To: [log in to unmask]
> Subject: Re: Stylesheets in SRW
>
>
> Firstly apologies for not spotting this.
>
> Secondly - whilst it is an error for an SRW server to return a
> stylesheet instruction is it strictly an error for a client to request
> one? i.e. if an SRW receives a request including a stylesheet request
> should it ignore it or return a diagnostic (what diagnostic?)
>
> Matthew
>
>
>
> > -----Original Message-----
> > From: Z39.50 Next-Generation Initiative [mailto:[log in to unmask]]
> > On Behalf Of Robert Sanderson
> > Sent: 30 April 2004 13:37
> > To: [log in to unmask]
> > Subject: Re: Stylesheets in SRW
> >
> > Matthew:
> > > >This is an invalid SOAP request as processing instructions
> > are valid
> > > >anywhere in the SOAP response. In SOAP 1.2 a client MUST
> > generate a
> > > >SOAP fault if a response is received with a processing instruction.
> >
> > > >I thought the stylesheet parameter was only suppose to be
> > acted upon
> > > >by SRU servers and ignored (rather than return a
> > > >diagnostic) if sent to an SRW server.
> >
> > Monica:
> > > In that case the following page needs updating to reflect that:
> > > http://www.loc.gov/z3950/agency/zing/srw/stylesheet.html
> >
> > Given this, my suggestion for changes:
> >
> > stylesheet.html:
> >
> > Change:
> > It is typically expected that this parameter will be used
> > with SRU, but it is also possible to include in an SRW
> > request if the client desires a stylesheet to be returned to
> > render the response or part thereof.
> >
> > To:
> > This parameter may only be used with SRU. It is a SOAP error
> > to return a stylesheet in SRW, and hence an error to request one.
> >
> >
> > service.html
> >
> > Change:
> > A string giving the URL to return as an xml stylesheet in the
> > response.
> > This parameter is recommended for use with SRU, but may be
> > included in an SRW request.
> >
> > To:
> > A string giving the URL to return as an xml stylesheet in the
> > response.
> > This parameter is only for use with SRU.
> >
> >
> > Rob
> >
> > --
> > ,'/:. Dr Robert Sanderson ([log in to unmask])
> > ,'-/::::. http://www.o-r-g.org/~azaroth/
> > ,'--/::(@)::. Special Collections and Archives, extension 3142
> > ,'---/::::::::::. Nebmedes: http://nebmedes.o-r-g.org:8000/
> > ____/:::::::::::::.
> > I L L U M I N A T I
> >
|