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

Re: More namespaces perversion

  • From: rbourret@d... (Ron Bourret)
  • To: xml-dev@i...
  • Date: Thu, 8 Oct 1998 21:06:16 +0200

Re: More namespaces perversion
> [David Brownell]:
> >A draft I wrote up a while ago defined such bindings in XML syntax
> >something like this ... 
> >
> > [bindings snipped]
> 
> [Peter Murray-Rust]:
> This looks as if it should map trivially into XSchema (Ron, Simon???)
> XSchema comes out this week, I think - I'm not suggesting it should be
> altered to fit this - more that this - along with help could be the first use.

This sort of information would easily fit in an XSchema file, currently under 
the More element, although in a later version it would probably get and element 
of its own, either for inclusion under an ElementDecl or possibly free-floating 
under XSchema (I'll have to think about that one).

However, somebody (Bill LaForge?) thought that this stuff probably shouldn't go 
in the schema file, as it is application-specific, not schema specific.  That 
is, while you would presumably have a single schema for a given document class, 
you would probably have multiple bindings.  (Please correct me if I've gotten 
this wrong.)

Of course, there's nothing to stop you from naming bindings and keeping multiple 
different binding sets in a single schema file, but at some point I have to 
wonder why you need the schema information at all.  Does an application that 
uses element bindings also need the other schema information, such as content 
model and attributes?  It strikes me that the application generating the 
bindings is more likely to need schema information than an application using the 
bindings.

> [David Brownell]:
> >That sketch omits two important features:  (a) importing bindngs
> >defined for other namespaces, (b) document-specific bindings, such
> >as for the "default" namespace or embedded in a document.

I suspect the import problems could be solved by the general XSchema scheme of 
using XLink to import stuff from other files.  Document-specific bindings could 
be handled by associating the appropriate XSchema file with the document through 
an XSchema PI.  (I might be missing exactly what is meant by document-specific 
bindings here.)

-- Ron Bourret

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.