Bug#1107520: libhtml5parser-java: Update to a more recent version? (#1107520)
Fab Stz
fabstz-it at yahoo.fr
Tue Jun 17 19:55:08 BST 2025
Hello,
I'm adding debian-java at l.d.o because update of libhtml5parser-java is required
for vnu (validator.nu: a html5 validator).
The changelog of libhtml5parser-java mentions that the package was downgraded
to 1.3.1 because of issues with netbeans
* Imported Upstream version 1.4+r1.3.1.
- Use version 1.3.1 because 1.4 is in parts incompatible with Netbeans.
Errors are only visible at runtime when for instance HTML elements are
not properly displayed in the navigator window.
However neither bin:netbean, nor netbeans IDE is in the Debian archive.
However there is a src:netbeans package which produces only bin:libnb-
absolutelayout-java. I'm not sure wether the notice of the downgrade refers to
this binary package or the GUI.
I updated the package to "1.4+r1.4git-20250127-35dfe92-1" locally and can
confirm that the only reverse dependency, namely "librdfa-java_1.0.0~BETA1-3"
builds fine with it. I didn't change anything else except the changelog and
refreshing the patches.
Could the package be updated to a newer version?
Regards
Fab
On Sun, 08 Jun 2025 16:51:44 +0200 Fab Stz <fabstz-it at yahoo.fr> wrote:
> Package: libhtml5parser-java
> Version: 1.4+r1.3.1-3
> Severity: normal
>
> Dear Maintainer,
>
> While trying to build/package vnu.jar v23.4.11 [2] I wanted to use the
> htmlparser.jar that is shipped in Debian. However build fails when using the
> version in Debian, likely because some interfaces have apparently changed.
The
> version shipped in Debian is dated 2011 (if it really is 1.3.1) or 2021 (if
it
> is 1.4).
>
> I'm not sure but is seems the project was forked? See [1].
>
> The only reverse dependency of this package in Debian is librdfa-java and
> nothing depends on librdfa-java.
>
> There have been multiple commits on that repo although there has been no new
> release/tag.
>
> Do you think this package could be updated, or shall I rather use the copy
> shipped in vnu and just ignore debian's htmlparser.jar? vnu uses submodules
> and
> references some particular commits of htmlparser, sometimes it refers to a
> specific branch (depending on the tag/version of vnu).
>
> Note I also filed a request upstream to replace jchardet by a dependency on
a
> package that exists in Debian. [3]
>
> [1] https://github.com/validator/htmlparser
> [2] https://github.com/validator/validator
> [3] https://github.com/validator/htmlparser/issues/95
>
> Regards
> Fab
>
>
> -- System Information:
> Debian Release: 12.11
> APT prefers stable-updates
> APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991,
> 'stable'), (990, 'proposed-updates'), (390, 'oldstable-security'), (390,
> 'oldstable'), (389, 'oldstable-updates'), (380, 'oldoldstable'), (379,
> 'oldoldstable-updates'), (370, 'oldoldstable'), (95, 'testing'), (94,
> 'unstable'), (93, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 6.1.0-37-amd64 (SMP w/4 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
> LANGUAGE=fr:en_US
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> libhtml5parser-java depends on no packages.
>
> libhtml5parser-java recommends no packages.
>
&references=<13631917.O9o76ZdvQC.ref at debian>
<13631917.O9o76ZdvQC at debian>
More information about the pkg-java-maintainers
mailing list