add line pos to XML events
This commit is contained in:
parent
8fc3ec36ba
commit
e3e0fdc4fb
18
textproc/p5-XML-Filter-ExceptionLocator/Makefile
Normal file
18
textproc/p5-XML-Filter-ExceptionLocator/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/14 19:08:35 espie Exp $
|
||||
|
||||
COMMENT= "add line information to XML parse errors"
|
||||
|
||||
MODULES= cpan
|
||||
DISTNAME= XML-Filter-ExceptionLocator-1.00
|
||||
CATEGORIES= textproc devel
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
RUN_DEPENDS= ::textproc/p5-XML-SAX \
|
||||
::textproc/p5-XML-SAX-ExpatXS
|
||||
|
||||
.include <bsd.port.mk>
|
4
textproc/p5-XML-Filter-ExceptionLocator/distinfo
Normal file
4
textproc/p5-XML-Filter-ExceptionLocator/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (XML-Filter-ExceptionLocator-1.00.tar.gz) = a25457770659b4484e00f2769f59ad25
|
||||
RMD160 (XML-Filter-ExceptionLocator-1.00.tar.gz) = 7280337b3e2775c8ff8b1e2f8b254a406d7646bd
|
||||
SHA1 (XML-Filter-ExceptionLocator-1.00.tar.gz) = c98df7bb82c3da42d4e521bdb13a2e389b89176c
|
||||
SIZE (XML-Filter-ExceptionLocator-1.00.tar.gz) = 3529
|
12
textproc/p5-XML-Filter-ExceptionLocator/pkg/DESCR
Normal file
12
textproc/p5-XML-Filter-ExceptionLocator/pkg/DESCR
Normal file
@ -0,0 +1,12 @@
|
||||
This module implements a SAX filter which adds line-numbers and
|
||||
column-numbers to errors generated by SAX handlers futher down the
|
||||
pipeline. Written explicitly so that XML::Validator::Schema could
|
||||
blame the correct line of XML for validation failures.
|
||||
|
||||
NOTE: This module requires a SAX parser which correctly supports the
|
||||
set_document_locator() call. At present there is just one,
|
||||
XML::SAX::ExpatXS. If you've got a number of XML::SAX parsers
|
||||
installed and you want to make sure XML::SAX::ExpatXS is used, do
|
||||
this:
|
||||
|
||||
$XML::SAX::ParserPackage = 'XML::SAX::ExpatXS';
|
5
textproc/p5-XML-Filter-ExceptionLocator/pkg/PLIST
Normal file
5
textproc/p5-XML-Filter-ExceptionLocator/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/14 19:08:35 espie Exp $
|
||||
${P5SITE}/XML/Filter/
|
||||
${P5SITE}/XML/Filter/Chucker.pm
|
||||
${P5SITE}/XML/Filter/ExceptionLocator.pm
|
||||
@man man/man3p/XML::Filter::ExceptionLocator.3p
|
Loading…
Reference in New Issue
Block a user