(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.

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 
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.


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

Reply via email to