Hey all,

I am getting a really frustrating error that seems to
have to do with switching to version .95 of Castor. I
have a mapping file that was working fine. A co-worker
made some changes to it, and, using an older version of
Castor, it worked fine. For me, using Castor .95, I get
the exception:

org.xml.sax.SAXException: unable to find
FieldDescriptor for 'type' in ClassDescriptor of
observation{file: [not available]; line: 2; column: 62}

I don't really think the 'type' is relevant, since
that's just the first tag it hits in the file to be
unmarshalled. If I remove that element from the file,
it throws the same error on the very next element. If I
switch to an older Castor, it works fine.

The changes my co-worker made had to do with namespaces
and namespace prefixes. I figured maybe that's the
issue, so I removed all of that stuff from them
mapping. Castor .95 still throws the exact same
exception. I have taken everything but the barest
essentials out of the mapping at this point to no
avail. I have the mapping file back to the state it was
in when it used to work for me under Castor .95, but
*still* no luck. I definitely have appropriate mapping
for my elements. This has been working for months.

This problem has me completely stumped. I really don't
even know what to try. Do these symptoms sound at all
familiar to anyone? I'd post my code and mapping, but
it just isn't feasible given the size of the project.
There *is* appropriate mapping for the element
'type'...the older Castor version will unmarshall using
it just fine. Any help is very very much appreciated.

Gregg

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to