[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
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|