wood burning stoves 2.0*
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 | 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 "Castor - Java highly nested XML problem [Spring]" Watch "Castor - Java highly nested XML problem [Spring]" New topic

Castor - Java highly nested XML problem [Spring]

Kurt Peters

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.
It is sorta covered in the JavaRanch Style Guide.
subject: Castor - Java highly nested XML problem [Spring]
Similar Threads
problem with loading mapping.xml
Castor unable to Map - please help
How to map arraylist containing a list of hashmaps using castor
Problem in castor mapping file
Castor Help with unmarshalling