BSD Ports

textproc/lua-luaexpat 1.5.2 DragonFly

SAX XML parser based on the Expat library

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
textproc
Package size
13.7 KiB, 48.5 KiB installed

Description

LuaExpat is a SAX XML parser based on the Expat library. SAX is the Simple API for XML and allows programs to:

  • process a XML document incrementally, thus being able to handle huge documents without memory penalties;
  • register handler functions which are called by the parser during the processing of the document, handling the document elements or text.

With an event-based API like SAX the XML document can be fed to the parser in chunks, and the parsing begins as soon as the parser receives the first document chunk. LuaExpat reports parsing events (such as the start and end of elements) directly to the application through callbacks. The parsing of huge documents can benefit from this piecemeal operation.

In the other systems

SystemPortVersion
DragonFlytextproc/lua-luaexpat1.5.2
FreeBSDtextproc/lua-luaexpat1.5.2

Install

Binary package:

pkg install lua51-luaexpat

From DPorts:

cd /usr/dports/textproc/lua-luaexpat && make install clean

Dependencies

Run dependencies 2
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
lua52-luaexpat-1.5.2, lua53-luaexpat-1.5.2, lua54-luaexpat-1.5.2