[Home] [By Thread] [By Date] [Recent Entries]
----- Original Message ----- From: David Megginson <david@m...> To: XML Developers' List <xml-dev@i...> 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@w... xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... 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@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|

Cart



