SLAXML
SLAXML copied to clipboard
SAX-like streaming XML parser for Lua
**Changes:** - Created `dist.ini` to support building lib as an OpenResty OPM package - Moved source files into `lib` folder because OPM package builder adds all subdirectories; specifying `lib_dir` as...
Hi there! I've faced an issue that slaxdom failed to build a DOM for document that have a ``. w3 says it is valid: https://www.w3.org/TR/xml/#NT-doctypedecl Minimal test-case: ```lua sd=require"slaxdom" z=sd:dom("")...
Building a DOM from scratch to seraialize requires creating `nsPrefix` properties on elements and attributes, but also maintaining proper `nsURI` *if* you want to use the `omit` option during serialization....
```lua S = require'slaxdom' doc = S:dom[[]] print(S:xml(doc,{omit={'die'}})) --> ``` Expected output is ``.
Current rockspec does not work with Luarocks because there is no "v0.8.1" tag in the repository. To fix this either replace the tag specified in the rockspec (this PR does...
Hi, like the title says - no matter what i do i can't seem to get it installed/working: Try 1: ``` sudo luarocks install https://luarocks.org/manifests/phrogz/slaxml-0.8-1.rockspec Cloning into 'SLAXML'... fatal: Remote...
The XML parser now enforces stricter rules and provides more informative error messages for common mistakes. Changes include: - Disallow unquoted attribute values. - Detect and report mismatched closing tags....