Bump shex dependency (#1351)

This commit is contained in:
dotasek 2023-07-17 16:35:00 -04:00 committed by GitHub
parent 6c2c1b21f9
commit ceceb6c7d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -58,10 +58,12 @@
<dependency>
<groupId>es.weso</groupId>
<artifactId>shexs_2.12</artifactId>
<version>0.2.31</version>
<version>0.2.32</version>
<optional>true</optional>
</dependency>
<!-- JSON Parsers -->
<dependency>
<groupId>com.google.code.gson</groupId>

View File

@ -8,8 +8,8 @@ import java.util.ArrayList;
import java.util.List;
import es.weso.shex.Schema;
import es.weso.shex.validator.ShExsValidator;
import es.weso.shex.validator.ShExsValidatorBuilder;
import es.weso.shexsjena.ShExsJenaValidator;
import es.weso.shexsjena.ShExsJenaValidatorBuilder;
import org.fhir.ucum.UcumException;
import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.r5.conformance.profile.ProfileUtilities;
@ -353,7 +353,7 @@ public class ShexGeneratorTests {
if (validateShEx) {
try {
ShExsValidator validator = ShExsValidatorBuilder.fromStringSync(schema, "ShexC");
ShExsJenaValidator validator =ShExsJenaValidatorBuilder.fromStringSync(schema, "ShexC");
Schema sch = validator.schema();
Assert.assertNotNull(sch);
@ -405,7 +405,7 @@ public class ShexGeneratorTests {
if (!schema.isEmpty()) {
if (validateShEx) {
try {
ShExsValidator validator = ShExsValidatorBuilder.fromStringSync(schema, "ShexC");
ShExsJenaValidator validator = ShExsJenaValidatorBuilder.fromStringSync(schema, "ShexC");
Schema sch = validator.schema();
Assert.assertNotNull(sch);