Re: Java XML C14n interop with .Net

2005-04-01 Thread Raul Benito
, 2005 11:09 PM > To: security-dev@xml.apache.org; [EMAIL PROTECTED] > Subject: Re: Java XML C14n interop with .Net > > Ok, > > You have a bug in your code. You are using a parser non namespaceaware, > you have this: > DocumentBuil

RE: Java XML C14n interop with .Net

2005-04-01 Thread Skip Walker
, March 31, 2005 11:09 PM To: security-dev@xml.apache.org; [EMAIL PROTECTED] Subject: Re: Java XML C14n interop with .Net Ok, You have a bug in your code. You are using a parser non namespaceaware, you have this: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance

Re: Java XML C14n interop with .Net

2005-03-31 Thread Raul Benito
> > > > > > Skip Walker > [EMAIL PROTECTED] > Gossamer Group > Bldg #2, Suite 410 > 4807 Spicewood Springs Rd. > Austin, TX 78759 > (512) 342-2600 Fax (512) 342-2612 > > -Original Message- > From: Raul Benito [mailto:[EMAIL PROTECT

RE: Java XML C14n interop with .Net

2005-03-31 Thread Skip Walker
X 78759 (512) 342-2600 Fax (512) 342-2612 -Original Message- From: Raul Benito [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 2:04 PM To: security-dev@xml.apache.org Subject: Re: Java XML C14n interop with .Net I'll think you are still having problems with your dom, bu

Re: Java XML C14n interop with .Net

2005-03-31 Thread Raul Benito
I'll think you are still having problems with your dom, but it is really weird as if your program is really what you have shown it should work, correctly. Anyway can you tell me what's the output of the following lines in your example: XMLSerializer ser=new XMLSerializer();

RE: Java XML C14n interop with .Net

2005-03-31 Thread Scott Cantor
> For some reason, in my little test case, the canonicalizer renders a > different result with the DOM from the JAXP api then from the Glue api. > Apparently, the result from the JAXP DOM, produces something wrong, as far > as the soap:encodingStyle attribute goes. I guess a first sanity check wou

RE: Java XML C14n interop with .Net

2005-03-31 Thread Skip Walker
rings Rd. Austin, TX 78759 (512) 342-2600 Fax (512) 342-2612 -Original Message- From: Scott Cantor [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 11:19 AM To: security-dev@xml.apache.org; [EMAIL PROTECTED] Subject: RE: Java XML C14n interop with .Net > Using my test xml fil

RE: Java XML C14n interop with .Net

2005-03-31 Thread Scott Cantor
> Using my test xml file, both Glue and .NET C# both produce all of these > elements, while the javax.xml apis produce no entities. Hmm. Reading the spec, it does say that text nodes get changed such that "all #xD characters are replaced by ". So, heh, you're right. Guess I never noticed, SAM

RE: Java XML C14n interop with .Net

2005-03-31 Thread Skip Walker
CTED] Gossamer Group Bldg #2, Suite 410 4807 Spicewood Springs Rd. Austin, TX 78759 (512) 342-2600 Fax (512) 342-2612 -Original Message- From: Scott Cantor [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 12:34 PM To: security-dev@xml.apache.org; [EMAIL PROTECTED] Subject: RE: J

RE: Java XML C14n interop with .Net

2005-03-30 Thread Scott Cantor
> It was my understanding that if I could start with an XML file or String, > use one of the xml parsers to load the file into a Document, and then > produce a canonical version of the xml String using an algorithm implement > in the Apache XML Security package. I also assumed that I could load, >

RE: Java XML C14n interop with .Net

2005-03-30 Thread Skip Walker
2:34 PM To: security-dev@xml.apache.org; [EMAIL PROTECTED] Subject: RE: Java XML C14n interop with .Net > The canonicalizer produces output that is nothing like the canonicalized > form produced by .NET and the Glue input based canonicalization: They look pretty much the same except for whi

RE: Java XML C14n interop with .Net

2005-03-30 Thread Scott Cantor
> The canonicalizer produces output that is nothing like the canonicalized > form produced by .NET and the Glue input based canonicalization: They look pretty much the same except for whitespace, but whitespace is significant. If the XML contains whitespace, c14n doesn't remove it. My guess is t

RE: Java XML C14n interop with .Net

2005-03-30 Thread Skip Walker
Thanks Skip Walker [EMAIL PROTECTED] Gossamer Group Bldg #2, Suite 410 4807 Spicewood Springs Rd. Austin, TX 78759 (512) 342-2600 Fax (512) 342-2612 -Original Message- From: Raul Benito [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 4:16 AM To: security-dev@xml.apache.org Sub

Re: Java XML C14n interop with .Net

2005-03-30 Thread Raul Benito
The java output looks weird perhaps your DOM tree is not well constracted. Can you just plain serializae your DOM tree to se what really has. On Tue, 29 Mar 2005 15:47:48 -0600, Skip Walker <[EMAIL PROTECTED]> wrote: > > I'm relatively new to most of this stuff. > > Does anyone have any ex

Java XML C14n interop with .Net

2005-03-29 Thread Skip Walker
I'm relatively new to most of this stuff.    Does anyone have any experience with the Java XML Security package and  .Net C# interopability?   I'm trying to get xml, canonicalized using the XML Security package in Java, to be canonicalized in the same way the .Net XmlDsigC14NWithCommentsTran