Title: Unmarshalling Error: Using <bind-xml auto-naming="deriveByClass" location="AnLocation" />

Hi everyone.

When using a mapping containing auto-naming and location attributes in bind-xml theres is an error in the unmarshalling process.

Is this a bug ?

org.xml.sax.SAXException: unable to find FieldDescriptor for 'Value' in ClassDescriptor of ElementsReseau
        at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1224)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:555)
        at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:487)
        at testMapping.unserializeClasses(testMapping.java:226)
        at testMapping.main(testMapping.java:57)
java.lang.NullPointerException
        at testMapping.getContentInString(testMapping.java:285)
        at testMapping.inspectObjects(testMapping.java:245)
        at testMapping.main(testMapping.java:58)
Exception in thread "main"

Reply via email to