doc.odin 908 B

1234567891011121314151617181920212223
  1. /*
  2. XML 1.0 / 1.1 parser
  3. A from-scratch XML implementation, loosely modelled on the [[ spec; https://www.w3.org/TR/2006/REC-xml11-20060816 ]].
  4. Features:
  5. - Supports enough of the XML 1.0/1.1 spec to handle the 99.9% of XML documents in common current usage.
  6. - Simple to understand and use. Small.
  7. Caveats:
  8. - We do NOT support HTML in this package, as that may or may not be valid XML.
  9. If it works, great. If it doesn't, that's not considered a bug.
  10. - We do NOT support UTF-16. If you have a UTF-16 XML file, please convert it to UTF-8 first. Also, our condolences.
  11. - <[!ELEMENT and <[!ATTLIST are not supported, and will be either ignored or return an error depending on the parser options.
  12. MAYBE:
  13. - XML writer?
  14. - Serialize/deserialize Odin types?
  15. For a full example, see: [[ core/encoding/xml/example; https://github.com/odin-lang/Odin/tree/master/core/encoding/xml/example ]]
  16. */
  17. package encoding_xml