nagyistoce / quickfast

Automatically exported from code.google.com/p/quickfast
Other
2 stars 0 forks source link

Unable to process valid xml template #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run: TutorialApplication template.txt messages.fast (attached files 1 
and 2)

The output I obtained from fixprotocol.org decoder @ 
http://fast.fixprotocol.org/templates.html is in msg_decoded.xml (attached 
file 3).

Instead, I'm getting error:
[ERR S1] Template file fatal error at line 1 column 1: invalid byte '═' at 
position 2 of a 2-byte sequence

Versions of products:
 - FASTFix: quickfast_win_src_1_2
 - Boost: 1.42
 - Xerces: c-3.1.0
 - Operating system: MS XP Professional, 5.1.2600 Service Pack 2 Build 2600
 - Visual Studio: C++ 2008 Version 9.0.21022.8 RTM

Original issue reported on code.google.com by vvayng...@gmail.com on 12 Apr 2010 at 6:51

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the problem report.  The error occurred because the Xerces parser 
expects 
the XML file to be opened in binary mode.  I added the appropriate mode 
indicator to 
the file open in TutorialApplication.cpp

This is checked in as R387.

Original comment by dale.wil...@gmail.com on 12 Apr 2010 at 9:14