Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > xmldsig enveloped-signature xpath transform question

Reply
Thread Tools

xmldsig enveloped-signature xpath transform question

 
 
Geir S Eidissen
Guest
Posts: n/a
 
      12-27-2004
Task: Removing the Signature element from an enveloped-signature xml file.

The signed xml file is like this (SP=space, LF=line feed (ascii 10)),
signature contents is not shown here

<doc>LF
SPSP<data>this is the data</data>LF
SPSP<Signature>...
SPSP</Signature>LF
</doc>LF

When removing the signature element according to the XMLDSIG-spec, is it
correct that the result would be:

<doc>LF
SPSP<data>this is the data</data>LF
SPSP</doc>LF

Note that the two spaces indenting the <Signature> start tag is kept, and
placed in front of the </doc> end tag.

Thankful for any comments on this
Geir S. Eidissen



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XPath or XSL Transform Help Candle XML 2 12-12-2006 03:47 PM
"Memory leak" in javax.xml.xpath.XPath Marvin_123456 Java 4 07-29-2005 03:49 PM
blocking I/O with javax.xml.parsers.DocumentBuilder.parse() and javax.xml.transform.Transformer.transform() jazzdman@gmail.com Java 1 03-27-2005 06:56 AM
XMLDSig namespace validation problem in XMLSpy kk XML 1 08-10-2003 06:22 AM
Problem selecting a node with XPATH if attribute value contains backslashes - how to force XPATH string to be treated as literal? Alastair Cameron XML 1 07-08-2003 07:24 PM



Advertisments