SAX: ModSAX addition, general property query

John Wilson tug at
Tue Mar 9 21:24:42 GMT 1999

----- Original Message -----
From: David Megginson <david at>
To: XML Developers' List <xml-dev at>
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

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list