Closed several27 closed 6 years ago
Seems I updated the class a while back but forgot to update the example.
The following
try (PatentReader patentReader = new PatentReader(xmlDocStr, patentDocFormat)) {
Patent patent = patentReader.read();
Should be:
try (PatentReader patentReader = new PatentReader(patentDocFormat)) {
Patent patent = patentReader.read(xmlDocStr);
As above. The dependencies are wrong and there are some weird problems with the reader at this line: