xml2lua
xml2lua copied to clipboard
XML Parser written entirely in Lua that works for Lua 5.1+. Convert XML to and from Lua Tables 🌖💱
Parsing element ` ` becomes `NumberPlateText = {}` but expected `NumberPlateText = " "`
Now we need to ``require('xmlhandler.tree')`` and call ``xml2lua.parser(handler):parse(xml)``, now we need to use ``handler.root`` to get the table I found the helper function at https://github.com/manoelcampos/xml2lua/issues/92#issuecomment-1843106426, now we can parse xml...
Hi, thanks to your work. When I have such XML payload: ```xml settings background #262626 foreground #bcbcbc invisibles #585858 lineHighlight #262626 lineDiffAdded #87afff lineDiffModified #dfdfdf lineDiffDeleted #ffdf87 ``` I wonder...
implement #101
with below code: ```lua local people = { command_code="Authentication-Information-Request", applicationId="3GPP S6a/S6d", ["Hop-by-Hop"] = "0x5dd1330b", avp = { ["Session-Id"] = { _attr = {type = "string", vendor = "0"}, }, }...
If > exists in attributes, the parsing will fail Unbalanced Tag (/enumdefine) [char=230]
Hello, I was playing with libFuzzer-based Lua fuzzer called [luzer](https://github.com/ligurio/luzer) and found crash with parser:parse() call. Crash occurs when loading [crash.tar.gz](https://github.com/user-attachments/files/19053211/crash.tar.gz) file (well, github struggles to load it, too). You...
Hello, I was playing with libFuzzer-based Lua fuzzer called [luzer](https://github.com/ligurio/luzer) and found crash with parser:parse() call. Crash occurs when loading [crash-4348634f6b8a3cb546a334528172d17549e49a03.txt](https://github.com/user-attachments/files/19093307/crash-4348634f6b8a3cb546a334528172d17549e49a03.txt) file. You can use docker and fuzz targets from...
Hello, I was playing with libFuzzer-based Lua fuzzer called [luzer](https://github.com/ligurio/luzer) and found crash with parser:parse() call. Crash occurs when loading [crash-06d2814ffd0a9eb5be1199c7a522337efe29f805.txt](https://github.com/user-attachments/files/19052981/crash-06d2814ffd0a9eb5be1199c7a522337efe29f805.txt) file. You can use docker and fuzz targets from...
Leave a comment if you are interested