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

RE: RDDL (was RE: Negotiate Out The Noise)


RE:  RDDL (was RE:  Negotiate Out The Noise)
On Fri, 2002-01-18 at 11:09, Nicolas LEHUEN wrote:
> A document type cannot be guessed from the list of namespaces it uses.

I don't really believe in such things as document types - though I
suppose you're correct that a mere list of namespaces is inadequate if
you really want to nail down precisely what type of document it might
be, since the list doesn't define the possible interactions.  Only the
document itself really does that...

> There
> should be a way to bind a document to a series of meta-data resources,
and
> that's what I thought RDDL should be.

I gave that a go once with XPDL:
http://www.simonstl.com/projects/xpdl/

There's also the XHTML meta tag and its cousins if you want to go that
route.

> But it is not, it is only a way to
> bind resources to a given namespace. If I followed your logic, to
validate a
> RDDL document using RDDL, I would load the RDDL for the XHTML, RDDL
and
> XLink namespaces. Now I don't have one, but three resources
directories in
> which I'm supposed to find a DTD. Great, I've got three : the DTD for
XHTML,
> the DTD for RDDL, and the DTD for XLink. How do I make my computer
select
> the good one, i.e. the RDDL DTD, instead of the two other (and
especially
> the XHTML one, since the root element html

That's not a problem of RDDL - that's a general validation issue. 
Schema mathematics (except for RELAX NG) are currently wretched.  I'd
like to see RDDL files contain modules which only describe their
particular namespace, not the entire concoction.  Using those is
currently difficult, however, so we're stuck with what we've got.

Incremental progress, not the perfect solution you appear to be seeking.

> xmlns="xmlns="http://www.w3.org/1999/xhtml" is found in both XHTML and
RDDL
> ?).

Yep.  That's the current sad state of the schema art.


> You bet it will ! As soon as someone will try to use RDDL for RDDL,
> XHTML+SVG, XHTML+MathML, people will begin to discover that a
namespace is
> not a document type, and that mixing different namespaces in the same
> document create new document types, different from each original
'default
> document types' possibly associated to the namespace. From there, they
will
> throw out RDDL and try to think seriously about the problem.

Nah.  Maybe they'll get rid of their expectations about schemas and/or
the whole fuzzy notion of document types instead.

It sounds like you want a complete solution.  I don't think there are
any complete solutions in XML, just a box of parts.  Change your
expectations, and you might be a lot happier.
 
-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com


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-2013 All Rights Reserved.