Skip to content

Releases: jonathanpoelen/lua-xmllpegparser

v2.2.0

14 Apr 22:19
Compare
Choose a tag to compare

Now default parsers extract the doctype element:

doctype = {
  pos=number, -- when pos parser
  name=string,
  ident=string or nil,
  pubident=string or nil, -- when ident != SYSTEM
  dtd=string or nil,
}

New functions:

  • toString()
  • escapeFunctions()
  • escapeComment()
  • escapeAttribute()
  • escapeAttributeAndAmp()
  • escapeCDATA()
  • escapeText()
  • escapeTextAndAmp()

v2.1.5

08 Oct 12:28
Compare
Choose a tag to compare
  • parseFile() now closes open files

v2.1.4

12 Sep 23:08
Compare
Choose a tag to compare
  • Fix DOCTYPE parser

v2.1.2

13 Oct 00:18
Compare
Choose a tag to compare
  • Fix parser with a visitor who has tag() without proc() or vice versa, and with accustr different from false.
  • Fix parsing error when the visitor's functions return something

v2.1.1

06 Jul 23:59
Compare
Choose a tag to compare
  • add lastpos and error in the default parsers.
  • add lastpos and xmlstring parameters to visitor.finish().
  • visitor.init can return the starting position of the parsing.
  • add withoutPos parameter to mkVisitor().
  • 2 new parsers:
    • treeParserWithoutPos
    • treeParserWithoutPosWithReplacedEntities
  • 2 new functions:
    • enableWithoutPosParser([bool])
    • setDefaultParsers(parser, parserWithReplacedEntities|bool|nil)

v2.1.0

06 Jul 20:36
Compare
Choose a tag to compare

Same as the version v2.1.1, but additionally contains xmlparser project.

v2.0-4

21 Apr 23:55
Compare
Choose a tag to compare
Version 2.0.4

v2.0.3

28 Oct 01:13
Compare
Choose a tag to compare

Fixed rockspec files for luarocks package manager.

v2.0.2

02 Oct 23:46
Compare
Choose a tag to compare
  • rename xmlparser2 to xmllpegparser
  • fix xmllpegparser.parseFile

v2.0.1

08 Apr 14:16
3c1f0ca
Compare
Choose a tag to compare
  • fixed xmlparser2.parseFile