OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX: ModSAX addition, general property query

[ Lists Home | Date Index | Thread Index ]
  • From: "John Wilson" <tug@wilson.co.uk>
  • To: "XML Developers' List" <xml-dev@ic.ac.uk>
  • Date: Tue, 9 Mar 1999 21:23:57 -0000


----- Original Message -----
From: David Megginson <david@megginson.com>
To: XML Developers' List <xml-dev@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@wilson.co.uk



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS