I have a Java class which is auto-generated from a xml schema file using JIBX. I'd like to have a default value for a class attribute. I have set the default attribute value in the xsd, but I do not see any changes in Java class source code when I regenerate it. I'd expect to see a default constructor which sets default values or attribute initialization in its definition, but I don't see either. Maybe JIBX will embed this code in class bytecode optimization? The issue is that I also use the class in my code and, when I try to manually create it, the default value is not set.
Am I doing something wrong or JIBX was not meant to work like this?