ports/79403: New port: textproc/pear-XML_HTMLSax PEAR SAX parser for HTML and other badly formed XML documents

Antonio Carlos Venancio Junior antonio at php.net
Thu Mar 31 17:20:06 UTC 2005


>Number:         79403
>Category:       ports
>Synopsis:       New port: textproc/pear-XML_HTMLSax PEAR SAX parser for HTML and other badly formed XML documents
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 31 17:20:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #6: Tue Mar 22 09:46:44 BRT 2005     root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
New port: textproc/pear-XML_HTMLSax PEAR SAX parser for HTML and other badly formed XML documents

PEAR::XML_HTMLSax provides an API very similar to the native PHP XML
extension (http://www.php.net/xml), allowing handlers using one to be easily
adapted to the other.

The key difference is HTMLSax will not break on badly formed XML, allowing it
to be used for parsing HTML documents. Otherwise HTMLSax supports all the
handlers available from Expat except namespace and external entity handlers.

Provides methods for handling XML escapes as well as JSP/ASP opening and close
tags.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pear-XML_HTMLSax
#	pear-XML_HTMLSax/Makefile
#	pear-XML_HTMLSax/distinfo
#	pear-XML_HTMLSax/pkg-descr
#
echo c - pear-XML_HTMLSax
mkdir -p pear-XML_HTMLSax > /dev/null 2>&1
echo x - pear-XML_HTMLSax/Makefile
sed 's/^X//' >pear-XML_HTMLSax/Makefile << 'END-of-pear-XML_HTMLSax/Makefile'
X# Ports collection makefile for:  pear-XML_HTMLSax
X# Date created:			  31 March 2005
X# Whom:				  Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	XML_HTMLSax
XPORTVERSION=	2.1.2
XCATEGORIES=	textproc devel pear
X
XMAINTAINER=	antonio at php.net
XCOMMENT=	PEAR SAX parser for HTML and other badly formed XML documents
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XCATEGORY=	XML
XFILES=		XML_HTMLSax.php HTMLSax/XML_HTMLSax_States.php \
X		HTMLSax/XML_HTMLSax_Decorators.php
XDOCS=		Readme
XEXAMPLES=	SimpleExample.php HTMLtoXHTML.php ExpatvsHtmlSax.php example.html
XTESTS=		index.php unit_tests.php xml_htmlsax_test.php
X_EXAMPLESDIR=	docs/examples
X_TESTSDIR=	docs/tests
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-XML_HTMLSax/Makefile
echo x - pear-XML_HTMLSax/distinfo
sed 's/^X//' >pear-XML_HTMLSax/distinfo << 'END-of-pear-XML_HTMLSax/distinfo'
XMD5 (PEAR/XML_HTMLSax-2.1.2.tgz) = f2cd9ea8ed1c59cc3046675d41c7cf98
XSIZE (PEAR/XML_HTMLSax-2.1.2.tgz) = 16099
END-of-pear-XML_HTMLSax/distinfo
echo x - pear-XML_HTMLSax/pkg-descr
sed 's/^X//' >pear-XML_HTMLSax/pkg-descr << 'END-of-pear-XML_HTMLSax/pkg-descr'
XPEAR::XML_HTMLSax provides an API very similar to the native PHP XML
Xextension (http://www.php.net/xml), allowing handlers using one to be easily
Xadapted to the other.
X
XThe key difference is HTMLSax will not break on badly formed XML, allowing it
Xto be used for parsing HTML documents. Otherwise HTMLSax supports all the
Xhandlers available from Expat except namespace and external entity handlers.
X
XProvides methods for handling XML escapes as well as JSP/ASP opening and close
Xtags.
X
XWWW: http://pear.php.net/package/XML_HTMLSax/
END-of-pear-XML_HTMLSax/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list