lessu / rs-xsd-parser

A xsd parser in rust
0 stars 0 forks source link

Base of code #1

Open MarcAntoine-Arnaud opened 3 days ago

MarcAntoine-Arnaud commented 3 days ago

Hi ! It may interesting to look here a base of code: https://github.com/media-io/xml-schema/tree/main/xml_schema_derive/src/xsd

But I will be very happy to replace the code with this library, and only have the generation part in xml-schema ;-)

lessu commented 2 days ago

Thank you very much, actually my first version is based on xml-schema, that really helps me a lot.

the main problem is, I'm working on a very complex, xsd,xml-schema lakes some fields, which stop me parsing entire xsd correctly, I tried to add the missing field, but it is highly related with code generating derive, I can't only add the missing field but don't generate the code,

And even more I doubt is there a general way to generate code for complete xsd standard. Instead, I will only focus on my xsd.

Finally I need a lib that can represent entire xsd standard first (which is common). and for code generation part, I will only forcus on my case.