1
0
Fork 0

Merge pull request 'fixed a bug with id' (#486) from osfPreprints_plugin into beta

Reviewed-on: D-Net/dnet-hadoop#486
This commit is contained in:
Michele Artini 2024-09-25 10:02:24 +02:00
commit 9754521847
1 changed files with 1 additions and 1 deletions

View File

@ -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);