S Page wrote:
> (I switched follow-ups to semediawiki-devel as we're slinging code :-)_
> 
>  > the type pages is:
>  > ...
>  > [[Enum mapping:=Trivial=2]]
>  > [[Enum mapping:=Enhancement=1]]
> 
> That's an interesting alternative approach to my
>   [[possible values:=Enhancement,Trivial,...]]
> Yours is more complex for users who may not care to pick offsets, but it 
> is less likely to run into string length limits.
> Maybe a middle way to is to make the number in [[Enum mapping]] optional.

yep

> 
> It's interesting that you are saying enums are an integer with a string 
> appearance and I'm saying an enum is a string with a numeric value.  I 

i think we're both saying the same thing - the numbers are saved in the db, not 
the strings

> haven't had time to compare both versions (I'm starting to see why 
> developers like a local repository and git features).
> 
> I did notice:
>>        function getXSDType() {
>>                return 'http://www.w3.org/2001/XMLSchema#' . 
>> $this->typeid;
>>        }
> 
> The user-defined typeid is not going to be one of the XML Schema 
> Description datatypes.  Check the RDF Export of a page, I think you 
> should export the string appearance and identify it as a XMLSchema#string.

i think my XSD value is integer. i'd like to export as string, but i don't 
think the separation of db value and xsd value is supported.

> 
> 
> Warmest regards,
> -- 
> =S Page
> 


-- 
===================================
Ittay Dror, 
Chief architect, 
R&D, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

www.openqrm.org - Data Center Provisioning

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to