Hi,

can you please create a new Jira issue with a *minimal* XML schema attached and a Junit test case that we can use to replay your problem.

Werner

Funk, Al wrote:
Hi,

Not sure if this message made it through to the list... anyone have any ideas 
on this?

Many thanks!



--------------------------------
Al Funk
Director
Application Development & Integration
Retail Banking Practice
CC Pace Systems, Inc.
703 631 6600

Sent via Blackberry handheld


-----Original Message-----
From: Funk, Al
To: [email protected] <[email protected]>
Sent: Wed Sep 19 11:42:06 2007
Subject: Choice problem, trunk version

Hello,
I'm working to build Java classes to marshal files to/from OFX v2.01 (www.ofx.org). In using 1.1.2.1, I encountered the sequence/choice problem in JIRA as #2078, so I switched to the build from the SVN trunk which fixed the compilation problem. However, I am getting strange XML (pasted below). It looks like the code is not picking up or passing along the field names properly. The XSL is quite complex (and many files) but I can post if needed. At a high level it basically specifies a choice at the root level (OFX) between two sequences. Within the first sequence choice are "request" messages, of which SIGNONMSGSRQV1 is required. Right at the first choice the problem occurs the first time -- it's generating XML for the choice itself. Could use some direction as to where to look for a solution -- is it likely to be the way I'm using the generated Java objects, or is this a Castor issue? Any recommendations appreciated! Is this code in work? Should I try applying the 2078 patch directly to the 1.1.2.1 source? Thanks! -Al
<OFX >

<choice-value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="java:com.orcc.moneyhqpfm.dao.ofxapi.OFXSequence">

<SIGNONMSGSRQV1 >

<SONRQ MFACHALLENGEANSWERCount="0" >

<LANGUAGE>ENG</LANGUAGE>

<signon-request-choice ><signon-request-choice-sequence >

<USERPASS>PRTNRPASS</USERPASS>

</signon-request-choice-sequence></signon-request-choice>

<DTCLIENT>20070919</DTCLIENT></SONRQ></SIGNONMSGSRQV1></choice-value><OFXSequence ><SIGNONMSGSRQV1 
><SONRQ MFACHALLENGEANSWERCount="0" >

<LANGUAGE>ENG</LANGUAGE>

<signon-request-choice >

<signon-request-choice-sequence >

<USERPASS>PRTNRPASS</USERPASS>

</signon-request-choice-sequence>

</signon-request-choice>

<DTCLIENT>80030000</DTCLIENT>

</SONRQ></SIGNONMSGSRQV1>

</OFXSequence>

</OFX>



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to