OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-metadata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [office-metadata] fields clarification




Bruce D'Arcus wrote:
> For discussion today on the fields:
> ...
> 2) where does 1 get encoded, and how? Right now, it's inconsistent. A 
> simple case of one reference gets encoded in content, anything more 
> than one (like *some* citations) gets encoded exclusively in RDF/XML. 
> I hate that kind of inconsistency.
>
> One solution (favored by Stante) is to allow fields to be nested. E.g.:
>
> <text:meta-field field:type="http://odf.org/Citation";>
> (
>   <text:meta-field meta:about="urn:isbn:34879823">Doe 
> 1999</text:meta-field>,
>   <text:meta-field 
> text:field-style="http://ex.net/short";>2001</text:meta-field>
> )
> </text:meta-field>
In case citation would not be part of the office functionality and would 
have it's own ODF elements/attributes, I would actually something like:

<text:meta-field xml:id="someID">
(
  <text:meta-field meta:about="urn:isbn:34879823" 
meta:property="http://odf.org/Citation#long>Doe 1999</text:meta-field>,
  <text:meta-field meta:about="urn:isbn:34898789  
meta:property="http://odf.org/Citation#short>2001</text:meta-field>
)
</text:meta-field>

I like the simplicity and generic way..
Svante


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]