rust-xml-schema
rust-xml-schema copied to clipboard
Fails to generate JUnit schema
Schema source: link
Output:
$ ./target/release/gen JUnit.xsd
// Input: "JUnit.xsd"
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:345:21
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
I just fixed this particular error; but now it's failing with "not yet implemented: simpleContent".
Unfortunately, despite its name, simpleContent is a big thing to implement. So it will take some time for me to get it working
Quickly looked through simpleContent here, now I get it, XSD is a very complex beast.
I just realized that I got the naming completely wrong, so I have to refactor a large part of the code. :/