-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello, I was wondering if there is documentation about how to load the registry programmatically from the getResolverDataset json file.
The project I am working on has the following dependency
<dependency> <groupId>org.identifiers.registry</groupId> <artifactId>registry-lib</artifactId> <version>1.1.1</version> </dependency>
And it is loading the resources like this:
RegistryDatabase.loadFromFile(file);
There is a loadFromInputStream version as well. But I am getting the following error, which clearly shows these methods accept the old xml files.
[Fatal Error] :1:1: Content is not allowed in prolog. Exception in thread "main" java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
Thanks