mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 0.1.7
Obtained from: FreeBSD Haskell
This commit is contained in:
parent
377afa6261
commit
a935e2ad5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298278
3 changed files with 17 additions and 17 deletions
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= xmlhtml
|
||||
PORTVERSION= 0.1.5.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.1.7
|
||||
CATEGORIES= textproc haskell
|
||||
|
||||
MAINTAINER= haskell@FreeBSD.org
|
||||
|
@ -16,7 +15,9 @@ COMMENT= XML parser and renderer with HTML 5 quirks mode
|
|||
LICENSE= BSD
|
||||
|
||||
CABAL_SETUP= Setup.hs
|
||||
USE_CABAL= blaze-builder>=0.2 blaze-html>=0.3.2 parsec>=3.0 text>=0.11
|
||||
|
||||
USE_CABAL= blaze-builder>=0.2 blaze-html>=0.3.2 parsec>=3.1.2 \
|
||||
text>=0.11 unordered-containers>=0.1.4
|
||||
|
||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (cabal/xmlhtml-0.1.5.2.tar.gz) = 35a83ba09a69b429583ea4e7c583b6e4292cf85de9e5d4e6588735dff0c7a4c4
|
||||
SIZE (cabal/xmlhtml-0.1.5.2.tar.gz) = 123539
|
||||
SHA256 (cabal/xmlhtml-0.1.7.tar.gz) = c6b91e7d3f345146818a6e74209666131964e838e58856debb22dfdfe6406da8
|
||||
SIZE (cabal/xmlhtml-0.1.7.tar.gz) = 122874
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
Contains renderers and parsers for both XML and HTML 5 document fragments,
|
||||
which share data structures wo that it's easy to work with both. Document
|
||||
which share data structures so that it's easy to work with both. Document
|
||||
fragments are bits of documents, which are not constrained by some of the
|
||||
high-level structure rules (in particular, they may contain more than one
|
||||
root element).
|
||||
root element). Note that this is not a compliant HTML 5 parser. Rather,
|
||||
it is a parser for HTML 5 compliant documents. It does not implement the
|
||||
HTML 5 parsing algorithm, and should generally be expected to perform
|
||||
correctly only on documents that you trust to conform to HTML 5. This is
|
||||
not a suitable library for implementing web crawlers or other software
|
||||
that will be exposed to documents from outside sources. The result is also
|
||||
not the HTML 5 node structure, but rather something closer to the physical
|
||||
structure. For example, omitted start tags are not inserted (and so, their
|
||||
corresponding end tags must also be omitted).
|
||||
|
||||
Note that this is not a compliant HTML 5 parser. Rather, it is a parser for
|
||||
HTML 5 compliant documents. It does not implement the HTML 5 parsing algorithm,
|
||||
and should generally be expected to perform correctly only on documents that
|
||||
you trust to conform to HTML 5. This is not a suitable library for implementing
|
||||
web crawlers or other software that will be exposed to documents from outside
|
||||
sources. The result is also not the HTML 5 node structure, but rather something
|
||||
closer to the physical structure. For example, omitted start tags are not
|
||||
inserted (and so, their corresponding end tags must also be omitted).
|
||||
|
||||
WWW: http://hackage.haskell.org/package/xmlhtml
|
||||
WWW: http://hackage.haskell.org/package/xmlhtml
|
||||
|
|
Loading…
Add table
Reference in a new issue