[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: xml-dev <xml-dev@l...>
  • Date: Thu, 23 Aug 2001 16:19:48 +0100

attribute type sax schema
> > 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.
> 
> Maybe you do not use attributes, but if you do, do you have problems
> comprehending them because typically they are not in a namespace? Why are
> local element types different?
> 
I do use attributes - the difference is simply complexity. An
attribute's type is determined by its context, which is always its
parent. Local elements can be layered all the way up to a single global
root element. If you have n layers of local elements above an element
whose type you are tying to determine, you have n possible determining
contexts, of which n-1 are themselves of indeterminate type. 

In other words attributes are self-evident, but  local elements require
either schema-aware tools, schema coding standards or possibly both.

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.