Relationship types in the original Parts 1 and 4

MURATA Makoto (FAMILY Given) eb2m-mrt at asahi-net.or.jp
Wed Feb 10 10:19:42 CET 2010


Dear colleagues,

<summary>Relationship types in the original Parts 1 and 4 
have be throughly revised by future CORs.</summary>

While reviewing the FDAM drafts, I searched for all attributes  in the
original Part 1 and Part 4 that specify identifiers of relationships. 
In my understanding, for each such attribute, one and only one
permissible relationship type should be specified.

I encountered four types of problems.

1) No relationship types are specified
2) Incorrect relationship types are specified.
3) Relationship types are sometimes specified in leading pargarphs,
    and sometimes in attribute descriptions.
4) Relationship types for OTHER attributes (to be precise, 
   @id of different elements) are specified.

Since the Part4 FDAM draft has borrowed quite a few attribute defitions
from the original Part 1, one could argue that the Part 4 FDAM draft
makes things worse.  However, having spent a lot of time on this issue,
I now think that we should wait for the second CORs for addressing all 
problems around relationship types.

For example, consider the definition of this attribute "id" of a
frameset element (17.15.2.39, Part 1).  The attribute description 
contains:

	The specified relationship shall match the relationship type
	required by the parent element: 
	-
	http://schemas.openxmlformats.org/officeDocument/2006/customXml
	for the contentPart element 
	-
	http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer
	 for the footerReference element 
	-
	http://schemas.openxmlformats.org/officeDocument/2006/relationships/header 
	for the headerReference element 
	-
	http://schemas.openxmlformats.org/officeDocument/2006/relationships/font
	for the embedBold, embedBoldItalic, embedItalic, or embedRegular
	elements 
	-
	http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings
	 for the printerSettings element 
	-
	http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink
	 for the longDesc or hyperlink element

First, all  of these (element, relationship type) pairs
are irrelevent. 

Second, the relationship type for the id attribute of a frameset element
is http://schemas.openxmlformats.org/officeDocument/2006/relationships/frame, 
but this is missing in the above list.

Third, the relationship type for this @id attribute is already specified
in the second para of 17.15.2.39:

	The relationship referenced by this element's id attribute shall
	exist in the relationship part item for the Web 
	Settings part,or this document shall be considered
	non-conformant.  Also, the type of the relationship reference
	by this element's id attribute shall be 
	http://schemas.openxmlformats.org/officeDocument/2006/relationships/frame,
	or this document shall be considered non-conformant.

Here is my list of all attributes that specify identifiers of relationships.  "??" and "Bug" 
indicate some problems in the original 29500.

Part 1: Relationship types

17.3.3.2	contentPart (Content Part)
(Bug in prose and att desc)http://schemas.openxmlformats.org/officeDocument/2006/customXml
http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml 

17.3.3.3	control (Embedded Control)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/control

17.3.3.17	movie (Embedded Video)
(Bug in prose)http://schemas.openxmlformats.org/officeDocument/2006/movie
http://schemas.openxmlformats.org/officeDocument/2006/relationships/movie

17.3.3.20	objectEmbed (Embedded Object Properties)
(Bug in att desc)http://schemas.openxmlformats.org/officeDocument/2006/oleObject
http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject

17.3.3.21	objectLink (Linked Object Properties)
(Bug in att desc)http://schemas.openxmlformats.org/officeDocument/2006/oleObject
http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject

17.6.2	bottom (Bottom Border)
@bottomLeft
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image
@bottomRight
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image
@id
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image

17.6.7	left (Left Border)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image

17.6.14	printerSettings (Reference to Printer Settings Data)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings 

17.6.15	right (Right Border)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image

17.6.21	top (Top Border)
@id
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image 
@topLeft
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image 
@topRight
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image 

17.8.3.3	embedBold (Bold Style Font Style Embedding)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/font

17.8.3.4	embedBoldItalic (Bold Italic Font Style Embedding)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/font

17.8.3.5	embedItalic (Italic Font Style Embedding)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/font

17.8.3.6	embedRegular (Regular Font Style Embedding)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/font

17.10.2	footerReference (Footer Reference)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer

17.10.5	headerReference (Header Reference)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/header

17.14.9	dataSource (Data Source File Path)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeSource

17.14.16	headerSource (Header Definition File Path)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeSource

17.14.28	recipientData (Reference to Inclusion/Exclusion Data for Data Source)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeRecipientData

17.14.30	src (ODSO Data Source File Path)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeSource

17.15.1.6	attachedTemplate (Attached Document Template)
?? (Never specified)

17.15.1.76	saveThroughXslt (Custom XSL Transform To Use When Saving As XML File)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/transform

17.15.2.23	longDesc (Frame Long Description)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink

17.15.2.39	sourceFileName (Source File for Frame)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/frame

17.16.22	hyperlink (Hyperlink)
??

17.17.1.1	subDoc (Anchor for Subdocument Location)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument

17.17.2.1	altChunk (Anchor for Imported External Content)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/afChunk

18.2.8	externalReference (External Reference)
??

