Oops, I had updated the method call to include the nsURI variable to make the error disappear (probably not the right thing to do). Exact generated lines below:
------------------------------------------------------------
public RecurringIntraSyncRequestTypeDescriptor() {
super();
setExtendsWithoutFlatten(new org.ofx.castor.AbstractSyncRequestTypeDescriptor());
nsURI = "http://ofx.net/types/2003/04";
xmlName = "RecurringIntraSyncRequest";
//-- set grouping compositor setCompositorAsSequence(); org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null; org.exolab.castor.xml.XMLFieldHandler handler = null; org.exolab.castor.xml.FieldValidator fieldValidator = null; //-- initialize attribute descriptors
//-- initialize element descriptors
desc = (org.exolab.castor.xml.util.XMLFieldDescriptorImpl) getFieldDescriptor("-error-if-this-is-used-", org.exolab.castor.xml.NodeType.Element);
------------------------------------------------------------
Thanks, Doug Porter
Doug Porter wrote:
I am trying to generate class files for the Open Financial Exchange (http://www.ofx.net/ofx/de_spec.asp) schema and in 5 instances, generated descriptor classes do not have the correct number of arguments for the getFieldDescriptor method. Below is an example of part of the generated class up to the method with the invalid arguments. Any ideas what caused this?
-------------------------------------------------------------
public RecurringIntraSyncRequestTypeDescriptor() {
super();
setExtendsWithoutFlatten(new org.ofx.castor.AbstractSyncRequestTypeDescriptor());
nsURI = "http://ofx.net/types/2003/04";
xmlName = "RecurringIntraSyncRequest";
//-- set grouping compositor setCompositorAsSequence(); org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null; org.exolab.castor.xml.XMLFieldHandler handler = null; org.exolab.castor.xml.FieldValidator fieldValidator = null; //-- initialize attribute descriptors
//-- initialize element descriptors
desc = (org.exolab.castor.xml.util.XMLFieldDescriptorImpl) getFieldDescriptor("-error-if-this-is-used-", nsURI, org.exolab.castor.xml.NodeType.Element);
--------------------------------------------------------------
Thanks, Doug Porter
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
