OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xslt-conformance message

[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
[XML Security Suite]

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.


Sample programs

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.xml
E:\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

Changes

2001.8.31
Exclusive C14n implmentation.
c14n.C14nDOM and SerializeSubset support Exclusive C14n.
2001.4.19
Switched to Xalan2
Conforming to REC-xml-c14n-20010315
C14nDOM: Changed default algorithm, and add -old option.
2000.11.30
Fixed a bug of attribute sorting
Conforming to CR-xml-c14n-20001026
2000.10.18
Conforming to WD-xml-c14n-20001011
2000.7.21
Supported XPath-based C14n.
Added SerializeSubset.
2000.4.5
Fixed a bug of attribute sorting.

TAMURA, Kent
$Id: c14n.html,v 1.8 2001/08/31 04:12:38 kent Exp $


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC