[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The task to be solved by RDDL. Re: RDDL(was RE:


exxample.com
At 10:31 PM -0800 1/20/02, Paul Prescod wrote:
>Elliotte Rusty Harold wrote:


>The RDDL spec. says: 'An example of a "class of resources" is that
>defined by an XML Namespace.' but the XML Namespaces specification does
>not use the word "resource" (other than in URI). Much less does it
>discuss "classes of resources."
>

Now that I think about it a little more, I'm not absolutely sure a 
RDDL document shouldn't be used for document metadata, as opposed to 
namespace metadata. It just isn't used that way now. The RDDL spec is 
flexible enough to support that use. However, a new convention for 
associating RDDL documents with documents would be needed since we 
could no longer rely on just the unique RDDL document at each 
namespace URI.

>Consider an XSLT or SOAP document with embedded XHTML. You would not
>expect to validate this document by using a schema for the containing
>vocabulary and switching to a schema for the contained vocabulary
>mid-stream. That typically would not work because the container controls
>the interpretation of the contained data to such an extent that the
>schema may not fit anymore.

I'd argue that's a problem with the schema language and or specific 
schemas that were written without taking this into account, and has 
little to do with RDDL.

>  Or maybe there is a schema that is
>appropriate for validation in an XSLT or SOAP context -- but how would
>you find it in a RDDL document?
>

Easy:

<rddl:resource xlink:href="http://www.example.com/myappinsopa.xsd"
   xlink:role="http://www.w3.org/2001/XMLSchema"
   xlink:arcrole="http://www.exxample.com/purposes/soap-schema-validation"
/>


>In a closed system, I can set up RDDL's so that they have exactly the
>right set of schemas and stylesheet fragments to make all of my
>namespaces work together. Maybe I actually enhance the schemas and
>stylesheets provided by a namespace maintainer instead of using them out
>of the box. But if we all share schemas through RDDL URLs then the
>chances of the schemas working together are slim. And if the system is
>unreliable in general,


Please don't blame RDDL for the fragility of existing schema 
languages. RDDL can list all the schemas, and it can say which ones 
are used for what, but it can't make them cooperate if the schema 
designers don't want them to.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.