Skip to content

Better handling of HTML, coment handling, first stable release

Latest
Compare
Choose a tag to compare
@Foorack Foorack released this 17 Apr 23:24
· 1 commit to master since this release

🆕 Better handle HTML input, especially regarding comments and certain self-closing HTML tags

For the first time I feel I can mark this as mostly "stable", i.e. the API will not change, and it has been tested on several different kinds of HTML and XML data and parsing them fine.

There are still areas I want to improve, especially regarding error reporting. Currently if you give it a bad/invalid XML then there is a big chance it will throw you a runtime error. This needs to be looked upon and improved before fully giving it the "production"-ready stamp, but it mainly depends on what data you are loading. If you are loading game-files from a game, or allowing users to export and import their progress then it is should be fine, as program-generated XML are very much less likely to be invalid. If you are loading random websites or user-typed XML then there is risk for crash, due to a human being having typed them incorrectly.