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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Strong versus (weak|runtime) typing

[ Lists Home | Date Index | Thread Index ]

Dare Obasanjo writes:

 > As for what this argument has to do with the XML arguments on
 > strong vs.  weak typing I'd assumed it was obvious. The people who
 > process XML with strongly typed languages (e.g. Java & C# folks)
 > are all about strongly typed XML while those who process it with
 > weakly typed languages (Perl & Python folks) are for weak typing in
 > XML. Or at least that has been the case in the XML-DEV discussions
 > I've seen.

I'm a big Java user, but from my work on FlightGear I've come to the
conclusion that units are more important than data types.  I don't
care too much if "7" is meant to be handled as a string, a short, an
int, a long, a float, or a double -- I'll do whatever makes sense for
my own program anyway -- but I care quite a bit whether it refers to
feet or meters.  In FlightGear, for now, we're simply dealing with
units through naming conventions (i.e. /position/altitude-ft), but
something more robust and machine-readable would be very nice.


All the best,


David

-- 
David Megginson, david@megginson.com, http://www.megginson.com/




 

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

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