Package: libwoodstox-java / 1:5.1.0-2

Metadata

Package Version Patches format
libwoodstox-java 1:5.1.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix interface mismatch between woodstox and osgi.patch | (download)

src/main/java/com/ctc/wstx/osgi/WstxBundleActivator.java | 8 5 3 - 0 !
1 file changed, 5 insertions( ), 3 deletions(-)

 fix interface mismatch between woodstox and osgi.

In registerService() recent osgi versions expect properties to be
passed as a Dictionary<String, ?> object , while woodstox tries to
pass a Properties object, which implements Dictionary<Object,
Object> (which actually contains elements of type <String, Object>).

In this patch the Java type checker is forced to accept this code
by converting the object to an intermediate Hashtable type, without
specifying generic types.

0002 Fix a test.patch | (download)

src/test/java/wstxtest/sax/TestEntityResolver.java | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 fix a test.

A woodstox test depends on an error string being returned in English,