rust-xml-schema icon indicating copy to clipboard operation
rust-xml-schema copied to clipboard

Fails to generate JUnit schema

Open Kaned1as opened this issue 6 years ago • 3 comments

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.

Kaned1as avatar Jun 16 '19 19:06 Kaned1as

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

progval avatar Jun 19 '19 16:06 progval

Quickly looked through simpleContent here, now I get it, XSD is a very complex beast.

Kaned1as avatar Jun 19 '19 21:06 Kaned1as

I just realized that I got the naming completely wrong, so I have to refactor a large part of the code. :/

progval avatar Jun 20 '19 18:06 progval