Tomáš Kraus
Tomáš Kraus
I use JAXB 2.1 nighty build on Sept. 6. The folloing is the part of the schema: ...... and I have the folloiwng global declaration: If the simple binding mode...
As discussed in [http://forums.java.net/jive/thread.jspa?threadID=17972](http://forums.java.net/jive/thread.jspa?threadID=17972) . XmlAdapter should be extended to support inference of the component types of the type it is annotated on. This would allow for creation of a...
JAXB xjc crashes while parsing trivial 8-line XSD file when -binding is used together with -catalog
Below is the absolute trivial, minimal example that demonstrates the problem. Three schema files: **A.xsd**, **B.xsd**, **C.xsd** in the following import configuration: * C.xsd imports A.xsd and B.xsd * B.xsd...
[https://jaxb.dev.java.net/faq/index.html#marshalling_cdata](https://jaxb.dev.java.net/faq/index.html#marshalling_cdata) suggests using Apache Xerces-J XMLSerializer, which is deprecated as of version 2.9. Is there another method of achieving the same results that isn't deprecated? #### Environment Operating System: All...
If a complex type with one attribute is inherited by restriction and in the inheriting element we define a fixed value for that attribute, the JAXB bean returns null for...
During creation, a JAXBContext should check whether a @JavaXmlTypeAdapter annotation is type compatible with the annotated property and give a useful error message if not. Right now, you get a...
The sample source code in JAXB 2.1 contains an example of how to use DI to unmarshal an XML (class-resolver). An example is needed to show how XML would be...
Note: this is related to [https://java.net/jira/browse/JAXB-965](https://java.net/jira/browse/JAXB-965) but IS not identical. See below. It is different in two respects: (1) it showcases the same kind of bug but in an absolutely...
As a work-around for issue [https://jaxb.dev.java.net/issues/show_bug.cgi?id=515](https://jaxb.dev.java.net/issues/show_bug.cgi?id=515), I instructed the unmarshaller to use validation ( using setSchema() ), hoping that the validation process enhances the xml content with the missing fixed...
Some of my Java interfaces return DOM objects as the result of anyType wildcard mapping or DOM customization. If I'm unmarshalling with Binder from a DOM document instance then it...