I have two major questions.
The first question has to do with Complete vs Incremental.
Would it be possible to get some clarification with an example on the difference between Complete, and Incremental?
These two sound almost the same to me. From what I understand, it sounds like incremental duplicates and updates an existing Resource.
Example, We have resources A and B. Doing an Incremental Update on B will create resource C which contains the same parameters as B + any changes I specify when sending the incremental update command. Is this interpretation correct?
The second question is regarding the reference of the "Part" element in UpdateMethod. The verbiage in XJDF SPECIFICATION 2.1-DRAFT-20190701 seems to imply that a Part is required for any Incremental UpdateMethod "Any Resource selected by a Part SHALL be incrementally updated with values from the matching Resource of the ResourceSet in this message whereby all items SHALL be added to the original Resource, replacing any previously existing matching item" However the example 7.6 right below it does not use a Part. Does that mean we do not need to use Part and could refer to another resource by something else, such as its ID?
First of all, incremental and complete are identical, if
a.) the requested resource part does not exist, in which case both values create the new <Resource>
b.) the sent resource contains all attributes and elements of the existing resource, in which case all traits are overwritten.
They differ, if the sent resource does not contain all attributes of the existing resource:
<a b="c"> sent to <a b="c0" d="e0"> → <a b="c" d="e0">
<a b="c"> sent to <a b="c0" d="e0"> → <a b="c">
thus complete is the only method to delete information.
Part 2: Unfortunately, you spotted a disconnect:
In case of catalogs, <Part> makes little sense. We missed this when transscribing from JDF.
update disussion of parts in CommandResource
Powered by a free Atlassian Confluence Open Source Project License granted to CIP4. Evaluate Confluence today.