[Bug 288090] security/vuxml: make validate warnings after update to new libxml2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Jul 2025 06:27:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288090

            Bug ID: 288090
           Summary: security/vuxml: make validate warnings after update to
                    new libxml2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-secteam@FreeBSD.org
          Reporter: fernape@FreeBSD.org
          Assignee: ports-secteam@FreeBSD.org
             Flags: maintainer-feedback?(ports-secteam@FreeBSD.org)

After the update to the new libxml2, "make validate" shows parser warnings that
were not there before:

$ make validate
/bin/sh /data/fernape_data/FreeBSD-repos/ports/security/vuxml/files/tidy.sh
"/data/fernape_data/FreeBSD-repos/ports/security/vuxml/files/tidy.xsl"
"/data/fernape_data/FreeBSD-repos/ports/security/vuxml/vuln-flat.xml" >
"/data/fernape_data/FreeBSD-repos/ports/security/vuxml/vuln.xml.tidy"
>>> Validating...
/usr/local/bin/xmllint --valid --noout
/data/fernape_data/FreeBSD-repos/ports/security/vuxml/vuln-flat.xml
file:///usr/local/share/xml/dtd/xhtml-modularization/xhtml-special.ent:37:
parser warning : Invalid redeclaration of predefined entity 'lt'
<!ENTITY lt      "&#38;&#60;" ><!-- less-than sign, U+003C ISOnum -->
                             ^
file:///usr/local/share/xml/dtd/xhtml-modularization/xhtml-special.ent:39:
parser warning : Invalid redeclaration of predefined entity 'amp'
<!ENTITY amp     "&#38;&#38;" ><!-- ampersand, U+0026 ISOnum -->
                             ^
>>> Successful.

Note that /usr/local/bin/xmllint comes from:

/usr/local/bin/xmllint was installed by package libxml2-2.14.4

-- 
You are receiving this mail because:
You are the assignee for the bug.