CSW client incorrectly parses <References> element.
Brought to you by:
mhogeweg
CswProfile.readCSWGetMetadataByIDResponse() parses the CSW references element incorrectly. It passes the entire XML document to DcList for parsing. This means that the first reference and the last reference end up with garbage data prepended and appended.
The included patch fixes this by extracting just the <References> tag out of the XML and passing that to DcList for parsing.
Patch to fix the reference parsing bug