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

Re: A multi-step approach on defining object-orientednatureof


Re:  A multi-step approach on defining object-orientednatureof
Rich Salz <rsalz@d...> wrote:

|> Namespaces should never have been scoped. That's a big part of what
|> drove the implementation complexity up to such a large degree.
| 
| But it's conceptually much cleaner. 

s/much/somewhat/ and then only maybe.

| Who likes pascal style variable declarations at the top, isntead of 
| local scope rules?

Even if it's easy to analogise element hierarchies into "block structure"
there is no such thing as "local scope rules" without a lot of ancillary
machinery.  The reality is that scopes are nested, and resolution is
always with respect to the innermost defining block, not the immediately
"local" block.  This implies that a proper resolution mechanism will have
to maintain a stack of scoped definitions, which is where the complexity
comes in.
 
| It also makes component software easier, since I can just locally use a 
| "ds" prefix to indicate XML DSIG, without having to globally coordinate 
| with every part of a program working on a document.

What if this prefix is already "taken" by an "outer block"?  (Joe Engish's
typology of "neurosis" and "psychosis" comes to mind.)


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.