forked from D-Net/dnet-hadoop
fixed a bug with id
This commit is contained in:
parent
b35d046fd2
commit
fa2532db30
|
@ -85,7 +85,7 @@ public class OsfPreprintsIterator implements Iterator<String> {
|
|||
final Element n = (Element) ((Element) o).detach();
|
||||
|
||||
final Element group = DocumentHelper.createElement("group");
|
||||
group.addAttribute("id", n.valueOf(".//data/id"));
|
||||
group.addAttribute("id", n.valueOf("./id"));
|
||||
|
||||
group.addElement("preprint").add(n);
|
||||
|
||||
|
|
Loading…
Reference in New Issue