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

Re: org.xml.sax.ContentHandler conflicts withjava.net.ContentHandler

  • From: Elliotte Rusty Harold <elharo@m...>
  • To: David Brownell <david-b@p...>
  • Date: Tue, 29 Feb 2000 09:35:56 -0500

org.xml.sax.contenthandler
At 7:49 PM -0800 2/28/00, David Brownell wrote:
>
>
>Actually ... I'm more concerned about such basic names as "Reader"
>than I am about "ContentHandler", which is a bit on the exotic side
>for most purposes.
>

This particular conflict will come up any time somebody does

import java.net.*;

They don't need to be using ContentHandler specifically. Most 
programmers will simply mutter a curse or two and fix it in fifteen 
seconds like I did, but that's still a lot of wasted time. However, 
students and other less experienced programmers may well waste a lot 
of time on this problem. I'd rather that time was not lost.

>It's expected that names will conflict, that's why they're put into
>different packages.

It's expected that names from different vendors who do not 
communicate with each other will conflict when combined in a third 
party's class path. It's not really expected that third party names 
will conflict with names from the class library that everyone knows 
about in advance. Java does let us handle this case, but wouldn't it 
be simpler to avoid the problem in the first place?


+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|                  The XML Bible (IDG Books, 1999)                   |
|              http://metalab.unc.edu/xml/books/bible/               |
|   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
+----------------------------------+---------------------------------+

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/threads.html
***************************************************************************

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-2011 All Rights Reserved.