aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/xml/tokenizer.odin
Commit message (Collapse)AuthorAgeFilesLines
* Move package xml before copyrightKostas Tsiligkiris2024-01-171-2/+4
| | | | | Having the same copyright on all files made the documentation script to include it multiple times in the package information.
* Clean up usage of `using` throughout core and vendorgingerBill2023-07-311-16/+16
|
* Deprecate `a..b` based ranges in favour of `..=`dev-2022-06gingerBill2022-06-011-1/+1
|
* [xml] Speedup.Jeroen van Rijn2022-04-281-0/+11
|
* [xml] Improvements.Jeroen van Rijn2021-12-051-3/+3
|
* [xml] Improve CDATA + comment handling in tag body.Jeroen van Rijn2021-12-051-23/+94
|
* [xml] Slight optimization.Jeroen van Rijn2021-12-051-26/+36
| | | | | | About a 5% speed bump. More rigorous optimization later.
* [xml] Allow multi-line bodies w/o CDATA. Strip trailing whitespace.Jeroen van Rijn2021-12-051-3/+18
|
* [xml] Small cleanup.Jeroen van Rijn2021-12-051-11/+1
|
* [xml] Initial implementation of `core:encoding/xml`.Jeroen van Rijn2021-12-051-0/+339
A from-scratch XML implementation, loosely modeled on the [spec](https://www.w3.org/TR/2006/REC-xml11-20060816). Features: - Supports enough of the XML 1.0/1.1 spec to handle the 99.9% of XML documents in common current usage. - Simple to understand and use. Small. Caveats: - We do NOT support HTML in this package, as that may or may not be valid XML. If it works, great. If it doesn't, that's not considered a bug. - We do NOT support UTF-16. If you have a UTF-16 XML file, please convert it to UTF-8 first. Also, our condolences. - <[!ELEMENT and <[!ATTLIST are not supported, and will be either ignored or return an error depending on the parser options. TODO: - Optional CDATA unboxing. - Optional `&gt;`, `&#32;`, `&#x20;` and other escape substitution in tag bodies. - Test suite MAYBE: - XML writer? - Serialize/deserialize Odin types?