-
Proposal:
Show
Make the "Annotation" element, as well as the "Type" "Term" and "Target" attributes lower case.
Accepted: https://www.oasis-open.org/committees/download.php/48346/odata-meeting-26_on-20130221-minutes.html#odata-250
-
Resolution:
Show
https://www.oasis-open.org/committees/download.php/48383/odata-atom-format-v4.0-wd01-2013-02-26-RH.doc
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/schemas/metadata.xsd?rev=202
Accepted: https://www.oasis-open.org/committees/download.php/48549/odata-meeting-29_on-20130314-minutes.html#odata-250
In the current [ATOM] spec, the "Annotation" element, as well as the child "Type", "Term" and "Target" attributes are defined in upper case. This is inconsistent with other element that we define in the ATOM payload (for example, the metadata:function element with attributes "metadata" "target" and "title", the metadata:error element and its attributes, etc.).
{"report":{"apdex":1,"isInitial":true,"journeyId":"7b352671-44a3-4e35-b891-55e6f65972d9","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":781.5,"redirectCount":0,"resourceLoadedEnd":772.2000002861023,"resourceLoadedStart":248.2000002861023,"resourceTiming":[{"duration":129,"initiatorType":"link","name":"https://issues.oasis-open.org/s/3edeca31ab9ba77980aae0809fbe7121-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/css/_super/batch.css","startTime":248.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":248.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":377.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":129,"initiatorType":"link","name":"https://issues.oasis-open.org/s/7d2823769c2e7b66e860863fe879b7f8-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":248.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":248.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":377.5,"responseStart":0,"secureConnectionStart":0},{"duration":128.90000009536743,"initiatorType":"link","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":248.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":248.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":377.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":128.7000002861023,"initiatorType":"link","name":"https://issues.oasis-open.org/s/645acc233eb869f48a571293b8358a7d-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":249,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":249,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":377.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":128.59999990463257,"initiatorType":"link","name":"https://issues.oasis-open.org/s/a0dd6509771c1de0667aae5429c04cda-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":249.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":249.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":377.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":175.09999990463257,"initiatorType":"script","name":"https://issues.oasis-open.org/s/e5479157e7a0c08b005e6522f2f04104-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":249.40000009536743,"connectEnd":249.40000009536743,"connectStart":249.40000009536743,"domainLookupEnd":249.40000009536743,"domainLookupStart":249.40000009536743,"fetchStart":249.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":249.40000009536743,"responseEnd":424.5,"responseStart":424.5,"secureConnectionStart":249.40000009536743},{"duration":197.09999990463257,"initiatorType":"script","name":"https://issues.oasis-open.org/s/83514d5d4e8543747b02042eafcdc99c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":250,"connectEnd":250,"connectStart":250,"domainLookupEnd":250,"domainLookupStart":250,"fetchStart":250,"redirectEnd":0,"redirectStart":0,"requestStart":250,"responseEnd":447.09999990463257,"responseStart":447.09999990463257,"secureConnectionStart":250},{"duration":199.40000009536743,"initiatorType":"script","name":"https://issues.oasis-open.org/s/70bb2263e59e7e1f04fbd137c80b895b-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":250.40000009536743,"connectEnd":250.40000009536743,"connectStart":250.40000009536743,"domainLookupEnd":250.40000009536743,"domainLookupStart":250.40000009536743,"fetchStart":250.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":250.40000009536743,"responseEnd":449.80000019073486,"responseStart":449.7000002861023,"secureConnectionStart":250.40000009536743},{"duration":199.60000038146973,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":250.59999990463257,"connectEnd":250.59999990463257,"connectStart":250.59999990463257,"domainLookupEnd":250.59999990463257,"domainLookupStart":250.59999990463257,"fetchStart":250.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":250.59999990463257,"responseEnd":450.2000002861023,"responseStart":450.2000002861023,"secureConnectionStart":250.59999990463257},{"duration":199.69999980926514,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":250.80000019073486,"connectEnd":250.80000019073486,"connectStart":250.80000019073486,"domainLookupEnd":250.80000019073486,"domainLookupStart":250.80000019073486,"fetchStart":250.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":250.80000019073486,"responseEnd":450.5,"responseStart":450.5,"secureConnectionStart":250.80000019073486},{"duration":200,"initiatorType":"script","name":"https://issues.oasis-open.org/s/cda37faab827dbdf305de8efe8282062-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":251,"connectEnd":251,"connectStart":251,"domainLookupEnd":251,"domainLookupStart":251,"fetchStart":251,"redirectEnd":0,"redirectStart":0,"requestStart":251,"responseEnd":451,"responseStart":451,"secureConnectionStart":251},{"duration":200.2999997138977,"initiatorType":"link","name":"https://issues.oasis-open.org/s/07245784f53abc49bad9d9d4d36c577a-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/cadc4f20cc5c138dee060d42cf85f220/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":251.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":251.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":451.5,"responseStart":0,"secureConnectionStart":0},{"duration":200.09999990463257,"initiatorType":"script","name":"https://issues.oasis-open.org/rest/api/1.0/shortcuts/803004/a29179d70fa8562374ee16707692af77/shortcuts.js?context=issuenavigation&context=issueaction","startTime":251.30000019073486,"connectEnd":251.30000019073486,"connectStart":251.30000019073486,"domainLookupEnd":251.30000019073486,"domainLookupStart":251.30000019073486,"fetchStart":251.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":251.30000019073486,"responseEnd":451.40000009536743,"responseStart":451.40000009536743,"secureConnectionStart":251.30000019073486},{"duration":175.2999997138977,"initiatorType":"link","name":"https://issues.oasis-open.org/s/f77fd89aa211a76b20e9b0e63564383c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":277.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":277.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":452.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":174.39999961853027,"initiatorType":"script","name":"https://issues.oasis-open.org/s/41525c48ddceeb9b11e54085268fc285-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":277.7000002861023,"connectEnd":277.7000002861023,"connectStart":277.7000002861023,"domainLookupEnd":277.7000002861023,"domainLookupStart":277.7000002861023,"fetchStart":277.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":277.7000002861023,"responseEnd":452.09999990463257,"responseStart":452.09999990463257,"secureConnectionStart":277.7000002861023},{"duration":288.8999996185303,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":288.7000002861023,"connectEnd":288.7000002861023,"connectStart":288.7000002861023,"domainLookupEnd":288.7000002861023,"domainLookupStart":288.7000002861023,"fetchStart":288.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":288.7000002861023,"responseEnd":577.5999999046326,"responseStart":577.5999999046326,"secureConnectionStart":288.7000002861023},{"duration":464.6000003814697,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":307.59999990463257,"connectEnd":307.59999990463257,"connectStart":307.59999990463257,"domainLookupEnd":307.59999990463257,"domainLookupStart":307.59999990463257,"fetchStart":307.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":307.59999990463257,"responseEnd":772.2000002861023,"responseStart":772.2000002861023,"secureConnectionStart":307.59999990463257}],"threshold":1000,"fetchStart":0,"domainLookupStart":141,"domainLookupEnd":141,"connectStart":141,"connectEnd":190,"secureConnectionStart":166,"requestStart":190,"responseStart":239,"responseEnd":308,"domLoading":243,"domInteractive":840,"domContentLoadedEventStart":840,"domContentLoadedEventEnd":889,"domComplete":1163,"loadEventStart":1163,"loadEventEnd":1165,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"e815cc45a12d70","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":85,"dbReadsTimeInMs":12,"dbConnsTimeInMs":14,"applicationHash":"4d4040e0714d65b7fffa4801569d014c0b16eaa9","experiments":[]}}
When applying this issue I noticed two inconsistencies.
(1) The metadata:annotation element allows values to be specified in "attribute form" as String="Some Value" or Int="42". With everything else lowercase these attributes look odd,th so we COULD lowercase them. But in addition they are incomplete compared to CSDL (e.g. no Duration or DateTimeOffset), and in CSDL their CSDL counterparts are (and hopefully will remain) CamelCased, so however we adapt them, they stay inconsistent.
Also they add little value over element notation in Atom, which is famous for its verbosity. A handful of shortcuts won't change that.
So I completely removed the Attribute Value Notation from Atom, and I like the new brevity
(2) The target attribute of the metadata:annotation attribute is optional, and if omitted it means "the surrounding parent". In addition it allowed the special value "." to also mean "the surrounding parent". I don't like two ways to specify the same meaning, so I removed the special value ".".
Please comment if you disagree.