Project

General

Profile

« Previous | Next » 

Revision 40103

Added by Nikon Gasparis over 8 years ago

jsonLD is now created correctly
support to send the jsonld via post request to annotation service (inside jsonLdBuilder)

View differences:

ParsingClaimUtils.java
139 139
        try {
140 140
             NodeList nl = (NodeList) xpath.compile("//*[local-name()='recordIdentifier']/text()").evaluate(document, XPathConstants.NODESET);
141 141
            if (nl.getLength() > 0) {
142
                r.setId(nl.item(0).getNodeValue());
142
                r.setDoi(nl.item(0).getNodeValue());
143 143
            }
144 144
             nl = (NodeList) xpath.compile("//*[local-name()='objIdentifier']/text()").evaluate(document, XPathConstants.NODESET);
145 145
            if (nl.getLength() > 0) {

Also available in: Unified diff