Top "Jaxb" questions

Java Architecture for XML Binding is the Java standard for working with XML as domain objects.

How to disable DTD fetching using JAXB2.0

I'm trying to use JAXB to unmashall some XML which I used xjc to create in the first place. I …

java validation jaxb dtd
JAXB XJC - XPath evaluation results in empty target node?

I've got the following simple XSD document (foo.xsd): <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="…

java xpath xsd jaxb xjc
JAXB compiler is binding xs:boolean to Java Boolean wrapper class, instead of boolean primitive type

I'm migrating a project from JAXB 1.0 to JAXB 2.1 and I'm having problems with the datatype mapping. I'm using the Ant …

java xml xsd jaxb xjc
Is there a way to avoid undeployment memory leaks in Tomcat?

This question is for anyone who's ever tested the "Find leaks" button in the Tomcat manager and got some results …

java spring tomcat memory-leaks jaxb
How can I process multiple xsd schemas using jaxb and the Ant xjc task?

I'm using jaxb to generate java object class from xml schemas within an Ant script like so: <!-- JAXB …

ant xsd jaxb xjc
XJC Maven Plugin(jaxb2-maven-plugin) Java 11 Migration Issues

I am currently working on java 11 migration project where jaxb2-maven-plugin has been used for XJC task. As XJC executable …

java jaxb maven-plugin jaxb2-maven-plugin
How to add <![CDATA[ and ]]> in XML prepared by Jaxb

How to prepare XML with CDATA , I am preraring this response via Jaxb, <soapenv:Envelope xmlns:soapenv="http://schemas.…

java xml jaxb cdata
How to set the default namespace using JAXB

I have a ATOM-XML representation of my data that is returned via a Spring MVC web service. I'm using JAXB …

java serialization jaxb atom-feed
Server-Side XML Validation with CXF Webservice

I'm working on an Apache CXF webservice (using JAX-WS, over SOAP). The service itself is pretty simple: receive a request, …

web-services jaxb jax-ws cxf xml-validation
JAXB validation using annotations

If I have a simple class such as:- @XmlRootElement public class MyClass { @XmlAttribute(required=true) private String myattribute } Is …

java xml validation jaxb