aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/xml/debug_print.odin
Commit message (Collapse)AuthorAgeFilesLines
* 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 loads of indentation issues with mixing spaces and tabsgingerBill2024-06-291-5/+5
|
* 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.
* Improve `//+vet`; remove `using` in many places; add `//+vet !using-stmt` ↵gingerBill2023-07-311-17/+13
| | | | where necessary
* Fix #2684Jeroen van Rijn2023-07-281-7/+9
|
* Minor name changes within `core:encoding/xml` for consistencygingerBill2022-05-121-1/+1
|
* [xml] Speedup.Jeroen van Rijn2022-04-281-8/+10
|
* [xml] Robustness improvement.Jeroen van Rijn2021-12-051-0/+4
| | | | Can now parse https://www.w3.org/2003/entities/2007xml/unicode.xml no problem.
* [xml] Allow multi-line bodies w/o CDATA. Strip trailing whitespace.Jeroen van Rijn2021-12-051-3/+6
|
* [xml] Tab indentation in debug printer.Jeroen van Rijn2021-12-051-4/+3
|
* [xml] Use `io.Writer` for `xml.print(doc)`.Jeroen van Rijn2021-12-051-23/+28
|
* [xml] Initial implementation of `core:encoding/xml`.Jeroen van Rijn2021-12-051-0/+73
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?