From mandree@FreeBSD.org  Sat Nov  6 10:28:58 2010
Return-Path: <mandree@FreeBSD.org>
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 <mandree@FreeBSD.org>)
	id 1PEg13-0003C0-9J; Sat, 06 Nov 2010 11:28:57 +0100
Message-Id: <E1PEg13-0003C0-9J@apollo.emma.line.org>
Date: Sat, 06 Nov 2010 11:28:57 +0100
From: Matthias Andree <mandree@FreeBSD.org>
Reply-To: Matthias Andree <mandree@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gabor@FreeBSD.org
Subject: xhtml-11 DTD not recognized by xmllint? 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         151985
>Category:       ports
>Synopsis:       textproc/xhtml-11: DTD not recognized by xmllint?
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gabor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 06 10:30:10 UTC 2010
>Closed-Date:    Sat Nov 06 18:33:25 UTC 2010
>Last-Modified:  Sat Nov  6 18:40:09 UTC 2010
>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
&mdash; 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:
Responsible-Changed-From-To: freebsd-ports-bugs->gabor 
Responsible-Changed-By: gabor 
Responsible-Changed-When: Sat Nov 6 17:43:40 UTC 2010 
Responsible-Changed-Why:  
Grab. This affects my port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151985 
State-Changed-From-To: open->closed 
State-Changed-By: gabor 
State-Changed-When: Sat Nov 6 18:33:10 UTC 2010 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151985 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/151985: commit references a PR
Date: Sat,  6 Nov 2010 18:32:21 +0000 (UTC)

 gabor       2010-11-06 18:32:15 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/xhtml-11    Makefile distinfo pkg-plist 
   Added files:
     textproc/xhtml-11/files catalog.xml 
   Log:
   - Add XML catalog to allow software to easily find this DTD
   - Bump PORTREVISION
   
   PR:             ports/151985
   Submitted by:   mandree
   
   Revision  Changes    Path
   1.6       +4 -2      ports/textproc/xhtml-11/Makefile
   1.6       +0 -1      ports/textproc/xhtml-11/distinfo
   1.1       +8 -0      ports/textproc/xhtml-11/files/catalog.xml (new)
   1.5       +3 -0      ports/textproc/xhtml-11/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
