Raymond...
The Berasno Utilities (http://www.holmespun.biz/berasno/index.html) translate BER data to an XML encoding, and back again. On the web site you can also find two documents related to the translation process (http://www.holmespun.biz/briefcase/index.html): The "XERT Specification" describes the XML encoding used; the paper "XERT Your Data, Refocus Your Efforts" describes some of the advantages of working with BER data in XML format.
I copied the ASN.1 definition you provided, and produced an ILL-specific demonstration release. The release and a descriptive file can be downloaded using the following links, but these do not appear on the Berasno Download page:
http://www.holmespun.biz/berasno/download/20041223_01_install_berasno.bash.about http://www.holmespun.biz/berasno/download/20041223_01_install_berasno.bash.gz
The release is 2.8Mb large, and was developed for RedHat Linux. I have no ILL data, so the utility instances could not be tested, but I thought I would produce the release anyway, on the chance that it will be useful.
The gunzip command may be applied to the downloaded release file to yield a bash installation script. Execute the bash script once without arguments to receive a set of installation instructions. Follow those instructions to install the utilities on your computer.
Please be sure to read the End User License Agreement (EULA). Each user must agree to abide by the terms defined by the EULA when activating the downloaded software. The software may be activated using the 'berasno' utility.
...Brian
Lev Walkin wrote:
Raymond Wood wrote:
Hello list members,
My organization is looking for a 'BER editor' tool that can manipulate .ber files generated by a vendor who uses ILL protocol ASN syntax (see http://www.lac-bac.gc.ca/iso/ill/asn1.htm). Basically we just need to truncate some field strings to a maximum length of 250 characters, then re-encode to .ber files and re-submit to our ordering application.
Can anyone on this list please recommend a tool that can do this (hopefully with a reasonable price-tag :-) We seem to be able to 'decode' the .ber files alright, but it is not clear yet how, after editing a string, we should go about trying to 're-encode' to the original .ber file format.
http://lionet.info/asn1c
This ASN.1 compiler includes two tools: unber and enber. The unber tool dumps the BER encoded file into the XML format which is human readable and editable by wide range of applications. The "enber" tool converts back the XML output from unber back into BER format. Hope this would help.
Thank you in advance for an help or suggestions you can provide.
Raymond Wood _______________________________________________ ASN1 mailing list [email protected] http://lists.asn1.org/mailman/listinfo/asn1
-- Holmespun Solutions, LLC http://www.holmespun.biz 919-844-7713 _______________________________________________ ASN1 mailing list [email protected] http://lists.asn1.org/mailman/listinfo/asn1
