RE: [widgets-digsig] Updated 5.1 with revised Reference constraint text

Looks good to me - thanks Frederick and Marcos!


________________________________

	From: public-webapps-request@w3.org
[mailto:public-webapps-request@w3.org] On Behalf Of Frederick Hirsch
	Sent: 18 March 2009 21:03
	To: WebApps WG
	Cc: Frederick Hirsch
	Subject: [widgets-digsig] Updated 5.1 with revised Reference
constraint text
	
	
	I have updated the Widgets Signature editors draft, section 5.1
(use of xml signature) with revised text for Reference constraints. This
is revised from what I proposed on list earlier as I tried to make the
two cases clear (and disallow other random external references): 

	I replaced:

	Every ds:Reference used within a widget signature
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-signature>  MUST have
a URI <http://dev.w3.org/2006/waf/widgets-digsig/#uri>  attribute. Every
ds:Reference to an item within the widget signature
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-signature>  MUST use
an IDREF value for the ds:Reference URI
<http://dev.w3.org/2006/waf/widgets-digsig/#uri>  attribute, referring
to a unique ID within the widget signature
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-signature>
[XML-Schema-Datatypes]
<http://dev.w3.org/2006/waf/widgets-digsig/#xml-schema-datatypes> .
Every ds:Reference to a widget file
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-file>  MUST use a
relative URI expressing the path from the root of the widget resource
<http://dev.w3.org/2006/waf/widgets-digsig/#root-of-the-widget-resource>
to the referenced widget file
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-file>  [URI]
<http://dev.w3.org/2006/waf/widgets-digsig/#uri> .
	
	
	with
	Every ds:Reference used within a widget signature
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-signature>  MUST have
a URI <http://dev.w3.org/2006/waf/widgets-digsig/#uri>  attribute.

	Every ds:Reference MUST be one of the following two kinds of
reference:

		Reference to content within the same ds:Signature
element 
		Every ds:Reference to an item within the widget
signature <http://dev.w3.org/2006/waf/widgets-digsig/#widget-signature>
MUST use an IDREF value for theds:Reference URI
<http://dev.w3.org/2006/waf/widgets-digsig/#uri>  attribute, referring
to a unique ID within the widget signature
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-signature>
[XML-Schema-Datatypes]
<http://dev.w3.org/2006/waf/widgets-digsig/#xml-schema-datatypes> .

		Reference to a widget file
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-file>  in the same
widget resource
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-resource>  
		The URI attribute of every ds:Reference to a widget file
<http://dev.w3.org/2006/waf/widgets-digsig/#widget-file>  MUST be a
URL-encoded [URI] <http://dev.w3.org/2006/waf/widgets-digsig/#uri>  zip
relative path that identifies a file inside the widget package. A zip
relative path MUST conform to the [ABNF]
<http://dev.w3.org/2006/waf/widgets-digsig/#abnf>  for zip-rel-path as
specified in [Widgets Packaging]
<http://dev.w3.org/2006/waf/widgets-digsig/#widgets-packaging> .

	

	Please let me know any additional comment or corrections. Thanks
Marcos for suggestions to this wording.

	(Also removed Inc from Nokia in title page)

	regards, Frederick

	Frederick Hirsch
	Nokia

	[1] http://dev.w3.org/2006/waf/widgets-digsig/ 

Received on Thursday, 19 March 2009 13:44:06 UTC