[MarkLogic Dev General] changes in RecordLoader 2008-05-30.1

Michael Blakeley michael.blakeley at marklogic.com
Fri May 30 11:57:35 PDT 2008


Normally I don't announce new releases of RecordLoader, but 2008-05-30.1 
contains a change that may affect current users the CONTENT_MODULE_URI 
feature.

   http://developer.marklogic.com/svn/recordloader/releases/

   http://developer.marklogic.com/svn/recordloader/trunk/README.html

These changes are documented in the README: in essence, if you are using 
the 
CONTENT_FACTORY_CLASSNAME=com.marklogic.recordloader.xcc.XccModuleContentFactory 
  and CONTENT_MODULE_URI features, you will have to add two new external 
variables to your content module(s):

   define variable $NAMESPACE as xs:string external
   define variable $LANGUAGE as xs:string external

If you upgrade to RecordLoader 2008-05-30.1 or later, and do not make 
this change, RecordLoader will throw XQueryException with the code 
"XDMP-UNDVAR".

The README now includes a full example of a simple content module, 
demonstrating how the external variables might be used to insert a new 
document.

If you haven't tried RecordLoader, and want to find out more, I 
recommend starting with the tutorial: 
http://developer.marklogic.com/howto/tutorials/2006-06-recordloader.xqy

-- Mike


More information about the General mailing list