Re: Reference URI format !

2008-11-13 Thread Ling Xiaohan
yes, I know URI couldn't contain space, but local path always does. The apache implementation could accept URI string with space, can we say apache implementation does not conform XML Signature specification. Actually, URI could contain space which regards space as %20, so good API design ough

Re: Reference URI format !

2008-11-13 Thread Sean Mullan
Ling Xiaohan wrote: factory.newReference("My%20document/test.txt", ...); However, apache XMLDsig could set Reference's URI with space by calling XMLSignature.addDocument, ex., sig.addDocument("My document/test.txt", null, Constants.ALGO_ID_DIGEST_SHA1); Although method newReference

Re: Reference URI format !

2008-11-13 Thread Ling Xiaohan
factory.newReference("My%20document/test.txt", ...); However, apache XMLDsig could set Reference's URI with space by calling XMLSignature.addDocument, ex., sig.addDocument("My document/test.txt", null, Constants.ALGO_ID_DIGEST_SHA1); Although method newReference could succeed with UR