jaxb2-basics
jaxb2-basics copied to clipboard
Useful plugins and tools for JAXB2.
Generating classes from XLIFF 1.2 (see https://docs.oasis-open.org/xliff/v1.2/cs02/xliff-core-1.2-strict.xsd) using the copyable plugin results in all classes missing a way to clone "otherAttributes" which are introduced by this XSD entry (see for...
``` [junit] WARNING: An illegal reflective access operation has occurred [junit] WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/C:/Projects/workspaces/jaxb2-basics/j2b/samples/po/target/test-ant-assembly/jaxb2-basics-sample-po-0.11.2-SNAPSHOT/lib/jaxb-runtime-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) [junit] WARNING: Please consider reporting this to the maintainers...
See `org.jvnet.jaxb2_commons.lang.tests.CyclicTests`. The problem is that the root object is not copied using the strategy `copy` method.
Hello, I have been using this plugin for generating Java classes from DTD's and its is very helpful in terms of configuration and generation. I am generating the Java classes...
Please check this small project: https://github.com/sfrenkiel/basicstest. It contains this xsd: If you run the pom and look at the generated class Wrapper.java, you'll see that all the properties are generated...
Hi, Assuming the code that follows: ```xml ``` I am getting an error: ``` [ERROR] Error while parsing schema(s).Location [ jaxb.xjb{21,38}]. com.sun.istack.SAXParseException2; systemId: jaxb.xjb; lineNumber: 21; columnNumber: 38; compiler was...
Just wondering if this method of adding the property to the ClassInfo will construct a valid ElementProperty? https://github.com/highsource/jaxb2-basics/blob/master/basic/src/main/java/org/jvnet/jaxb2_commons/plugin/simplify/SimplifyPlugin.java#L167 The source of `com.sun.tools.xjc.model.CClassInfo` suggests that one should call `addProperty` for it...
Marshaling an object graph that contains cycle can be broken using ID and IDREF. The technique works perfectly with Jaxb and the maven-jaxb2-plugin. Adding bindings such that the IDREF elements...
Unless I'm mistaken, there is currently no mechanism to customize the name of the Java properties outputted by the Simply plugin, aside from the pluralization option; I half-remember seeing a...