On Fri, 2005-11-11 at 08:38 -0500, Eric Lease Morgan wrote:
> On Nov 11, 2005, at 6:53 AM, Jakob Voss wrote:
> > In february there was a short discussion about namespaces. I'm
> > fighting with PICA implementation of SRU because they just skipped
> > the namespaces so all your XSLT and XPath does not work:
> > I wonder if this is just a difference between SRU 1.0 and SRU 1.1.
> > Are namespaces mandatory in SRU 1.1? Can you just skip the
> > "explainResponse" envelope.
> > BTW: I would appreciate a better readable standard like W3C
> > recommendations or the OAI-MPH specification. A single PDF file
> > (http://srw.cheshire3.org/SRW-1.1.pdf) is not that comfortable.
> Jakob, yes, namespaces are mandatory in SRU 1.1, but based on my
> knowledge how they are declared is not standardized. I have found
> this to be one of the challenges to writing XSLT stylesheets against
> SRU responses.
They're declared in an xmlns attribute. This isn't anything to do with
SRW/U, it's just a fundamental of XML. Could you elaborate further?
As a historical note, SRW/U 1.0 didn't wrap the explain record, it just
returned it raw. This led to various problems so for the stable 1.1 it
was fixed. In 1.1 you cannot just return the explain record.
> Regarding the specification, this too has been a sticking point, but
> I also believe the specification is in the process of being re-
> formatted for better readability.
There's a little too much to have a single HTML file with ALL of the
text for the specification. Given that the HTML pages that we have are
long, a single OAI-PMH style file would be lunacy.
But yes, the documentation has always been a sticking point which is
currently being worked on.
Dr Robert Sanderson
Dept of Computer Science, University of Liverpool