Thanks for the info. It was a optimization that goes astray. Why Element.getAttribute("id") does not get x:id? Now changed to give me all attributes in element I will search for the local name myself.
Regards, Raul On 8/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello. There is no problem when the 'xmlsec-1.2.1.jar' is used. There is a possibility of the bug since the 'xmlsec-1.2.96.jar'. The same problem occurs even when the latest 'xmlsec-1.4.Beta2.jar' is used. Jean-Luc Cooke <jlcooke <at> certainkey.com> writes: > I'd offer, but let me get the Samples working first. ;) > > JLC > > On Wed, Aug 30, 2006 at 11:29:22AM +0200, Raul Benito wrote: > > http://issues.apache.org/bugzilla/buglist.cgi?product=Security > > > > You are right regarding the web page. It needs some loving, any takers?. > > > > Regards, > > > > Raul > > > > On 8/29/06, Jean-Luc Cooke <jlcooke <at> certainkey.com> wrote: > > >Sure thing. > > > > > >I can find no bugzilla on the http://xml.apache.org/security > > >site. Using the search tool doesn't help either. Where do I find it? > > >It would be nice to have a link from the > > >http://xml.apache.org/security/contrib.html page. > > > > > >JLC > > > > > >On Tue, Aug 29, 2006 at 04:44:23PM +0200, Raul Benito wrote: > > >> Thanks, > > >> It seems a problem can you create a bug report in bugzilla. > > >> > > >> Regards, > > >> > > >> Raul > > >> > > >> On 8/29/06, Jean-Luc Cooke <jlcooke <at> certainkey.com> wrote: > > >> >Team, > > >> > > > >> >I've downloaded the 1.3.0 binary package and I'm having trouble runnin > > >the > > >> >samples. Am I missing somethingi really obvious here? I can't find any > > >> >reference to "Cannot resolve element with ID Body" using google. > > >> > > > >> >Cheers, > > >> > > > >> >JLC > > >> > > > >> >javac org/apache/xml/security/samples/AxisSigner.java > > >> >java org.apache.xml.security.samples.AxisSigner > > >> >Exception in thread "main" > > >> >org.apache.xml.security.signature.XMLSignatureException: Cannot resolve > > >> >element with ID Body > > >> >Original Exception was > > >> >org.apache.xml.security.signature.ReferenceNotInitializedException: > > >Cannot > > >> >resolve element with ID Bo > > >> >Original Exception was > > >> >org.apache.xml.security.signature.ReferenceNotInitializedException: > > >Cannot > > >> >resolve element with ID Bo > > >> >Original Exception was > > >> >org.apache.xml.security.signature.ReferenceNotInitializedException: > > >Cannot > > >> >resolve element with ID Bo > > >> >Original Exception was > > >> >org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot > > >> >resolve element with ID Body > > >> > at org.apache.xml.security.signature.XMLSignature.sign(Unknown > > >> > Source) > > >> > at > > >> > > > >org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138) > > >> >org.apache.xml.security.signature.ReferenceNotInitializedException: > > >Cannot > > >> >resolve element with ID Body > > >> >Original Exception was > > >> >org.apache.xml.security.signature.ReferenceNotInitializedException: > > >Cannot > > >> >resolve element with ID Bo > > >> >Original Exception was > > >> >org.apache.xml.security.signature.ReferenceNotInitializedException: > > >Cannot > > >> >resolve element with ID Bo > > >> >Original Exception was > > >> >org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot > > >> >resolve element with ID Body > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.generateDigestValue(Unknown > > >Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown > > >Source) > > >> > at org.apache.xml.security.signature.XMLSignature.sign(Unknown > > >> > Source) > > >> > at > > >> > > > >org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138) > > >> >org.apache.xml.security.signature.ReferenceNotInitializedException: > > >Cannot > > >> >resolve element with ID Body > > >> >Original Exception was > > >> >org.apache.xml.security.signature.ReferenceNotInitializedException: > > >Cannot > > >> >resolve element with ID Bo > > >> >Original Exception was > > >> >org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot > > >> >resolve element with ID Body > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.generateDigestValue(Unknown > > >Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown > > >Source) > > >> > at org.apache.xml.security.signature.XMLSignature.sign(Unknown > > >> > Source) > > >> > at > > >> > > > >org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138) > > >> >org.apache.xml.security.signature.ReferenceNotInitializedException: > > >Cannot > > >> >resolve element with ID Body > > >> >Original Exception was > > >> >org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot > > >> >resolve element with ID Body > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.getContentsBeforeTransformation(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.generateDigestValue(Unknown > > >Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown > > >Source) > > >> > at org.apache.xml.security.signature.XMLSignature.sign(Unknown > > >> > Source) > > >> > at > > >> > > > >org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138) > > >> >org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot > > >> >resolve element with ID Body > > >> > at > > >> > > > > >org.apache.xml.security.utils.resolver.implementations.ResolverFragment.engineResolve(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.utils.resolver.ResourceResolver.resolve(Unknown > > >Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.getContentsBeforeTransformation(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Reference.generateDigestValue(Unknown > > >Source) > > >> > at > > >> > > > >org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown > > >Source) > > >> > at org.apache.xml.security.signature.XMLSignature.sign(Unknown > > >> > Source) > > >> > at > > >> > > > >org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138) > > >> > > > >> > > >> > > >> -- > > >> http://r-bg.com > > > > > > > > > -- > > http://r-bg.com -------------------------------------- For All Sports Lovers! http://pr.mail.yahoo.co.jp/yells/
-- http://r-bg.com