> Date: Tue, 22 Jun 2004 14:08:27 +0100
> From: Robert Sanderson <[log in to unmask]>
>
> Regardless of the recordPacking=string issue which really makes this
> a non issue, in my opinion records should stand alone regardless of
> how you extract them from their SRW/U wrapper, and how you extract
> that from the SOAP wrapper in SRW.
>
> If someone wants to write a regular expression client that just rips
> out the contents of <recordData>, then they should be able to,
> rather than having to waste time turning the entire thing into a DOM
> tree and pulling out nodes, then re-serialising them back into their
> original form just to ensure that namespace mappings get copied.
I totally agree. We all understand perfectly well that XML documents
are "really" trees of nodes and that the angle-brackety documents we
all know and loathe are "really" nothing more than a conventional
expression of those trees. But the whole reason we're using the XML
flavour of abstract-tree-that-you-represent-as-a-stream-of-bytes
rather than (say) BER-encoded GRS-1 is to make a world where this kind
of hack can work. It seems at best rude for SRW servers or
hypothetical intermediaries to build XML which, while technically
legal, spoils this property.
_/|_ _______________________________________________________________
/o ) \/ Mike Taylor <[log in to unmask]> http://www.miketaylor.org.uk
)_v__/\ "A win as predictable as it was unexpected" -- Ian XXX,
on Millwall 2, Rotherham 0, 15/2/97
--
Listen to free demos of soundtrack music for film, TV and radio
http://www.pipedreaming.org.uk/soundtrack/
|