blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

Name element should be optional according to w3 spec #207

Open jamesjhedley opened 11 years ago

jamesjhedley commented 11 years ago

According to the w3 spec for the name element, the element can be specified zero or more times. However, in the Packager we currently make this element mandatory and throw an error if it's not provided.

@kwallis We need a decision on whether we want to match the w3 spec for this case or if we wan't to leave the element mandatory. One option could be to make the element optional and when it's not specified have it set to a default value [ie. Webworks Application].

w3 spec: http://www.w3.org/TR/widgets/#the-name-element-and-its-attributes

kwallis commented 11 years ago

What do use the name for? Does it become part of any critical identifying info, for the device, or AppWorld?

From: James Keshavarzi Sent: Friday, 9 November, 2012 5:26:18 PM EDT To: blackberry/BB10-Webworks-Packager; Ken Wallis Reply To: blackberry/BB10-Webworks-Packager Subject: [BB10-Webworks-Packager] Name element should be optional according to w3 spec (#207)

According to the w3 spec for the name element, the element can be specified zero or more times. However, in the Packager we currently make this element mandatory and throw an error if it's not provided.

@kwallishttps://github.com/kwallis We need a decision on whether we want to match the w3 spec for this case or if we wan't to leave the element mandatory. One option could be to make the element optional and when it's not specified have it set to a default value [ie. Webworks Application].

w3 spec: http://www.w3.org/TR/widgets/#the-name-element-and-its-attributes

\u2014 Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-Webworks-Packager/issues/207.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

nukulb commented 11 years ago

In my opinion it needs to be mandatory.

From: Ken Wallis notifications@github.com<mailto:notifications@github.com> Reply-To: blackberry/BB10-Webworks-Packager reply@reply.github.com<mailto:reply@reply.github.com> Date: Fri, 9 Nov 2012 14:34:55 -0800 To: blackberry/BB10-Webworks-Packager BB10-Webworks-Packager@noreply.github.com<mailto:BB10-Webworks-Packager@noreply.github.com> Subject: Re: [BB10-Webworks-Packager] Name element should be optional according to w3 spec (#207)

What do use the name for? Does it become part of any critical identifying info, for the device, or AppWorld?

From: James Keshavarzi Sent: Friday, 9 November, 2012 5:26:18 PM EDT To: blackberry/BB10-Webworks-Packager; Ken Wallis Reply To: blackberry/BB10-Webworks-Packager Subject: [BB10-Webworks-Packager] Name element should be optional according to w3 spec (#207)

According to the w3 spec for the name element, the element can be specified zero or more times. However, in the Packager we currently make this element mandatory and throw an error if it's not provided.

@kwallishttps://github.com/kwallis We need a decision on whether we want to match the w3 spec for this case or if we wan't to leave the element mandatory. One option could be to make the element optional and when it's not specified have it set to a default value [ie. Webworks Application].

w3 spec: http://www.w3.org/TR/widgets/#the-name-element-and-its-attributes

\u2014 Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-Webworks-Packager/issues/207.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

— Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-Webworks-Packager/issues/207#issuecomment-10247094.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

jamesjhedley commented 11 years ago

@kwallis It becomes the Application-Name in the bar MANIFEST.MF. I believe it's the "id" property that is used for app world and its matching Package-Name attribute in the bar MANIFEST.MF. Not 100% sure though. Would require some investigation.

nukulb commented 11 years ago

This is not worth investing time in right now

From: James Keshavarzi To: blackberry/BB10-Webworks-Packager To: Nukul Bhasin Reply To: blackberry/BB10-Webworks-Packager Re: [BB10-Webworks-Packager] Name element should be optional according to w3 spec (#207) 2012-11-09 5:47:25 PM

@kwallishttps://github.com/kwallis It becomes the Application-Name in the bar MANIFEST.MF. I believe it's the "id" property that is used for app world and its matching Package-Name attribute in the bar MANIFEST.MF. Not 100% sure though. Would require some investigation.

\u2014 Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-Webworks-Packager/issues/207#issuecomment-10247463.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

kwallis commented 11 years ago

I would say leave it as mandatory for now.

From: James Keshavarzi Sent: Friday, 9 November, 2012 5:47:24 PM EDT To: blackberry/BB10-Webworks-Packager; Ken Wallis Reply To: blackberry/BB10-Webworks-Packager Subject: Re: [BB10-Webworks-Packager] Name element should be optional according to w3 spec (#207)

@kwallishttps://github.com/kwallis It becomes the Application-Name in the bar MANIFEST.MF. I believe it's the "id" property that is used for app world and its matching Package-Name attribute in the bar MANIFEST.MF. Not 100% sure though. Would require some investigation.

\u2014 Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-Webworks-Packager/issues/207#issuecomment-10247463.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.