Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Plugin fail for attribute default values

In my projects I generate Java classes from XSD files.

so far I used org.codehouse.mojo:jaxb2-mave-plugin:1.5

Since I need to introduce Java8 property bindings I changed to org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1.

I ran into the problem that this plugin does not respect the default value for an attribute as given in <xs:attribute default=""> .

The sample project here demonstrates the wrong behavior. The expectation is that the JUnitTest provided should pass but it doesn't.

TPD

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages