I am looking for java library or a vb addin that can be used for
- SWIFT message syntax validation
- Building SWIFT message from available data.
- Retrieving the required tag/field data.
Can anybody help me in this regard??
I have seen few of the available libraries like WIFE but all fails in catching errors if the message is not in standard format.
Pavan
with "SWIFT message syntax validation" I guess you are speaking about getting the FIN syntax right?
If so, I have just posted an answer to another SWIFT related question on StackOverflow.
I have copy and pasted my response below again for your convenience (from here: java-swift-library):
SWIFT is releasing a "Standards Developer Kit" which includes an "MT/XML Schema Library".
From the doc: "The MT/XML Schema Library is a complete set of XML schema definitions for MT messages, and software which shows how to convert messages from an MT format to an MT XML representation and back. This approach allows XML integration between applications while the MT (FIN) format will continue to be transported over the SWIFT network."
Java source code will also be made available, again from the doc: "Working sample Java source code that converts a message in MT format to an XML instance and from an XML instance to a message in MT format."
See: https://www.swiftcommunity.net/communities/download.cfm?id=4798
This can be a great aid in dealing with FIN messages in XML syntax.
So, using the "Standards Developer Kit" you do not have to worry anymore about getting the FIN syntax right.
Hope it is useful for you,
Stijn.
We use WIFE and have to do validation on the Swift tag data prior to constructing the message using WIFE. I don't believe WIFE provides any validation.
Update: A Google search turns up the AnaSys service along with a few others that look promising.
Related
I've seen this presentation from 2012 on clang features to handle C++ documentation comments (eg. for doxygen). Slide 20 mentions a new feature to export comments as XML as being part of libclang.
I'd like to try that feature out. More specifically, I want to test producing an XML like shown on slide 31.
But I don't know how. Which tool of libclang is this part of? Was the tool removed in the meantime? Or is this just an extra compiler flag?
They might just be referring to…
CXString clang_FullComment_getAsXML( CXComment Comment)
… which returns an XML document for the given comment. You still need to traverse the node trees yourself.
It would be spectacular to have an option for dropping an XML file containing the extracted documentation during a regular compile, but it doesn't seem to be in the cards.
I've written an ePub generator by using ZipArchive in .NET and looking at the spec (in Wikipedia) & a example.
It doesn't work! But I only get a generic error so I'm unable to fix anything from here.
Where could I go to upload my ePub and be told what is wrong with it? Or is there a tool that is better for it? I'm currently using Adobe ePub reader...
I realize this is an old question, but in case others come across this I wanted to contribute. The IDPF which is responsible for the ePub standard has a tool for checking ePubs called epubcheck. It can be found at https://github.com/IDPF/epubcheck.
In addition, they have their own online validator that uses epubcheck. It is located at http://validator.idpf.org/
I found an online validator tool at http://www.epubconversion.com/ePub-validator-iBook.jsp.
There are two basic black box approaches.
First: Generate a file and put it into a validator.
Second: Take a set of in- and output without using your code (other generator, example, do it manual). Then use a file comparison tool (maybe extract zip first).
Here is a good offline checking tool for Windows, Mac or Linux OS:
http://www.pagina-online.de/produkte/epub-checker/
It's a great tool which even i used to validate and generate epub files also clearly give errors if any.
I've recently started playing around with Specflow, and generating test cases based on the examples on their website[1]. However, the generated code doesn't compile. For example, the "Given a new bowling game" line, generates the following:
testRunner.Given("a new bowling game");
But, the signature for ITestRunner.Given() is:
Given(string text, string multilineTextArg, Table tableArg);
The same applies for When(), And() and Then(). It also seems that the binding step definitions require a string parameter as well, which does not appear to be documented.
Is anyone else having these same issues? I downloaded Specflow 1.6.1, and am using VS2005.
Thanks,
Daniel B.
[1] http://specflow.org/specflow/workflow.aspx
The "overloads" are done through extension methods, that are not supported in .NET 2.0 used by VS2005. So i think you have to upgrade to VS2008 at least to be able to use SpecFlow.
See also SpecFlow forum entry related to VS2005
Subject line says it all really.
Some Googling has revealed a puzzling lack of relevant information. Some pointers to an existing implement would be great!
Raymond.
Those are strictly simple XML files - you can even get a XML schema file describing their exact structure.
Shouldn't be too hard to parse that in Delphi and present it in whatever way you see fit. You don't need any specific library or component - just XML parsing and a bit of patience :-)
If you have been successful in persisting your data, which type of stream did you get to work
Text or Binary
ANSI or UNICODE
Did you have to use any BOOST_ASSERTS or some extra MACRO or dance around the fairy ring at 4:00 am wearing your Moose sweater backwards.
Thanks for your answer
There is a posting for C++Builder 2010 (unfortunately I do not know of one for 2009), that shows the portions of the Boost (1.39) that are included in the shipping product. The serialization library is listed as not supported. Note the posting also includes a link to the source code they used in case someone wants to experiment with the unsupported libraries.
I haven't tried, so I can't directly answer. However, here are the boost 1.37.0 test results for C++Builder 2009 (the column on the right, "borland-6.1.0").
You can see most things in 'serialization' pass the tests. Some don't, so if you compare what you're trying to do to those it should help you to know what to avoid. The test suites may also useful to you, because they can be used as code examples for using the features they test.
You may find other resources on the C++ Builder Boost page to be useful too.