Si2oaD/XML Tools

From oacwiki

Jump to: navigation, search

1 Win Regex

Regular expression libraries are a native part of UNIX-based systems; however, these are not included with all Win systems. The Win ATL libraries include regex tools; however, these are not included with the free Express VisualStudio systems. Consequently, an add-on regex library that has been integrated with the Si2oaD code is available as a download from Si2. There is also a compile option in the build process that allows optional dependency on this add-on.

2 Win DLL Injection

UNIX systems support LD_PRELOAD for automatic injection of dll code as a process loads. Windows has no such support. Instead, an insertDLL package has been integrated with the Si2oaD code to enable calling the oad() entry points from Win applications.

3 XSL Processor

Some browsers do not include a native XSLT feature, or it does not properly process the XML output of Si2oaD. For such situations, or for the case the browser XSLT feature works slowly (or incorrectly), a separate XSLT processor may be used.

For convenience, Linux binaries for Xalan and xerces that have been tested with Si2oaD can be downloaded] directly from the OpenEDA website. A separate zip file in the same release contains the WIN version of the XML tools.

Alternatively, the packages can downloaded directly from Apache; however, the latest versions likely to be on that site have not been tested with the code.

Signatures on all downloaded packages should be verified. An example procedure for is explained at http://xml.apache.org/xerces-c/download.cgi#verify

The following documents the security verification performed on a few of those packages:

[localhost XML]$ gpg --import KEYS.xerces
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: key 24E87419: "Tinny Ng (Xerces-C++ committer) <tng@apache.org>" not changed
gpg: key 24E87419: "Tinny Ng (Xerces-C++ committer) <tng@apache.org>" not changed
gpg: key AF8777A6: "Gareth Reakes <gareth@apache.org>" not changed
gpg: key 95597B05: "Neil Graham (this key is primarily for signing Xerces-J releases) <neilg@ca.ibm.com>" not changed
gpg: key 71DB2335: "PeiYong Zhang <peiyongz@ca.ibm.com>" not changed
gpg: Total number processed: 5
gpg: unchanged: 5

[localhost XML]$ gpg --import KEYS.xalan
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: key 30A21D55: public key "Shane Curcuru <shane_curcuru@lotus.com>" imported
gpg: key 6442C3DC: public key "Lotusxsl Team <Lotusxsl_Team@lotus.com>" imported
gpg: key 1AAC221B: public key "Joseph Kesselman <joseph_kesselman@lotus.com>" imported
gpg: key 58DA77EA: public key "David N. Bertoni <david_n_bertoni@us.ibm.com>" imported
gpg: key 55DEED55: public key "Henry Zongaro <zongaro@ca.ibm.com>" imported
gpg: key 2004CC44: public key "Matthew Hoyt <mhoyt@ca.ibm.com>" imported
gpg: key C7599162: public key "Dmitry Hayes <dmitryh@apache.org>" imported
gpg: Total number processed: 7
gpg: imported: 7

[localhost XML]$ gpg --verify xerces-c_2_6_0-redhat_80-gcc_32.tar.gz.asc
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: Signature made Fri 01 Oct 2004 02:15:13 PM CDT using DSA key ID 71DB2335 <---
gpg: Good signature from "PeiYong Zhang <peiyongz@ca.ibm.com>" |
gpg: WARNING: This key is not certified with a trusted signature! |
gpg: There is no indication that the signature belongs to the owner. |
Primary key fingerprint: CDFF AFA9 0F21 B79B 8C94 9A1B ECEB 0855 71DB 2335 <--- |
| |
[localhost XML]$ gpg --keyserver pgpkeys.mit.edu --recv-key 71DB2335 <----------
gpg: WARNING: using insecure memory! | |
gpg: please see http://www.gnupg.org/faq.html for more information | |
gpg: key 71DB2335: "PeiYong Zhang <peiyongz@ca.ibm.com>" not changed | |
gpg: Total number processed: 1 | |
gpg: unchanged: 1 | |
| |
[d@localhost XML]$ gpg --fingerprint 71DB2335 <----------------------------  | 
gpg: WARNING: using insecure memory! |
gpg: please see http://www.gnupg.org/faq.html for more information |
pub 1024D/71DB2335 2004-02-16 PeiYong Zhang <peiyongz@ca.ibm.com> |
Key fingerprint = CDFF AFA9 0F21 B79B 8C94 9A1B ECEB 0855 71DB 2335 <-----
sub 1024g/DCAA02DB 2004-02-16 

[d@localhost XML]$ gpg Xalan-C_1_9_0-redhat_80-gcc_32.tar.gz.sig
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: Signature made Tue 21 Dec 2004 12:59:00 PM CST using DSA key ID C7599162
gpg: Good signature from "Dmitry Hayes <dmitryh@apache.org>"
gpg: checking the trustdb
gpg: no ultimately trusted keys found
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: EE6E 40A4 16B0 43DB 18CC 8F3C 3F62 1BF0 C759 9162

[d@localhost XML]$ gpg --keyserver pgpkeys.mit.edu --recv-key C7599162
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: key C7599162: "Dmitry Hayes <dmitryh@apache.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1 

[d@localhost XML]$ gpg --fingerprint C7599162
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
pub 1024D/C7599162 2004-12-21 Dmitry Hayes <dmitryh@apache.org>
Key fingerprint = EE6E 40A4 16B0 43DB 18CC 8F3C 3F62 1BF0 C759 9162
sub 2048g/ACD96CE4 2004-12-21
Personal tools