aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/xml/tokenizer.odin
Commit message (Collapse)AuthorAgeFilesLines
* Comment includiing -- at endStudebakerGuy2026-01-071-1/+1
| | | | | Comments are incorrectly including -- a the end. This was due to the comment slice being returned 2 charachters too long.
* Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-281-1/+1
| | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
* Fix parsing of CDATA tags (#5059)Jeroen van Rijn2025-04-191-20/+18
| | | Fixes #5054
* Imply `#no_capture` to all variadic parametersgingerBill2024-07-141-3/+3
|
* Add more uses of `#no_capture`gingerBill2024-07-141-3/+3
|
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-081-5/+5
|
* Update XML reader to normalize whitespace, part 1.Jeroen van Rijn2024-06-121-32/+11
|
* Update numerous package declaration namesgingerBill2024-04-181-1/+1
|
* 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?