Patent Document ID: 7516159
Application ID: 10914877

Base Claim:
1. A computer-implemented system for providing an extension of XQuery function interpretation through a binary object XML repository, comprising: a processor; a storage device configured to store computer executable program code; a binary object XML repository comprising a plurality of XQuery functions that each comprise an XQuery query with arguments; and an XQuery interpreter module configured to interpret each such XQuery function comprising values for the arguments, comprising: a function dispatcher module configured to evaluate the arguments of the XQuery function comprising a name of the XQuery function, an arity of the XQuery function, and datatypes of the arguments, and to locate code associated with the XQuery function comprising one of a built-in XQuery function, user-defined XQuery function, and a XQuery function module implemented in a plug-in library; and upon the XQuery function comprising the plug-in library XQuery function module, a plug-in function library manager configured to send values for the arguments and to execute the plug-in library XQuery function module within the plug-in library, wherein the XQuery interpreter module is configured to interrogate a plurality of plug-in libraries installed with the binary object XML repository to locate the plug-in library implementing the code associated with the XQuery function and to check a built-in table for the XQuery function comprising one of the built-in XQuery function and the user-defined XQuery function, and wherein the XQuery interpreter module is further configured to return results from execution of the plug-in library XQuery function module and the plug-in XQuery function library module is registered with the binary object XML repository through dynamic linking.

---

Claim 2:
2. The system according to claim 1 , wherein, upon the XQuery function comprising one of the built-in XQuery function and the user-defined XQuery function, the function dispatcher module is configured to execute the XQuery function with the values for the arguments, and the XQuery interpreter module is configured to return results from execution of the XQuery function.