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


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXB error" Watch "JAXB error" New topic
Author

JAXB error

Vivek Hingorani
Ranch Hand

Joined: Jul 08, 2011
Posts: 41


I created a countryIndia object and was trying this piece of code and was unable to execute last line as it was not allowing me to directly create the XML file from the Object.
whereas if i tried
it would write on the console in correct xml format.
I want to create the countryrecord.xml directly rather copying from console and pasting it to the XML
g tsuji
Ranch Hand

Joined: Jan 18, 2011
Posts: 583
    
    3
I created a countryIndia object and was trying this piece of code and was unable to execute last line as it was not allowing me to directly create the XML file from the Object.

So you were not allowed. But what is the error?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB error
 
jQuery in Action, 3rd edition