--On 24/04/2002 6:51 -0400 Weibel,Stu wrote:
> DCMI and OAI are pleased to announce an XML schema for unqualified DC
> metadata that facilitates the declaration of modular metadata components.
There is a small but significant error in this XML Schema.
No "root" element has been defined, and as the 15 DC elements
can only accept string values, you can only have one element
in your DC metadata instance.
(This has been verified using XML Spy V4.3.)
A new root/parent element, such as <dc-record> should be added.
For example:
<xs:element name="dc-record">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="title"/>
<xs:element ref="creator"/>
...
<xs:element ref="coverage"/>
<xs:element ref="rights"/>
</xs:choice>
</xs:complexType>
</xs:element>
Also, there is a Group defined in the XML Schema (elementsGroup)
but is not used anywhere.
I noticed the use of the xml:lang attribute for all elements.
Did you consider adding an "encoding" attribute to support
the specification of encoding schemes (eg URI, W3CDTF, RFC1766)?
DCMES V1.1 mentions a few of these as "recommended best practice".
If so, you can simply add:
<xs:attribute name="encoding" type="xs:string" "use="optional"/>
to the "elementType" complex type.
Cheers...Renato <http://purl.net/renato>
Chief Scientist, IPR Systems Pty Ltd <http://iprsystems.com>
Open Digital Rights Language (ODRL) <http://odrl.net>
|