W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

RE: Help wanted with XML Schema for Dublin Core in RDF/XML

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Tue, 8 Jan 2002 11:53:38 -0500
To: "'Dave Beckett'" <dave.beckett@bristol.ac.uk>, <xmlschema-dev@w3.org>
Message-ID: <002901c19865$1e6a0cf0$388ace0a@vitria.ad.vitriacorp.com>
Hi Dave,

You've also got another issue with your schema.  You can't use a namespace
prefix in the "name" attribute of an element declaration.  The element
declaration will automatically use the target namespace of the schema
document.  So, for example,

<element name="rdf:RDF".....

is not valid.  In your case, since you are declaring elements in two
namespaces, you need to have two schema documents, one for the rdf namespace
and one for the dc namespace, with one importing the other.

Another nit is that I don't see the "dc" prefix declared anywhere in the
schema document.

Hope that helps,
Priscilla

------------------------------------------------------------------
Priscilla Walmsley                          priscilla@walmsley.com
Vitria Technology                            http://www.vitria.com
Author, Definitive XML Schema                  (Prentice Hall PTR)
------------------------------------------------------------------

> -----Original Message-----
> From: xmlschema-dev-request@w3.org
> [mailto:xmlschema-dev-request@w3.org]On Behalf Of Dave Beckett
> Sent: Tuesday, January 08, 2002 10:46 AM
> To: xmlschema-dev@w3.org
> Subject: Help wanted with XML Schema for Dublin Core in RDF/XML
>
>
>
> I'm the editor of
>   Expressing Simple Dublin Core in RDF/XML
>   http://dublincore.org/documents/dcmes-xml/
>
> which is a draft document for the Dublin Core Metadata Initiative
> The latest version 2001-11-28 is at
>   http://dublincore.org/documents/2001/11/28/dcmes-xml/
>
> In earlier versions I added an XML Schema to an appendix, to go along
> with & derived from the DTD.  We've received various feedback on
> these schemas during the process, but I'm no expert on XSD.  The
> latest suggestions we got on the 2001-11-28 schema are particularly
> difficult for me to answer:
>
>   Remove the <import>s of http://www.w3.org/XML/1998/namespace and
>   http://www.w3.org/2000/10/XMLSchema as they aren't required - "over
>   the top" and may cause performance problems with tools.
>     -- I thought these were required for validation
>
>   Revert the schema to the older one, without the any and
>     anyAttribute stuff
>
> I really don't know how to evaluate these or fix other problems that
> may be there in the schema.  Any help would be appreciated
>
> Thanks
>
> Dave
>
> --------
>
> History of versions - newest to oldest
>
> Version of 2001-11-28
>   using http://www.w3.org/2001/XMLSchema
>
>
http://dublincore.org/documents/2001/11/28/dcmes-xml/dcmes-xml-xsd.xsd

    -- changed to a different version to allow more easy reuse, refining
    -- made informational (non-normative) after feedback

Version of 2001-09-20
  using http://www.w3.org/2001/XMLSchema
  passed W3C XSV 1.203/1.106 of 2001/09/03 as of 2001-09-20.

    http://dublincore.org/documents/2001/09/20/dcmes-xml/dcmes-xml-xsd.xsd

    -- updated to use the XSD REC

Version of 2001-04-11
  using http://www.w3.org/2000/10/XMLSchema.dtd
  passed W3C XSV validator for XML Schema 20000922 version as of 2001-03-14

    http://dublincore.org/documents/2001/04/11/dcmes-xml/dcmes-xml-xsd.xsd

    -- original version, a conversion from the DTD
Received on Tuesday, 8 January 2002 11:54:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT