#xml-parser #data #valid #bad

yanked lazyxml

it's like xml parsing, but bad

0.0.3 Nov 24, 2020
0.0.2 Nov 24, 2020
0.0.1 Nov 20, 2020

#33 in #bad

Download history 9/week @ 2024-02-23 6/week @ 2024-03-01 14/week @ 2024-03-08 2/week @ 2024-03-15 36/week @ 2024-03-29 9/week @ 2024-04-05

59 downloads per month

Zlib license

18KB
355 lines

lazyxml

Crates.io Docs.rs GitHub license

Lightweight, lazy, and ignorant XML parsing. Happily looks past completely invalid data, as long as it logically parses. You should almost definitely not use this, unless:

  1. You are looking to be as lazy as ActionScript's XMLDocument class, which is what this crate's purpose for existing is.
  2. Your data is already validated, but then you should ask yourself why you're still transporting it in XML of all things.
  3. You are a performance freak.

Usage

// Example code here.

Valid XML

You might ask what counts as valid, if you aren't here specifically for reason #1 listed above. Here's a valid XML snippet:

<Name tag="1" a"'"''"'""'''32'34fdhfjsklflsjeje2!!!!!="e"tag2='

'/>

I should probably document why this is OK in case anyone outside of reason #1 becomes interested.

Dependencies

~79KB