18.2.17	pivotCache (PivotCache)
??

18.2.19	sheet (Sheet Information)
??

18.3.1.19	control (Embedded Control)
??

18.3.1.20	controlPr (Embedded Control Properties)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/control 

18.3.1.22	customPr (Custom Property)
??

18.3.1.36	drawing (Drawing)
??

18.3.1.37	drawingHF (Drawing Reference in Header Footer)
??

18.3.1.47	hyperlink (Hyperlink)
??

18.3.1.56	objectPr (Embedded Object Properties)
(Bug in att desc)http://schemas.openxmlformats.org/officeDocument/2006/oleObject 
http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject 

18.3.1.59	oleObject (Embedded Object)
??

18.3.1.63	pageSetup (Page Setup Settings)
??

18.3.1.64	pageSetup (Chart Sheet Page Setup)
??

18.3.1.67	picture (Background Image)
??

18.3.1.69	pivotSelection (PivotTable Selection)
??

18.3.1.94	tablePart (Table Part)
??

18.10.1.67	pivotCacheDefinition (PivotCache Definition)
??

18.10.1.79	rangeSet (Range Set)
??

18.10.1.95	worksheetSource (Worksheet PivotCache Source)]
??

18.11.1.1	header (Header)
??

18.14.7	externalBook (External Workbook)
??

18.14.11	oleLink (Generic Object Link Connection)
??

19.2.1.1	bold (Bold Embedded Font)
??

19.2.1.2	boldItalic (Bold Italic Embedded Font)
??

19.2.1.14	handoutMasterId (Handout Master ID)
??

19.2.1.16	italic (Italic Embedded Font)
??

19.2.1.20	notesMasterId (Notes Master ID)
??

19.2.1.29	regular (Regular Embedded Font)
??

19.2.1.31	sld (Presentation Slide)
??

19.2.1.33	sldId (Slide ID)
??

19.2.1.36	sldMasterId (Slide Master ID)
??

19.2.1.40	smartTags (Smart Tags)
??

19.2.2.14	sld (Presentation Slide)
??

19.3.1.14	contentPart (Content Part)
(Bug in prose)http://schemas.openxmlformats.org/officeDocument/2006/customXml
http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml

19.3.1.17	custData (Customer Data)
??

19.3.1.40	sldLayoutId (Slide Layout Id)
??

19.3.1.47	tags (Customer Data Tags)
??

19.3.2.1	control (Embedded Control)
??

19.3.2.4	oleObj (Global Element for Embedded objects and Controls)
??

19.5.68	snd (Sound)
@embed
??

19.5.70	sndTgt (Sound Target)
@embed
??

20.1.2.2.32	snd (Hyperlink Sound)
@embed
??

20.1.3.2	audioFile (Audio from File)
@link
??

20.1.3.4	quickTimeFile (QuickTime from File)
@link
??

20.1.3.6	videoFile (Video from File)]
@link
??

20.1.3.7	wavAudioFile (Audio from WAV File)
@embed
??

20.1.8.13	blip (Blip)
@embed
??
@link
??

20.5.2.12	contentPart (Content Part)

(Bug in prose)http://schemas.openxmlformats.org/officeDocument/2006/customXml
http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml

21.1.2.3.5	hlinkClick (Click Hyperlink)
??

21.1.2.3.6	hlinkMouseOver (Mouse-Over Hyperlink)
??

21.2.2.26	chart (Reference to Chart Part)
??

21.2.2.63	externalData (External Data Relationship)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/package

21.2.2.221	userShapes (Reference to Chart Drawing Part)
??

21.4.2.22	relIds (Explicit Relationships to Diagram Parts)
@cs
http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors
@dm
http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData
@lo
http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout
@qs
http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramQuickStyle

21.4.2.27	shape (Shape)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image

22.7.2.2	characteristic (Single Characteristic)
??


Part 4: Relatinship types

9.2.2.1	control (Floating Embedded Control)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/control 

10.3.1.1	legacyDrawing (Legacy Drawing Reference)
??

10.3.1.2	legacyDrawingHF (Legacy Drawing Reference in  Header Footer)
??

11.2.1.1	htmlPubPr (HTML Publishing Properties)
??

13.1.2.1	legacyDrawingHF (Legacy Drawing for Headers and Footers)
??

14.1.2.5	fill (Shape Fill Properties)
id (Relationship to Part)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image
relid (Relationship to Part)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image

14.1.2.11	imagedata (Image Data)
href (Explicit Relationship to Hyperlink Target)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image
id (Explicit Relationship to Image Data)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image
pict (Explicit Relationship to Alternate Image Data)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image
relid (Relationship to Part)
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image

14.1.2.21	stroke (Line Stroke Settings)
@id
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image
@relid
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image

14.2.2.20	OLEObject (Embedded OLE Object)
??

14.2.2.24	rel (Diagram Relationship)
idcntr (Diagram Relationship Center Shape)
??
iddest (Diagram Relationship Destination Shape)
??
idsrc (Diagram Relationship Source Shape)
??


Cheers,
Makoto


More information about the sc34wg4 mailing list