SAX: ModSAX addition, general property query
John Wilson
tug at wilson.co.uk
Tue Mar 9 21:24:42 GMT 1999
----- Original Message -----
From: David Megginson <david at megginson.com>
To: XML Developers' List <xml-dev at ic.ac.uk>
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.
John Wilson
The Wilson Partnership
5 Market Hill, Whitchurch, Aylesbury, Bucks HP22 4JB, UK
+44 1296 641072, +44 976 611010(mobile), +44 1296 641874(fax)
Mailto: tug at wilson.co.uk
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list