Bug 151985 - textproc/xhtml-11: DTD not recognized by xmllint?
Summary: textproc/xhtml-11: DTD not recognized by xmllint?
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-06 10:30 UTC by Matthias Andree
Modified: 2010-11-06 18:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2010-11-06 10:30:10 UTC
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
Comment 1 Gabor Kovesdan freebsd_committer freebsd_triage 2010-11-06 17:43:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gabor

Grab. This affects my port.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-11-06 18:32:21 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"
Comment 3 Gabor Kovesdan freebsd_committer freebsd_triage 2010-11-06 18:33:10 UTC
State Changed
From-To: open->closed

Committed, thanks!