This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Castor - Java highly nested XML problem [Spring] Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Castor - Java highly nested XML problem [Spring]" Watch "Castor - Java highly nested XML problem [Spring]" New topic
Author

Castor - Java highly nested XML problem [Spring]

Kurt Peters
Greenhorn

Joined: Apr 22, 2009
Posts: 17
[this is a cross-post from the castor maillist-got no response there yet]

I got castor to working [unmarshalling] with an "unnested" xml file, but when I nest the elements, it gives me an :error:
of: "Ignoring XXYY no descriptor was found" for anything under the main element "Build".
Here's the "simple" xml:

it seems to find everything, but has a problem with "descriptors"... here's the TRACE output:


I've tried an amazing amount of variations on "location," including leaving it out and still, it doesn't map:



Any help would be greatly appreciated.
Kurt
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Castor - Java highly nested XML problem [Spring]
 
Similar Threads
Problem in castor mapping file
problem with loading mapping.xml
How to map arraylist containing a list of hashmaps using castor
Castor unable to Map - please help
Castor Help with unmarshalling