The problem comes from the XML parser. Since binding is based on Java annotations, we
don't parse the XSD and don't know anything about it, even whether it exists.
So, in this case, XML parser (e.g. xerces in our case) should include default attribute
values and make them available through SAX API.
For that, XSD schema must be resolvable by the XML parser. Which means EntityResolver
should know the schema location. And also validation should be enabled.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241081#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...