This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes JAXB Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXB Problem" Watch "JAXB Problem" New topic
Author

JAXB Problem

Ian Link
Greenhorn

Joined: Oct 13, 2006
Posts: 4
I have an xsd that looks like this (snippet):

----------------------------------

----------------------------------

For some reason this is the Java code that gets generated:



----------------------------------

Why is the class geneated like this and simply not some kind of string array? I really dont want to have to create JAXBElements everytime I want to create something?

How can i have it generate classes for each of the types that simply represent string or something like that?

Thanks in advance,

Ian

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB Problem
 
Similar Threads
Axis 1.4 throwing org.xml.sax.SAXException: Invalid element
XSD element validation
unble to validate xml against schema
Is it a valid <include> for a WSDL
Invalid type (xsi:type) is set when XML request is generated from web service client