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

Re: Namespaces,W3C XML Schema (was Re: ANN: SAX FiltersforNamespaceProce

  • From: Francis Norton <francis@r...>
  • To: Elliotte Rusty Harold <elharo@m...>
  • Date: Thu, 23 Aug 2001 08:41:47 +0100

sax 2kb saxophone
Elliotte Rusty Harold wrote:
> 
> "Local types may be used to specify elements with the same name but
> different types in different content models. Use of this feature makes
> it simpler to write complex schemas which will be processed by
> schema-specific processors. However it may also make it harder to
> process the data with general purpose processors such as presentation or
> editing tools.
> 
> Why would local types make life harder for general purpose processors? If a presentation or editing tool is presented with a local restriction of a type, why can't it work with that? If it can't work with that, why can't it use an editor for the base type?

Hi, that was me. I may be misunderstanding your point - two
locally-typed elements in the same schema may have the same name but
totally different types, with no relationship by restriction to anything
in common, or at all (apart from our old friend the ur-type). 

But to illustrate what I was saying, take a general purpose processor -
me. Take the schema I'm currently working with for a retail finance
middleware application - around 450 complex types, 350 simple types (and
I'm sure that there are document-oriented systems of far greater
complexity than this). Using local types made schema design and
maintenance much simpler than if every element name in the schema had to
be uniquely typed. But it it also makes it harder for me to comprehend
correctly even the relatively small (1-2Kb) messages that we typcially
deal with.

Francis.

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.