Revision 2985
Added by Matt Jones over 18 years ago
src/edu/ucsb/nceas/metacat/client/MetacatClient.java | ||
---|---|---|
714 | 714 |
XMLUtilities.getXMLReaderAsDOMTreeRootNode(responseReader); |
715 | 715 |
Node docidNode = |
716 | 716 |
XMLUtilities.getNodeWithXPath(root, "/lastDocid/docid"); |
717 |
lastIdentifier = docidNode.getNodeValue(); |
|
717 |
lastIdentifier = docidNodegetFirstChild().getNodeValue();
|
|
718 | 718 |
} |
719 | 719 |
} catch (Exception e) { |
720 | 720 |
throw new MetacatException(e.getMessage()); |
Also available in: Unified diff
Patch to make the getLastDocid function actually work on the text node.