Bug#822091: libxmlbeans-java: Embeds classes without source

Emmanuel Bourg ebourg at apache.org
Thu Apr 21 12:29:54 UTC 2016


Le 21/04/2016 09:29, Markus Koschany a écrit :

> While I was working on #820839, I discovered that the source package
> ships external jar and zip files in external/.
> 
> I tried to repack the tarball but then the package failed to build
> from source. Apparently the build system requires the piccolo classes
> and it also embeds them in the resulting xmlbeans.jar.

Good catch. It looks like the jar was already embedded in the first
upload 6 years ago. XMLBeans has an option to use an alternative XML
parser (with XmlOptions.setLoadUseXMLReader()) but it's never used in
Debian. So the Piccolo parser is indeed used.

Piccolo is a rather old parser, I don't think it's worth packaging it. I
suggest patching xmlbeans to use the standard JDK parser instead.

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list