[Versa] Issue 1, better literal and datatype support

Michael Olson Mike.Olson at fourthought.com
Fri Aug 12 00:43:16 MDT 2005


I'd like to propose adding better literal and data type support to  
Versa.  I don't think we need to do too much to the spec itself to  
support this.  One thing we need is a literal data type.  This would be  
a representation of a plain (with or without language) or typed  
literal.  I think we leave hard issues like comparison and sorting  
between typed literals to the underlying model.  If the model support  
D-entailment then it can properly compare "01"^^xsd:int and  
"1"^^xsd:int.  If it doesn't....

Besides the addition of the literal datatype, I think all that is  
needed is to determine how the conversions work (should be pretty  
straight forward) and some functions.  ie. it would be nice to filter  
on language and/or datatype in a traversal.

One last thing, we would need to allow these literals as "subjects" in  
traversals.  This does not mean much from the specification point of  
view, maybe just a mention, but implementors will need to understand  
this.

Mike



------------------------------------------------------------------------ 
-----------------
Mike Olson                                                Principal  
Consultant
mike.olson at fourthought.com                +1 720 253 4662
Fourthought, Inc.                                       
http://Fourthought.com
PO Box 270590,                                       http://4Suite.org
Louisville, CO 80027-5009, USA
XML strategy, XML tools, knowledge management




More information about the Versa mailing list