1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add pear-XML_DTD 0.4.2, parsing of DTD files and DTD validation of XML

files.

PR:		ports/101081
Submitted by:	chinsan <chinsan.tw at gmail.com>
This commit is contained in:
Cheng-Lung Sung 2006-08-01 01:37:09 +00:00
parent abfa1820e5
commit cd4aa0dc19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169271
4 changed files with 44 additions and 0 deletions

View File

@ -657,6 +657,7 @@
SUBDIR += pear-Numbers_Words
SUBDIR += pear-Spreadsheet_Excel_Writer
SUBDIR += pear-XML_Beautifier
SUBDIR += pear-XML_DTD
SUBDIR += pear-XML_HTMLSax
SUBDIR += pear-XML_Wddx
SUBDIR += pecl-ctemplate

View File

@ -0,0 +1,31 @@
# Ports collection makefile for: pear-XML_DTD
# Date created: 2006/07/31
# Whom: chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD$
#
PORTNAME= XML_DTD
PORTVERSION= 0.4.2
CATEGORIES= textproc devel pear
MAINTAINER= chinsan.tw@gmail.com
COMMENT= Parsing of DTD files and DTD validation of XML files
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_DOS2UNIX= yes
CATEGORY= XML
FILES= DTD/XmlValidator.php DTD.php
TESTS= attributes.dtd attributes_bad.xml attributes_good.xml \
children.dtd children_bad.xml children_good.xml \
content.dtd content_bad.xml content_good.xml \
nitf-3-1.dtd nitf-fishing.xml package-1.0 package-1.1.dtd \
test.php TOTEST xhtml1-strict.dtd
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (PEAR/XML_DTD-0.4.2.tgz) = e920218231845ed64b56f293a2a3480c
SHA256 (PEAR/XML_DTD-0.4.2.tgz) = ca3964ec7253166b478edf18ef9c6e1dc21e883b80d8c19f2b135a33ebf48550
SIZE (PEAR/XML_DTD-0.4.2.tgz) = 33790

View File

@ -0,0 +1,9 @@
PEAR::XML_DTD parsing of DTD files and DTD validation of XML files.
The XML validation is done with the php sax parser, the xml extension, it
does not use the domxml extension.
Currently supports most of the current XML spec, including entities,
elements and attributes. Some uncommon parts of the spec may still be
unsupported.
WWW: http://pear.php.net/package/XML_DTD/