[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] meta data proposal: <text:meta> vs. <text:meta-field>,etc.
Michael Brauer - Sun Germany - ham02 - Hamburg wrote: > Hi, > > I'm currently preparing a schema that contains the schema fragments for > the proposals we approved since draft6. > > While doing so, I found the following definition in the metadata proposal: > > <define name="text-meta-attlist" combine="interleave"> > <optional> > <ref name="xml-id"> > </optional> > </define> > > It seems it shall attach an xml:id attribute to an <text:meta> element, > but there is no such element. There is only a <text:meta-field> element. > > I'm further wondering whether the following two definitions are > intended:grahicalgrahical > > <define name="draw-a-attlist" combine="interleave"> > <optional> > <ref name="xml-id"> > </optional> > </define> > > <define name="draw-image-attlist" combine="interleave"> > <optional> > <ref name="xml-id"> > </optional> > </define> > > The <draw:a> element always contains a drawing shape, which itself has > an xml:id attribute. So, allowing an xml:id for the <draw:a> means that > one can assign different metadata to the hyperlink that is bound to a > drawing shape than to shape itself. > > A similar situation exist for <draw:image>. It is always included in a > <draw:frame>, which gets an xml:id, too. The same situation exists for the <text:numbered-paragraph> element. It gets an xml:id attribute although it only contains a <text:p> or <text:h> element that itself gets an xml:id attribute. > > Michael > > -- Michael Brauer, Technical Architect Software Engineering StarOffice/OpenOffice.org Sun Microsystems GmbH Nagelsweg 55 D-20097 Hamburg, Germany michael.brauer@sun.com http://sun.com/staroffice +49 40 23646 500 http://blogs.sun.com/GullFOSS Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht Muenchen: HRB 161028 Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer Vorsitzender des Aufsichtsrates: Martin Haering
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]