Skip to content

Commit

Permalink
Merge pull request #434 from apache/bugfix/431-Issue-using-SPI-enable…
Browse files Browse the repository at this point in the history
…d-type-systems-embedded-into-PEARs

Issue #431: Issue using SPI-enabled type systems embedded into PEARs
  • Loading branch information
reckart authored Jan 20, 2025
2 parents 296b614 + 6021850 commit 8950b27
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion uimaj-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@
osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.spi.TypeSystemProvider)";cardinality:=multiple;resolution:=optional,
osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.spi.TypeSystemDescriptionProvider)";cardinality:=multiple;resolution:=optional,
osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.spi.TypePrioritiesProvider)";cardinality:=multiple;resolution:=optional,
osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.spi.FsIndexCollectionProvider)";cardinality:=multiple;resolution:=optional
osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.spi.FsIndexCollectionProvider)";cardinality:=multiple;resolution:=optional,
osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.fit.validation.ValidationCheck)";cardinality:=multiple;resolution:=optional
</Require-Capability>
</instructions>
</configuration>
Expand Down
14 changes: 7 additions & 7 deletions uimaj-core/src/main/java/org/apache/uima/cas/SerialFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ public enum SerialFormat {
UNKNOWN(""),

/**
* XML-serialized CAS
* XML-serialized CAS, using XML version 1.0
*/
XCAS("xcas"),

/**
* XML-serialized CAS
* XML-serialized CAS, using XML version 1.0
*/
XMI("xmi"),

Expand Down Expand Up @@ -64,7 +64,7 @@ public enum SerialFormat {
SERIALIZED("scas"),

/**
* Java-serialized CAS with type system and index definitions The Typs System and Index Definition
* Java-serialized CAS with type system and index definitions The Type System and Index Definition
* replaces the CAS's when deserializing.
*/
SERIALIZED_TSI("scas"),
Expand Down Expand Up @@ -95,22 +95,22 @@ public enum SerialFormat {
COMPRESSED_TSI("bcas"),

/**
* XML-serialized CAS, using xml version 1.1
* XML-serialized CAS, using XML version 1.1
*/
XCAS_1_1("xcas"),

/**
* XML-serialized CAS, using xml version 1.1
* XML-serialized CAS, using XML version 1.1
*/
XMI_1_1("xmi"),

/**
* XML-serialized CAS, using xml version 1.1 - pretty-printed
* XML-serialized CAS, using XML version 1.0 - pretty-printed
*/
XMI_PRETTY("xmi"),

/**
* XML-serialized CAS, using xml version 1.1 - pretty-printed
* XML-serialized CAS, using XML version 1.1 - pretty-printed
*/
XMI_1_1_PRETTY("xmi"),;

Expand Down

0 comments on commit 8950b27

Please sign in to comment.