wiztools / xsd-gen

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

Why 20 digits of number it generate like long #17

Open jack5505 opened 5 years ago

jack5505 commented 5 years ago

Hello guys. here is example of why 20 digits of number. Xsd generates it like long type data

40700810256895634168
  <branchBIC>040037470</branchBIC>
   <branchCode>1</branchCode>

After using XsdGen class it outputs like this.

If you guys pay attention leading zero type is also xsd int and account which more than long maximal size also xsd:long type why not making it string guys.