Skip to content

Commit b535a15

Browse files
committed
Closes #5 / Closes #6
1 parent a207246 commit b535a15

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# xml2lua-1.0-0 [![Build Status](https://travis-ci.org/manoelcampos/xml2lua.svg?branch=master)](https://travis-ci.org/manoelcampos/xml2lua) [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
2+
# xml2lua-1.0-1 [![Build Status](https://travis-ci.org/manoelcampos/xml2lua.svg?branch=master)](https://travis-ci.org/manoelcampos/xml2lua) [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
33

44
xml2lua is an XML parser written entirely in Lua which doesn't depend on any external C/C++ library.
55

example1.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
require("xml2lua")
77
--Uses a handler that converts the XML to a Lua table
8-
local handler = require("xmlhandler/tree")
8+
local handler = require("xmlhandler.tree")
99

1010
local xml = xml2lua.loadFile("people.xml")
1111

xml2lua-1.0-0.rockspec renamed to xml2lua-1.0-1.rockspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package = "xml2lua"
2-
version = "1.0-0"
2+
version = "1.0-1"
33
source = {
44
url = "git://github.com/manoelcampos/xml2lua",
5-
tag = "v1.0-0"
5+
tag = "v1.0-1"
66
}
77
description = {
88
summary = "An XML Parser written entirely in Lua 5.",

xml2lua.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function XmlParser:parse(str, parseAttributes)
369369
end
370370
elseif string.sub(tagstr,1,8) == "!DOCTYPE" then
371371
-- Parse DTD
372-
match,endmatch,attrs = self:_parseDTD(string,pos)
372+
match,endmatch,attrs = self:_parseDTD(str,pos)
373373
if not match then
374374
self:_err(self._errstr.dtdErr,pos)
375375
end

0 commit comments

Comments
 (0)