Date: Sat, 06 Nov 2010 11:28:57 +0100 From: Matthias Andree <mandree@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gabor@FreeBSD.org Subject: ports/151985: xhtml-11 DTD not recognized by xmllint? Message-ID: <E1PEg13-0003C0-9J@apollo.emma.line.org> Resent-Message-ID: <201011061030.oA6AUBvn057525@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151985 >Category: ports >Synopsis: xhtml-11 DTD not recognized by xmllint? >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 06 10:30:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 8.1-STABLE amd64 >Organization: >Environment: System: FreeBSD apollo.emma.line.org 8.1-STABLE FreeBSD 8.1-STABLE #35: Wed Nov 3 21:09:55 CET 2010 toor@apollo.emma.line.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Trying to validate an XHTML 1.1 document with xmllint (from libxml2) fails, likely due to lack of XML-format catalogs for the XHTML 1.1 DTD, angle brackets from this screenshot replaced by parentheses for the sake of send-pr: $ xmllint --postvalid --noout Mailbox-Names-UTF7.html Mailbox-Names-UTF7.html:2: warning: failed to load external entity "http://www.w 3.org/TR/xhtml11/DTD/xhtml11.dtd" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd") ^ Mailbox-Names-UTF7.html:542: parser error : Entity 'mdash' not defined — Matthias Andree, editor(/p)(/div) ^ warning: failed to load external entity "http://www.w3.org/TR/xhtml11/DTD/xhtml1 1.dtd" validity error : Could not load the external subset "http://www.w3.org/TR/xhtml1 1/DTD/xhtml11.dtd" Document Mailbox-Names-UTF7.html does not validate >How-To-Repeat: Install asciidoc, xhtml-11 and libxml2. Fetch mail/fetchmail, unpack the tarball from $PORTSDIR/distfiles Then type: xmllint --postvalid --noout Mailbox-Names-UTF7.html >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PEg13-0003C0-9J>