|
From: Toli K. <to...@ma...> - 2007-04-13 01:50:58
|
Ah!
I was creating the message without passing a dictionary in:
Message msg = new Message(report.toString());
while you do this:
Message msg = new Message(report.toString(),
DataDictionaryTest.getDictionary());
removing the dictionary causes the test to fail.
So I guess there's no bug here, I just need to be using a dictionary
to create a message.
What's the reason that it fails w/out having a dictionary? i tried
tracing through the code, but couldn't see why not having a dictionary
makes it fail.
Thanks for figuring this out!
On 4/12/07, Steve Bate <st...@te...> wrote:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> > Have a question for people using Text or EncodedText fields.
> > I need to include one FIX message inside another (for example, i want
> > to include the "offending" message into the reject message to show
> > where the error is, such as missing field).
>
> Hi Toli,
>
> I added an embedded message test to the MessageTest suite in
> the trunk. It embeds a NewOrderSingle in an ExecutionReport
> EncodedText field. I create the ExecutionReport message string
> and then parse it. I am able to retrieve the embedded message
> and parse that. Can you take a look at the test? Maybe I'm
> doing something different than you are, but the test passes.
>
> Text fields with an SOH in them would be a problem.
>
> Steve
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
|