<div dir="ltr"><div>Merry Christmas!</div><div><br></div><div>Here is my present for you. I thought <span tabindex="-1" id=":1fd.1">OOXML</span> experts might like it.</div><div><br></div><div>I am reviewing the definition of relationships in <span tabindex="-1" id=":1fd.3">OPC</span>. Let me report<br>some problems.</div><div><br></div><div>A) Circular definitions</div><div><br></div><div>"source part" and "target part" are defined using "relationship", but<br>"relationship" is defined using them.</div><div><br></div><div>B) Relationships and package relationships</div><div><br></div><div>In the definition of "relationship", the source is always a part. But<br>"package relationship" is defined as a special case of "relationship".</div><div><br></div><div>C) source is not always a part</div><div><br></div><div>In the case of a package relationship, the source is not a part but<br>rather a package.</div><div><br></div><div>D) target is not always a part</div><div><br></div><div>When the relationship mode is external, the target of a relationship<br>is not a part but rather any external resource.</div><div><br></div><div>E) Some terms are abstract, while others are <span tabindex="-1" id=":1fd.5">XMLish</span></div><div><br></div><div>"relationship" is defined as a connection, which I call abstract.<br>Other terms "source part", "target part", and "package relationship"<br>are also abstract. But "relationships part" is defined as an XML<br>representation.</div><div><br></div><div>Here is the definitions extracted from the current <span tabindex="-1" id=":1fd.7">WD</span>.</div><div><br></div><div>4.23 <br>package relationship <br>relationship whose target is a part and whose source is the package as a whole</div><div><br></div><div>4.32 <br>relationship <br>connection between a source part and a target part in a package </div><div><br></div><div>4.33 <br>relationship type <br>absolute <span tabindex="-1" id=":1fd.8">IRI</span> for identifying a relationship </div><div><br></div><div>4.34 <br>relationships part <br>part containing an XML representation of relationships</div><div><br></div><div>4.39 <br>source part <br>part from which a connection is established by a relationship</div><div><br></div><div>4.43 <br>target part <br>part to which a connection is established by a relationship</div><div><br></div><div>-------------------------------</div><div><br></div><div>I would like to propose a rewrite. Am I too worried?</div><div><br></div><div>relationship part<br>a part of the media type "application/<span tabindex="-1" id=":1fd.9">vnd</span>.<span tabindex="-1" id=":1fd.10">openxmlformats</span>-package.relationships+<span tabindex="-1" id=":1fd.11">xml</span>"</div><div><br></div><div>source of a relationship part<br>a part or an entire package with which the relationship part is associated by<br>a file name convention.</div><div><br></div><div>relationship<br>a Relationship element in a relationship part</div><div><br></div><div>source of a relationship<br>the source of the relationship part containing the relationship</div><div><br></div><div>target mode of a relationship<br>either "<span tabindex="-1" id=":1fd.12">Interal</span>" or "External" as specified by the value of the<br><span tabindex="-1" id=":1fd.13">TargetMode</span> attribute of the relationship</div><div><br></div><div>target of a relationship<br>the resource referenced by the Target attribute of the relationship<br>(Note: when the <span tabindex="-1" id=":1fd.14">targe</span> mode is internal, the target is a part)</div><div><br></div><div>relationship type of a relationship<br>the <span tabindex="-1" id=":1fd.15">IRI</span> value of the Type attribute of a relationship</div><div><br></div><div>Requirements</div><div><br></div><div>a <span tabindex="-1" id=":1fd.16">relationsip</span> part shall conform to the schema .... after <span tabindex="-1" id=":1fd.17">MVC</span> <span tabindex="-1" id=":1fd.18">preprocessing</span></div><div><br></div><div>Regards,</div><div><span tabindex="-1" id=":1fd.19">Makoto</span></div><div class="gmail_signature"></div>
</div>