Hi Carl,
Thanks for your quick reply.
Would you be kind enough to let me know how such situations shall be handled
?
For the sake of interoperability, I aggree that we shall all stick to the
recommendations. These recommendations shall propose a structure which
enforces the controlled usage of the DCMI, and propose "best practices" to
handle not so straight-forward cases.
In my example, shall we replace :
<dcmi:relation qualifier="isPartOf"
positionInBatch="12">Batch55</dcmi:relation>
with something like
<dcmi:relation qualifier="isPartOf">Batch55</dcmi:relation>
<meta:relation qualifier="positionInBatch">12</meta:relation>
where meta would be a self-defined set of elements that will be required to
further specify meta data in the context of a specific project ?
Thanks in advance,
Régis
-----Original Message-----
From: Carl Lagoze [mailto:[log in to unmask]]
Sent: vendredi, 12. juillet 2002 12:44
To: [log in to unmask]
Subject: Re: Mixing dc qualifier with other namespace's qualifier
allowed ?
Hi:
There is currently no DCMI recommended XML schema for qualified Dublin Core.
A group (of which I am a part) is finalizing a recommendation in this are,
which will be released for discussion in the next couple of weeks.
The XML snips you have included below does not conform to this schema.
Furthermore, the proposed schema does not accommodate the notion of
additional attributes that you use in your examples. While it indeed may be
useful for individual communities to employ such additions, easy
interoperability amongst parties relies on reasonably strict common
languages (defined by schema). This is not easy if each communicating party
mixes in elements are attributes that are unique to their application.
Carl
> -----Original Message-----
> From: Piccand Régis [mailto:[log in to unmask]]
> Sent: Friday, July 12, 2002 5:25 AM
> To: [log in to unmask]
> Subject: Mixing dc qualifier with other namespace's qualifier
> allowed ?
>
>
> Hello all,
>
> I usually use my own DCMI XML schema, which contains dc
> qualifiers, to assign metadata to electronic documents.
>
> Here is an abstract :
>
> <dcmi:relation qualifier="isPartOf">Batch55</dcmi:relation>
>
> The namespace I used up-to-now is "dcmi" and points to "our"
> URI ; we will consider shortly revising this to stick to the
> actual recommendation, but it we are not yet ready for this.
>
> I am now facing a case where I'd like to add a new attribute,
> say "positionInBatch" to the dcmi:relation element which would give :
>
> <dcmi:relation qualifier="isPartOf"
> positionInBatch="12">Batch55</dcmi:relation>
>
> To achieve this, I have created a new schema which declares
> the simple type for "positionInBatch", and imported it in my
> usual DCMI schema, with its own namespace ("dcmieav" in the
> example below).
>
> The relation element is declared in the dcmi schema which
> targetnamespace is "dcmi" and looks now like follows :
>
> <xs:element name="relation">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="Relation">
> <xs:attribute name="positionInBatch"
> type="dcmieav:PositionInBatch"/>
> </xs:extension>
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
>
> <xs:complexType name="Relation">
> <xs:simpleContent>
> <xs:extension base="xs:string">
> <xs:attribute name="qualifier" type="QualifRelation"
> use="optional"/>
> </xs:extension>
> </xs:simpleContent>
> </xs:complexType>
>
>
> <xs:simpleType name="QualifRelation">
> <xs:restriction base="xs:string">
> <xs:enumeration value="isVersionOf"/>
> <xs:enumeration value="hasVersion"/>
> <xs:enumeration value="isReplacedBy"/>
> <xs:enumeration value="replaces"/>
> <xs:enumeration value="isRequiredBy"/>
> <xs:enumeration value="requires"/>
> <xs:enumeration value="isPartOf"/>
> <xs:enumeration value="hasPart"/>
> <xs:enumeration value="isReferencedBy"/>
> <xs:enumeration value="references"/>
> <xs:enumeration value="isFormatOf"/>
> <xs:enumeration value="hasFormat"/>
> </xs:restriction>
> </xs:simpleType>
>
> In my instance document, where the DCMI schema is imported, I
> can legally have :
>
> <dcmi:relation qualifier="isPartOf"
> positionInBatch="12">Batch55</dcmi:relation>
>
> where "qualifier" is of a DCMI namespace and
> "positionInBatch" is originally from a "dcmieav" namespace.
> However, is this "legal" in a DCMI point-of-view ? Is the
> mixing of attributes from namespace other than DCMI allowed ?
> Thanks in advance for any help or pointers, Régis Piccand
>
|