> recently i noticed that in our wiki the data types are broken,

All or some?

> but i 
> found a similar case also at http://ontoworld.org/wiki/Type:Vector. Even 
> though the Type is defined (at least on the wiki page), it gives the 
> smw_unknowntype error.

SMW has built-in types that must be registered and implemented by PHP 
code but do not need a wiki page.  It also allows user-defined types 
like http://ontoworld.org/wiki/Type:Mass that must have a wiki page that 
specifies conversion factors for floating point values (the 
[[corresponds to:=2.204622 lb, lbs, pounds]] special properties). 
Anything else is an error, including proposals on ontoworld.org like 
Type:Vector.

> In general, the Types should be definded in 
> SMW_Datatypes.php and are processed over the TypeHandler at the 
> addRelation or addAttribute routine, right? Does anyone have an idea 
> where to dig for a solution?

What does Special:Types show?  If you add an attribute using one of the 
built-in types does it work?

--
=S Page

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to