wiztools / xsd-gen

Java cli tool for generating XSD from an XML
MIT License
81 stars 29 forks source link

detect optional attributes. #1

Open montoyaedu opened 10 years ago

montoyaedu commented 10 years ago

Hello,

It would be nice to add a feature for scanning the whole xml sample in order to determine if there are optional attributes.

subwiz commented 10 years ago

Thanks for reporting. Will look into it.

jatinchuglani commented 8 years ago

Maybe have a list of XML files, scanning through them and find the optional attributes

esetnik commented 8 years ago

I have the same issue thanks!

ethiclab commented 8 years ago

In the following branch I am trying to implement this feature.

https://github.com/ethiclab/xsd-gen/tree/improve-code-coverage

For now, just added some code coverage and a broken test for the expected functionality.

Please feel free to make suggestions.

Thanks,

Edu.