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

RE: RDDL and XML element behaviors was: Re: RDDL (was RE: [xml


element is not bound
Using the namespace to change the interpretation logic is an old trick ;
RDDL allows to add a level of indirection. In that sense RDDL does perfectly
matches the need of a Namespace Description Language (well, letting the
human-readable documentation quirks aside).

But there are cases in which you don't want to handle each namespace
independently, but consider a document mixing namespaces as a whole, not as
a patchwork of elements from various namespaces.

Validating a RDDL document implies using the RDDL DTD, which integrates tags
from different namespaces, right ? I can validate a RDDL document with its
DTD, because the DTD location is specified in the DOCTYPE. If I want to
validate it using, say, the RELAX NG schema that you provide, I can't find a
way to automatically fetch the RDDL document for a RDDL document and get the
resource with the 'http://www.xml.gr.jp/xmlns/relaxNamespace' role, because
RDDL are found at namespace URLs, but my RDDL document is not bound
specifically to the RDDL namespace.

That's why I suggest to split the spec in two : one spec trying to answer
the 'riddle' (I got it, now :) "what's at the end of a namespace URL", and
another trying to solve the serious problem of a generic way to associate
meta-data to XML document without making them crowded with DOCTYPE,
xsi:schemaLocation, stylesheet PIS (which are a bad idea, BTW) and other
corny stuff.

Regards,
Nicolas

>-----Message d'origine-----
>De : Jonathan Borden [mailto:jborden@m...]
>Envoyé : vendredi 18 janvier 2002 17:04
>À : Nicolas LEHUEN; 'Elliotte Rusty Harold'; 'Paul T'; 'Bullard, Claude
>L (Len)'; 'Leigh Dodds'; xml-dev@l...
>Objet : RDDL and XML element behaviors was: Re:  RDDL (was RE:
> Negotiate Out The Noise)
>
>
>Nicolas LEHUEN wrote:
>
>>
>> How do you handle the case of, say, a RDDL document, which 
>contains mixed
>> namespaces from XHTML, RDDL itself and XLink ? How could XSV 
>fetch the
>RDDL
>> document for the RDDL document ? Please describe me the algorithm.
>>
>
>A couple of points, RDDL _might_ be used in cases where an
>"xsi:schemaLocation" attribute might be present but isn't, and 
>it is desired
>to locate a schema.
>
>Mixing namespaces: Suppose an XHTML _renderer_ hits some SVG 
>or MathML in a
>document. Suppose that the creators of the SVG and MathML 
>namespaces want to
>support all of the IE, Netscape, Java based etc. renderers. An XLink
>pointing to the location of each of the renderers for each of 
>the platforms
>(i.e. plugins) is placed in the RDDL for the respective namespaces. The
>renderer/client might then be able to locate some software capable of
>displaying elements in the namespace.
>
>Microsoft already has a solution to this problem: namespace associated
>behaviors. It is an excellent solution except that it is 
>specific to the IE
>browser. RDDL is _a_ way to allow the designer/creator of the 
>namespace to
>support multiple platforms if so desired i.e. a platform neutral way to
>associate 'behaviors' with namespace qualified XML elements.
>
>Jonathan
>

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.