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

RE: Partyin' like it's 1999


RE:  Partyin' like it's 1999
Alessandro Triglia <sandro@m...> asks:

> > From: Hunsberger, Peter [mailto:Peter.Hunsberger@S...]
> > 
> > Bullard, Claude L (Len) <len.bullard@i...> asks:
> >  
> > > Ok.  Any parties interested in posting their favorite five
> > > bad problems with XML in order here?  I wonder what the 
> > > consensus is on the top two.  (XML, not XML apps like 
> > > XSD.)
> > 
> > 1) Namespaces
> > 2) Namespaces
> > 3) Namespaces
> > 4) Namespaces
> > 5) Namespaces
> 
> 
> When people complain about namespaces, do they mean that 
> namespaces should not exist at all?  Do they think they are 
> useless?  Or do they think they should be replaced by 
> something else?  Or do they have in mind some simple changes 
> to the syntax, such as using URI/localname pairs everywhere?
> 
> Alessandro

Good question. Conceptually I think there is a need for something like
name spaces.  I think the current implementation is painful.  Some of
the pain is at the Java API level.  Some of the pain is in every day
common use.

We initially divided some major portions of our system up with name
spaces.  When writing XSLT one of the first things we do in almost every
case is run a transform that strips out the namespaces so that you
subsequently don't have to worry about them. 

In practice they haven't bought us anything, yet. We may, someday
actually need to do some external interchange on some of the data that
includes name spaces, maybe then we'll benefit.  In the mean time they
just hurt us.  

Some might say that we got what we deserved by doing premature
optimization.  But given the way namespaces work you've got to make the
decision to use them at the architecture/design phase, not at the point
you actually have naming conflicts. Going back and retrofitting name
spaces into an architecture is perhaps even more painful than going back
and stripping them out.

Example, we've been testing a major release or our main app for about 2
months.  All major bugs have been quashed, we're so close to final
release we actually have a target date we feel good about.  Just
yesterday we had to extend a Java class so that we could handle yet
another corner case.  The underlying problem should have just resulted
in a simple substitution of class X with class Y, but nope, different
levels of element nesting combined with name spaces prevented that from
happening.


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.