From: Jamie N. <ja...@ar...> - 2011-01-26 04:16:24
|
I'm currently working on a TMAPI implementation in Django, and have discovered a few issues in the tests provided in the distribution. One of these is the testing of the feature http://tmapi.org/features/type-instance-associations which unfortunately does not appear to exist. Is this a blessed TMAPI feature that isn't documented, or a defunct feature that should no longer be part of the tests? Jamie |
From: Benjamin B. <bb-...@bo...> - 2011-01-27 00:13:49
|
Hi Jamie, it's a blessed feature which should really be documented better. Most engines default to "true" here for performance reasons. For the record: * http://www.tmapi.org/features/ is outdated. * http://tinytim.svn.sourceforge.net/viewvc/tinytim/tinytim/trunk/src/main/java/org/tinytim/utils/Feature.java?revision=359&view=markup shows the features currently supported by TinyTiM. * http://docs.topicmapslab.de/majortom/#_majortom_api_feature_string - Feature-Strings in MaJorToM Documentation * http://code.google.com/p/majortom/source/browse/majortom-core/src/main/java/de/topicmapslab/majortom/util/FeatureStrings.java - Feature-Strings in MaJorToM Source Please note that only those which start with "http://tmapi.org/features/" are the blessed ones. - Benjamin PS: You may want to look at PHPTMAPI (http://phptmapi.sourceforge.net/). It received an update recently and may be better documented - I didn't check. PPS: Some Topic Mappers tend to use TMQL instead of TMAPI nowadays. However, TMQL's standardization is still in flux. There's an Open Source implementation in Java here http://code.google.com/p/tmql/ which features two versions of the standard, 2008 and 2010. The 2008 version (currently found here: http://isotopicmaps.org/tmql/tmql.html) is more complete and the 2010 version is closer aligned to the TMDM. The above-referenced Java project has some additions like UPDATE-statements etc. On Wed, Jan 26, 2011 at 5:00 AM, Jamie Norrish <ja...@ar...> wrote: > I'm currently working on a TMAPI implementation in Django, and have > discovered a few issues in the tests provided in the distribution. One > of these is the testing of the feature > http://tmapi.org/features/type-instance-associations which unfortunately > does not appear to exist. Is this a blessed TMAPI feature that isn't > documented, or a defunct feature that should no longer be part of the > tests? > > Jamie > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Tmapi-discuss mailing list > Tma...@li... > https://lists.sourceforge.net/lists/listinfo/tmapi-discuss > > |
From: Jamie N. <ja...@ar...> - 2011-01-27 05:07:58
|
Hi Benjamin, > * http://www.tmapi.org/features/ is outdated. Does this mean that it is no longer true, as stated on that page, that all of the feature strings listed there must be at least recognised by an implementation? I've been taking a look at the Quaax PHPTMAPI implementation, as being slightly closer to Python than Java - between the tests in the TMAPI distribution, the TMDM, the API docs, and this implementation, I think I've got everything covered. I've noticed that some parts of the API are missing full test coverage of their expected behaviour. Would it be useful to send through a list of these? I've written Python tests for a couple of these gaps, which I could easily convert to Java code if that would be helpful. > PPS: Some Topic Mappers tend to use TMQL instead of TMAPI nowadays. > However, TMQL's standardization is still in flux. There's an Open > Source implementation in Java here http://code.google.com/p/tmql/ > which features two versions of the standard, 2008 and 2010. The 2008 > version (currently found here: http://isotopicmaps.org/tmql/tmql.html) > is more complete and the 2010 version is closer aligned to the TMDM. > The above-referenced Java project has some additions like > UPDATE-statements etc. Given that TMQL is, as you say, still in flux, I'm going to stick with TMAPI for a while yet. My implementation is also mostly complete, as far as the core goes. Jamie |
From: Johannes S. <top...@fr...> - 2011-01-27 06:59:31
|
Hi Jamie, we had a discussion and a vote on the feature strings in 2009 [1] (pls. scroll down). Makes the status quo a bit clearer. Best regards, Johannes [1] http://sourceforge.net/mailarchive/forum.php?thread_name=EF63977B-4D71-4F04-950D-997F0468811E%40garshol.priv.no&forum_name=tmapi-discuss Am 27.01.2011 04:56, schrieb Jamie Norrish: > Hi Benjamin, > >> * http://www.tmapi.org/features/ is outdated. > Does this mean that it is no longer true, as stated on that page, that > all of the feature strings listed there must be at least recognised by > an implementation? > > I've been taking a look at the Quaax PHPTMAPI implementation, as being > slightly closer to Python than Java - between the tests in the TMAPI > distribution, the TMDM, the API docs, and this implementation, I think > I've got everything covered. > > I've noticed that some parts of the API are missing full test coverage > of their expected behaviour. Would it be useful to send through a list > of these? I've written Python tests for a couple of these gaps, which I > could easily convert to Java code if that would be helpful. > >> PPS: Some Topic Mappers tend to use TMQL instead of TMAPI nowadays. >> However, TMQL's standardization is still in flux. There's an Open >> Source implementation in Java here http://code.google.com/p/tmql/ >> which features two versions of the standard, 2008 and 2010. The 2008 >> version (currently found here: http://isotopicmaps.org/tmql/tmql.html) >> is more complete and the 2010 version is closer aligned to the TMDM. >> The above-referenced Java project has some additions like >> UPDATE-statements etc. > Given that TMQL is, as you say, still in flux, I'm going to stick with > TMAPI for a while yet. My implementation is also mostly complete, as far > as the core goes. > > Jamie > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > _______________________________________________ > Tmapi-discuss mailing list > Tma...@li... > https://lists.sourceforge.net/lists/listinfo/tmapi-discuss |