Lists Home |
Date Index |
- From: "John Wilson" <firstname.lastname@example.org>
- To: "XML Developers' List" <email@example.com>
- Date: Tue, 9 Mar 1999 21:23:57 -0000
----- Original Message -----
From: David Megginson <firstname.lastname@example.org>
To: XML Developers' List <email@example.com>
Sent: 09 March 1999 20:16
Subject: Re: SAX: ModSAX addition, general property query
>John Wilson writes:
> > Testing the type at run time is a tivial operation in Java
>... but not in other programming languages.
> > so I'm not sure why you say that we wouldn't want to rely on
> > descovering the class at run time.
>In the end, you're doing the equivalent of testing for a string anyway
>-- you're just letting the Java class name serve as the unique ID. I
>don't see the advantage of forcing the users to get the unique ID
>through a circuitous route.
You are testing for a value. Testing for a String, a Class or an int are, at
that level, equivalent The issue is: how do you chose the value? It so
happens that Java provides a natural way for us to create a unique value.
Other languages provide other ways of creating the unique value.
The Wilson Partnership
5 Market Hill, Whitchurch, Aylesbury, Bucks HP22 4JB, UK
+44 1296 641072, +44 976 611010(mobile), +44 1296 641874(fax)
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)