Hi,
I used XML-dsig classes in JDK6.0 for XML signature, but encountered an
abjective
problem. It seems that signature could not contain reference pointed to
relative local
path when using XML-dsig classes in JDK6.0. For instance,
XMLSignatureFactory.newReference("test.txt",...)
which want to make a reference to "test.txt" in the current directory.
Unfortunately, the
call threw exception about dereference.
I know there is a class named ResolverLocalFilesystem in XML-dsig
implementation of
apache can solve above case. But in JDK6.0 is this a function limitation for
XML signature?
Or exist other method for relative local path reference?
Anyone replied is appreciated.
Thanks a lot.
Nolen