[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [xslt-conformance] FW: Canonicalization support in the XML SecuritySuite
-----Original Message----- From: Doug Tidwell [mailto:dtidwell@us.ibm.com] Sent: Tuesday, December 11, 2001 11:06 AM To: lyndavv@earthlink.net Subject: Canonicalization support in the XML Security Suite Lynda, the documentation for the latest version of the XML Security Suite (the 10/29/2001 version on www.alphaworks.ibm.com/tech/xmlsecuritysuite) says that it supports both the January 19, 2000 draft and the March 15, 2001 recommendation. I'm attaching the documentation for the Canonicalization piece below. Let me know if you need anything else, and I'll try to provide "same-day service" on my response. My apologies again for not responding earlier. Thanks, -Doug (See attached file: c14n.html) Cyber Evangelist, Web Services developerWorks XML Team voice 919-254-5128 --- fax 919-254-9786 --- internet dtidwell@us.ibm.com http://www.ibm.com/developerWorks/Title: XML Canonicalizer
The XML Security Suite has classes that canonicalize XML documents. They are based on Canonical XML [19-January-2000], Canonical XML [W3C REC, 15-Mar-20001 and Exclusive XML Canonicalization.
c14n.C14nDOM and c14n.C14nSAX canonicalize an XML document from the stardard input, and output to the standard output.
E:\xss4j\samples> java c14n.C14nDOM -old < foo.xml > foo-canonicalized.xmlE:\xss4j\samples> java c14n.C14nSAX < foo.xml > foo-canonicalized.xml
These programs support [19-January-2000] Canonical XML. c14n.C14nDOM has the "-xpath" option that enables [15-Mar-2001] canonicalization.
E:\xss4j\samples> java c14n.C14nDOM -xpath < foo.xml > foo-canonicalized.xml
c14n.C14nDOM has the "-exclusive" option that enable Exclusive XML Canonicalization.
E:\xss4j\samples> java c14n.C14nDOM -exclusive < foo.xml > foo-canonicalized.xml
c14n.SerialzeSubset is a sample program for canonicalization against Document Subsets. Add xalan.jar of Xalan-2.0 to CLASSPATH, and type as follows:
E:\xss4j\samples> java c14n.SerializeSubset xpath-expression < foo.xml > foo-canonicalized.xml
For Exclusive C14n, specify `-eprefix-list'.
E:\xss4j\samples> java c14n.SerializeSubset -edsig,xhtml xpath-expression < foo.xml > foo-canonicalized.xml
c14n.C14nDOM
and SerializeSubset
support Exclusive C14n.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC