From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 6 10:30:12 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A9EF106564A for ; Sat, 6 Nov 2010 10:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 01A388FC0C for ; Sat, 6 Nov 2010 10:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA6AUBMo057565 for ; Sat, 6 Nov 2010 10:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA6AUBvn057525; Sat, 6 Nov 2010 10:30:11 GMT (envelope-from gnats) Resent-Date: Sat, 6 Nov 2010 10:30:11 GMT Resent-Message-Id: <201011061030.oA6AUBvn057525@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Andree Received: from apollo.emma.line.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 76DBB106566C; Sat, 6 Nov 2010 10:28:58 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mandree by apollo.emma.line.org with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1PEg13-0003C0-9J; Sat, 06 Nov 2010 11:28:57 +0100 Message-Id: Date: Sat, 06 Nov 2010 11:28:57 +0100 From: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gabor@FreeBSD.org Subject: ports/151985: xhtml-11 DTD not recognized by xmllint? X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Andree List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 10:30:12 -0000 >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: