Community
Participate
Working Groups
Build Identifier: The 4.3 compendium makes the 'pid' attribute on the <Designate> element optional instead of required. The implementation needs to be updated to not automatically reject XML that omits this attribute. The rule is the <Designate> element must have either the 'pid' or 'factoryPid' attribute. Both are also allowed to be present. If both are present, the 'factoryPid' takes precedence and the 'pid' is ignored. Reproducible: Always
See https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1852 and https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1951.
Created attachment 192592 [details] Proposed Patch This patch takes into account the now optional 'pid' attribute on the <Designate> element. Either 'pid' or 'factoryPid' must be present. If neither are specified, a (new) error message is logged and the entire XML file rejected. If 'factoryPid' is present, 'pid' (present or absent) is ignored entirely.
Thanks John! Patch released.