[RFC][icedtea-web]: Added support for signed JNLP file
smohammad at redhat.com
Tue Jun 28 08:04:22 PDT 2011
On 06/28/2011 10:46 AM, Jiri Vanek wrote:
> When we are speaking about this, are you sure that jnlps used for
> signature must be same in way of xml? I'm not sure about this:(
> are same for xml point of view comparison, but for case of signature,
> they may be evaluated as different. (needinfo ? :) )
If you are asking if the attributes and elements must be in the same
order of the signed JNLP file, then no. The attributes and elements can
be in any order, as long as they values and the children match. However,
both files must be valid XML files.
<a href="#" name="something">text1</a>
<a name="something" href="#">text1</a>
^ That is considered to be a match.
And since we are talking about how to compare JNLP files, I had another
concern. Should a space at the beginning or at the end of the elements's
value make a difference when comparing 2 elements?
In other words, are both of these values the same?
<a> text1 </a>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the distro-pkg-dev