lunarmodules / luaexpat Goto Github PK
View Code? Open in Web Editor NEWLuaExpat is a SAX XML parser based on the Expat library
Home Page: https://lunarmodules.github.io/luaexpat/
License: MIT License
LuaExpat is a SAX XML parser based on the Expat library
Home Page: https://lunarmodules.github.io/luaexpat/
License: MIT License
Currently, luaexpat always parses standard XML entities into their corresponding characters. While this is convenient for most applications, it inhibits creating programs that preserve entity encoding when serializing a document. expat provides for the XML_SetParamEntityParsing function to control whether it parses entities, and it would be useful to expose control over this functionality in LuaExpat, maybe as a parser:setentityparsing function.
Trying to bump a luaexpeat dependency on something in Homebrew I ran into trouble moving to 1.5.x because for whatever reason even the newer versions of libExpat don't supply expat_config.h
as expected.
See Homebrew/homebrew-core#114831 (comment)
This may be something upstream in libExpat, or it could be just an expectation that luaexpat needs to adjust.
Hi!
It would be nice if…
luaexpat/.github/workflows/unix_build.yml
Lines 9 to 15 in 57f8966
…could maybe include both Expat versions 2.4.4 and the latest 2.6.2 via the matrix. Patching that would also show if CI is still green today. What do you think?
Best, Sebastian
It would be useful to have a user-definable data table attached to the parser, which would be visible to any callbacks called by that parser. This would help avoid the use of global variables. It seems like such a table could live in the lxp_userdata
structure.
I have no experience with c/lua interoperation, so I don't know how hard this would be, but I'm willing to try to implement this.
@mwild1 what would be required for a new release?
What I've noticed;
totable.lua
module, done in pr #10, waits for mergeAny other concerns or things that need fixing/updating?
EDIT: updated status on the items listed
Since current repository is now considered official, please make new tag that distinguish new changes since 1.3.0 is made by old repo.
I've been doing some work on an XML DOM (level 2) implementation, since we decided to drop XML support from Penlight.
Would the LuaExpat library be a good place for that? It would make the library more complete, and a one stop shop for XML needs probably. But it would require more maintenance probably to add something like that (assuming there will be a bunch of initial issues that need to be ironed out over time)
Thoughts @mwild1 @tomasguisasola ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.