[xml-dev] Re: Flexible Schemas (was RE: [xml-dev] The task to be solved by RDDL)

From
Elliotte Rusty Harold <>
To
Date
2002-01-19T21:28:13Z
ID
<p04330100b86f94943d5e@[192.168.254.4]>
Thread
[xml-dev] Re: Flexible Schemas (was RE: [xml-dev] The task to be solved by RDDL)
At 1:55 PM +0100 1/19/02, Nicolas Lehuen wrote:


>As I've said three of four times now, show me the algorithm that will find
>the URL of the RDDL document for this document : http://www.rddl.org/. This
>is a FONDAMENTAL problem with RDDL.


Ummm, load http://www.rddl.org?

If that's too simple, here's a two-step algorithm:

1. Parse the document at http://www.rddl.org/ to find all namespace 
URIs used in that document.
2. Load each one.

You do realize that the document at http://www.rddl.org/ is the RDDL 
document for the http://www.rddl.org/ namespace, right?

Your terminology is a little off, which is why I ask. There is no 
such thing as a RDDL document for any document, only RDDL documents 
for namespace URIs which may be used in various documents.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold |  | 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/     |
+----------------------------------+---------------------------------+