README.htm DataDirect XQuery(R) Release 5.0 DataDirect Technologies October 2009 ************************************************************************************************************* Copyright (c) 2009 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved. ************************************************************************************************************* This README file contains additional information not included in the DataDirect XQuery documentation. CONTENTS Release 5.0 Features Installation DataDirect XQuery Notes Using the Online Documents DataDirect XQuery Files Third-Party Licensing Agreements -------------------- Release 5.0 Features -------------------- DataDirect XQuery 5.0 provides the following new features: - Support for the XQuery 1.1 specification, including - Positional grouping - Mechanism to specify default values for external variables - Support for JSR-000225 XQuery API for Java (XQJ) 1.0 Final Release - Support for querying XML Type columns in relational databases - Support for REST-based Web services, including - New built-in functions for all HTTP methods (GET, POST, PUT, DELETE, and others) - Encryption with the HTTPS (HTTP over SSL) protocol - Streaming HTTP response processing - Connection time-out settings - New built-in functions for formatting dates, numbers, and time: - ddtek:format-date() - ddtek:format-dateTime() - ddtek:format-number() - ddtek:format-time() - New built-in functions for analyzing EDI streams for errors and generating an analysis report that can be used to filter errors during conversion of the EDI data stream to XML: - ddtek:analyze-edi-from-string(), ddtek:analyze-edi-from-url() - ddtek:edi-to-xml-from-string(), ddtek:edi-to-xml-from-url() - New built-in function, ddtek:validate-and-report(), provides a complete XML Schema validation report - Support for SQL Server 2008 - Support for MySQL Enterprise 5.1 ------------ Installation ------------ Hard Disk Space Requirements ---------------------------- A complete installation of DataDirect XQuery, including online books in PDF format, requires approximately 42 MB of hard disk space. Note Regarding J2SE Installations --------------------------------- Standard installations of J2SE on some platforms do not include the jar file containing the extended encoding set that is required to support some of the less common database code pages. To verify whether your J2SE version provides extended code page support, check your J2SE installation for the following file: charsets.jar must be installed in the lib subdirectory of your J2SE installation directory. If you do not have the required file for your J2SE version, re-install J2SE, making sure that you install the international version of J2SE. Notes Regarding the Installation Process: * After you have started the installation process, a progress bar is displayed on the screen. If you choose to cancel the installation at this stage, files that have already been copied to your machine will not be removed. You must delete these files manually from the installation directory. * The DataDirect XQuery installer accepts multiple product keys. For details, refer to the DATADIRECT XQUERY INSTALLATION GUIDE (DDXQIG.PDF). ----------------------- DataDirect XQuery Notes ----------------------- The following are notes for Release 5.0 of DataDirect XQuery. Enabling Temporary Tables ------------------------- Temporary tables can be used only if the database configuration and authorization settings for the user allow temporary tables to be created and populated. This is enabled by default in a typical installation of Informix, Microsoft SQL Server, MySQL, Oracle, PostgreSQL, and Sybase. For DB2, make sure the user has the USE privilege on a previously created USER TEMPORARY tablespace. Refer to your DB2 documentation for details. Using DataDirect XQuery with a Java VM Started with the -server Option ---------------------------------------------------------------------- When using DataDirect XQuery with a Java VM that was started with the -server option, some XQuery expressions can crash the Java VM. This is caused by a Java bug that can occur with any supported JDK version and on different platforms. For information about workarounds for this issue, contact Technical Support. The Command Line Utility on z/OS -------------------------------- When running the command line utility on a z/OS system, you must explicitly set the encoding or the output will be unreadable. For example, you might have to set the output encoding as "!encoding=Cp1047". -------------------------- Using the Online Documents -------------------------- You can view the Online Documents with Adobe Reader. The books are an installable option for DataDirect XQuery. NOTE: To download Adobe Reader from the Web, visit http://www.adobe.com. ----------------------- DataDirect XQuery Files ----------------------- When you extract the contents of the datadirectxquery.jar file to your installer directory, the following files are extracted: 3rdPartySoftware.txt Third-Party License Restrictions ddxqj.jar File used to install DataDirect XQuery ExtensionTool.jar Tool for evaluation license extensions Fixes.txt File that lists fixes in this release installer.properties Support file for installer Readme.txt This file XQueryInstaller.jar File containing the installer When you install DataDirect XQuery, the installer copies the following directories and files to the product installation directory (as determined by the user), represented by INSTALL_DIR. To INSTALL_DIR/ --------------- 3rdPartySoftware.txt Third-Party License Restrictions Fixes.txt File that lists fixes in this release Readme.txt This file To INSTALL_DIR/books/ddxquery: ----------------------------- books.pdf Library file for Online Books INDEX.PDX Index file for Adobe Acrobat full-text search /INDEX/*.* Directory containing additional Adobe Acrobat index files /ddxqig/ddxqig.pdf DataDirect XQuery Installation Guide /ddxqug/ddxqug.pdf DataDirect XQuery User's Guide and Reference To INSTALL_DIR/examples: ------------------------ /Connect/*.* Files for the Connect example /CustomURIResolver/*.* Files for the CustomURIResolver example /DataLoader/*.* Files used to create and populate the sample database in the RDBMS /ExternalFunctions/*.* Files for the ExternalFunctions example /ExternalVariables/*.* Files for the ExternalVariables example /JNDIDataSource/*.* Files for the JNDIDataSource example /RDBMSUpdate/*.* Files for the RDBMSUpdate example /ResultRetrieval/*.* Files for the ResultRetrieval example /UpdateFacility/*.* Files for XUF support examples /xml/*.xml XML files for the examples /XMLQuery/*.* Files for the XMLQuery example /XQJExecute/*.* Files for the XQJExecute example examplesreadme.txt Information file for the examples setenv.bat Batch file for setting CLASSPATH setenv.sh Shell script for setting CLASSPATH To INSTALL_DIR/help (online help folders/files): ----------------------------------------------- *.css Stylesheets for HTML help system help.htm Launch file for HTML help system /installationguide/*.* HTML help system for installation guide /reference/*.* HTML help system for reference /wwhelp/*.* Support files for HTML help system To INSTALL_DIR/javadoc (Javadoc folders/files): ---------------------------------------------- *.css Stylesheets for Javadoc *.html Javadoc main files package-list /com/ddtek/xquery/*.* Javadoc for DataDirect XQuery proprietary interfaces /javax/xml/xquery/*.* Javadoc for XQJ /resources Graphic file for Javadoc To INSTALL_DIR/lib: ------------------- ddxq.jar DataDirect XQuery Classes DDJDBC64Auth04.dll File required for NTLM authentication (64-bit Itanium) DDJDBCAuth04.dll File required for NTLM authentication (32-bit) DDJDBCx64Auth04.dll File required for NTLM authentication (64-bit AMD64 and Intel EM64) ddxqaxis.jar Files for Web services support for ddtek:wscall() JDBCDriverLogin.conf Kerberos support file jsr173_1.0_api.jar Redistributable third-party file for StAX compatibility krb5.conf Kerberos support file wstx-asl.jar File required to use the Streaming XML feature xqdb2.jar Classes required for access to DB2 xqinformix.jar Classes required for access to Informix xqjapi.jar XQuery for Java interfaces xqmysql.jar Classes required for access to MySQL xqoracle.jar Classes required for access to Oracle xqsqlserver.jar Classes required for access to Microsoft SQL Server xqsybase.jar Classes required for access to Sybase xquerywebservice.jar Classes required to support the XQueryWebService framework To INSTALL_DIR/planExplain: -------------------------- /css/*.css Plan Explain resources /imgs/*.gif Plan Explain resources /js/*.js Plan Explain resources /menu/css/*.css Plan Explain resources /menu/jss/*.js Plan Explain resources To INSTALL_DIR/src: ------------------ ddxqsaxon.zip File containing Saxon-B sources xquerywebservice_src.zip File containing sources for the XQueryWebService framework -------------------------------- Third-Party Licensing Agreements -------------------------------- Third-Party Licensing Agreements DataDirect XQuery includes the Saxon-SA software developed by Saxonica Limited. Copyright © 2006 Saxonica Limited. All rights Reserved. Saxon-SA includes as a component the executable code of the opensource Saxon product published at http://saxon.sf.net/. Saxon is released under the Mozilla Public License version 1.0 found at http://www.mozilla.org/MPL/. In relation to Saxon, Saxon-SA is a "Larger Work" as defined in Section 3.7 of the Mozilla Public License. Saxonica's obligations under that License in respect of Covered Code are met by virtue of the publication of the open source Saxon product at http://saxon.sf.net/, which includes all Covered Code (including all modifications made to Covered Code by Saxonica) in source form. The open source Saxon product contains individual modules, together comprising less than 1% of the total Software, which were originally published under different open-source licenses and which are redistributed under the terms of those licenses. These modules and their origin are identified within the product source code. Saxon-SA also includes the following third party software: A. Base64 Encoder/Decoder Saxon-SA includes a Base64 Encoder/Decoder that was developed by Netscape Communications Corp. This Base 64 Encoder/Decorder (with minor modifications) is distributed under the Netscape Public License Version 1.1 (the "License"); and may not be used except in compliance with the License. A copy of the License may be obtained at http://www.mozilla.org/NPL/ Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is Mozilla Communicator client code, released March 31, 1998. The Initial Developer of the Original Code is Netscape Communications Corporation. Portions created by Netscape are Copyright (C) 1998-1999 Netscape Communications Corporation. All Rights Reserved. B. Generic Sorter Saxon-SA includes a Generic Sorter that was developed by CERN. This is distributed (with minimal modifications) under the Cern license reproduced below: Copyright © 1999 CERN - European Organization for Nuclear Research. Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. CERN makes no representations about the suitability of this software for any purpose. It is provided "as is" without expressed or implied warranty. C. Unicode Normalization Saxon-SA includes a Unicode Normalization that was developed by Unicode Consortium (author Mark Davis). This is distributed (with minimal modifications) under the Unicode license reproduced below: COPYRIGHT AND PERMISSION NOTICE Copyright © 1991-2007 Unicode, Inc. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html. Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that (a) the above copyright notice(s) and this permission notice appear with all copies of the Data Files or Software, (b) both the above copyright notice(s) and this permission notice appear in associated documentation, and (c) there is clear notice in each modified Data File or in the Software as well as in the documentation associated with the Data File(s) or Software that the data or software has been modified. THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. D. XPath Parser Saxon-SA includes a XPath Parser that was developed by James Clark (www.jclark.com). This is distributed (with major modifications) under the license reproduced below: Copyright (c) 1998, 1999 James Clark Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL JAMES CLARK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of James Clark shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from James Clark. E. Regex Translator Saxon-SA includes a Regex Translator that was developed by James Clark (www.jclark.com). This is distributed (with enhancements) under the license reproduced below: Copyright (c) 2001-2003 Thai Open Source Software Center Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Thai Open Source Software Center Ltd nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. F. Ant Saxon Task Saxon-SA includes a module, Ant Task, that was developed by the Apache Software Foundation. This module (which has been heavily modified is distributed under the Apache Software License, reproduced below: Apache License, Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. Apache Ant Copyright 1999-2006 The Apache Software Foundation This product includes software developed by The Apache Software Foundation (http://www.apache.org/). This product includes also software developed by: - the W3C consortium (http://www.w3c.org) , - the SAX project (http://www.saxproject.org) Thetask is based on code Copyright (c) 2002, Landmark Graphics Corp that has been kindly donated to the Apache Software Foundation. =============================================================== jsr173_1.0_api.jar ----- DataDirect XQuery includes the jsr173_1.0_api.jar file which is subject to the following conditions of use: Streaming API for XML (JSR-173) Specification Reference Implementation License Agreement READ THE TERMS OF THIS (THE "AGREEMENT") CAREFULLY BEFORE VIEWING OR USING THE SOFTWARE LICENSED HEREUNDER. BY VIEWING OR USING THE SOFTWARE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL THESE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO ORIGINAL CONTRIBUTOR, DEFINED HEREIN. 1.0 DEFINITIONS. 1.1. "BEA" means BEA Systems, Inc., the licensor of the Original Code. 1.2. "Contributor" means BEA and each entity that creates or contributes to the creation of Modifications. 1.3. "Covered Code" means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof and corresponding documentation released with the source code. 1.4. "Executable" means Covered Code in any form other than Source Code. 1.5. "FCS" means first commercial shipment of a product. 1.6. "Modifications" means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: (a) Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. (b) Any new file that contains any part of the Original Code or previous Modifications. 1.7. "Original Code" means Source Code of computer software code Reference Implementation. 1.8. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent for which the grantor has the right to grant a license. 1.9. "Reference Implementation" means the prototype or "proof of concept" implementation of the Specification developed and made available for license by or on behalf of BEA. 1.10. "Source Code" means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated documentation, interface definition files, scripts used to control compilation and installation of an Executable, or source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. 1.11. "Specification" means the written specification for the Streaming API for XML , Java technology developed pursuant to the Java Community Process. 1.12. "Technology Compatibility Kit" or "TCK" means the documentation, testing tools and test suites associated with the Specification as may be revised by BEA from time to time, that is provided so that an implementer of the Specification may determine if its implementation is compliant with the Specification. 1.13. "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this Agreement or a future version of this Agreement issued under Section 6.1. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. 2.0 SOURCE CODE LICENSE. 2.1. Copyright Grant. Subject to the terms of this Agreement, each Contributor hereby grants You a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Covered Code of such Contributor, if any, and such derivative works, in Source Code and Executable form. 2.2. Patent Grant. Subject to the terms of this Agreement, each Contributor hereby grants You a non-exclusive, worldwide, royalty-free patent license under the Patent Claims to make, use, sell, offer to sell, import and otherwise transfer the Covered Code prepared and provided by such Contributor, if any, in Source Code and Executable form. This patent license shall apply to the Covered Code if, at the time a Modification is added by the Contributor, such addition of the Modification causes such combination to be covered by the Patent Claims. The patent license shall not apply to any other combinations which include the Modification. 2.3. Conditions to Grants. You understand that although each Contributor grants the licenses to the Covered Code prepared by it, no assurances are provided by any Contributor that the Covered Code does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to You for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, You hereby assume sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow You to distribute Covered Code, it is Your responsibility to acquire that license before distributing such code. 2.4. Contributors' Representation. Each Contributor represents that to its knowledge it has sufficient copyright rights in the Covered Code it provides , if any, to grant the copyright license set forth in this Agreement. 3.0 DISTRIBUION RESTRICTIONS. 3.1. Application of Agreement. The Modifications which You create or to which You contribute are governed by the terms of this Agreement, including without limitation Section 2.0. The Source Code version of Covered Code may be distributed only under the terms of this Agreement or a future version of this Agreement released under Section 6.1, and You must include a copy of this Agreement with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this Agreement or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.3. 3.2. Description of Modifications. You must cause all Covered Code to which You contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by BEA and including the name of BEA in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. 3.3. Required Notices. You must duplicate the following notice in each file of the Source Code: "(c) 2002, 2003 BEA Systems, Inc. All rights Reserved. The contents of this file are subject to the BEA Streaming API for XML Specification Reference Implementation License Agreement (the "Agreement"); you may not use this file except in compliance with the Agreement. A copy of the Agreement is available at http://www.bea.com/" If You created one or more Modification(s) You may add your name as a Contributor to the copyright portion of the notice above. You must also duplicate this Agreement in any documentation for the Source Code where You describe recipients' rights or ownership rights relating to Covered Code. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of BEA or any other Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify BEA and every other Contributor for any liability incurred by BEA or such other Contributor as a result of warranty, support, indemnity or liability terms You offer. 3.4. Distribution of Executable Versions. You may choose to distribute Covered Code in Executable form under its own license agreement, provided that: (a) You comply with the terms and conditions of this Agreement; and (b) Your license agreement: (i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; (ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; (iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and (iv) states that Source Code for the Covered Code is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. (c) You do not use any marks, brands or logos associated with the JCP Specification, or otherwise promote or market any Covered Code, as being compatible, compliant, conformant or otherwise consistent with the Specification unless such product passes, in accordance with the documentation (including the TCK Users Guide, if any), the most current TCK applicable to the latest version of the Specification and available from BEA one hundred twenty (120) days before FCS of such version of the product; provided, however, that if You elect to use a version of the TCK also provided by BEA that is newer than that which is required under this Section 2.1(b)(v), then You agree to pass such TCK. 3.5. Distribution of Source Code Versions. When You make Covered Code available in Source Code form: (a) it must be made available under this Agreement; and (b) a copy of this Agreement must be included with each copy of the Covered Code. You may not remove or alter any copyright notices contained within the Covered Code. Each Contributor must identify itself as the originator of its contribution to the Covered Code, if any, in a manner that reasonably allows subsequent licensees to identify the originator of each portion of the Covered Code. 4.0 DISCLAIMER OF WARRANTY. COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT BEA OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. 5.0 TERMINATION. 5.1. This Agreement and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this Agreement. Provisions which, by their nature, must remain in effect beyond the termination of this Agreement shall survive. 5.2. If You initiate litigation by asserting a patent infringement claim (excluding declaratory judgment actions) against BEA or a Contributor (BEA or Contributor against whom You file such action is referred to as "Participant") alleging that: (a) such Participant's Covered Code directly or indirectly infringes any patent, then any and all rights granted by such Participant to You under Sections 2.0of this Agreement shall, upon 60 days notice from Participant terminate prospectively, unless if within 60 days after receipt of notice You either: (i) agree in writing to pay Participant a mutually agreeable reasonable royalty for Your past and future use of Modifications made by such Participant, or (ii) withdraw Your litigation claim with respect to the Covered Code against such Participant. If within 60 days of notice, a reasonable royalty and payment arrangement are not mutually agreed upon in writing by the parties or the litigation claim is not withdrawn, the rights granted by Participant to You under Section 2.0 automatically terminate at the expiration of the 60 day notice period specified above. (b) any software, hardware, or device, other than such Participant's Covered Code, directly or indirectly infringes any patent, then any rights granted to You by such Participant under Sections 2.0 are revoked effective as of the date You first made, used, sold, distributed, or had made, Modifications made by that Participant. 5.3. If You assert a patent infringement claim against Participant alleging that such Participant's Covered Code directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.0 shall be taken into account in determining the amount or value of any payment or license. 5.4. In the event of termination under Sections 5.1 or 5.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or any distributor hereunder prior to termination shall survive termination. 6.0 LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, BEA, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 7.0 U.S. GOVERNMENT END USERS. The Covered Code is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial computer software documentation," as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. 8.0 MISCELLANEOUS. This Agreement represents the complete agreement concerning subject matter hereof. If any provision of this Agreement is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This Agreement shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in the United States of America, any litigation relating to this Agreement shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this Agreement. 9.0 RESPONSIBILITY FOR CLAIMS. As between BEA and the other Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this Agreement and You agree to work with BEA and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. =============================================================== This release of DataDirect XQuery includes WoodSToX, Axis, Apache HttpClient and Apache Commons Codec each of which is distributed under the Apache Software License, reproduced below: Apache License, Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. =============================================================== DataDirect XQuery includes DataDirect Connect for JDBC that includes software from Sun Microsystems, Inc. which is subject to the following additional terms and conditions. "Java Technology Restrictions. You may not modify the "Java Platform Interface ("JPI", identified as classes contained within the "java" package or any subpackages of the "java" package), by creating additional classes within the JPI or otherwise causing the addition to or modification of the classes in the JPI. In the event that you create an additional class and associated API(s) which (i) extends the functionality of the Java Platform, and (ii) is exposed to third party software developers for the purpose of developing additional software which invokes such additional API, you must promptly publish broadly an accurate specification for such API for free use by all developers. You may not create, or authorize your licensees to create additional classes, interfaces, or subpackages that are in any way identified as "java", "javax", "sun" or similar convention as specified by Sun in any naming convention designation." =============================================================== If DataDirect XQuery is licensed for the Microsoft SQL Server database the following shall apply: DataDirect XQuery contains a licensed implementation of the Microsoft TDS Protocol. You may only use DataDirect XQuery to communicate data to and from Microsoft SQL Servers. You must separately obtain a license from Microsoft or its channel partners for any Microsoft software products used by you. =============================================================== If DataDirect XQuery is licensed for the MySQL Enterprise® database the following shall apply: The DataDirect XQuery driver for MySQL Enterprise was developed using the MySQL® Protocol Documentation whose copyright is owned by, and licensed by DataDirect from, MySQL AB. The DataDirect XQuery driver for MySQL Enterprise may only be used with the commercially licensed MySQL database software or a MySQL Enterprise subscription. =============================================================== DataDirect XQuery includes the XQJ 225 XQuery API for Java 1.0 Reference Implementation which is licensed under license agreement duplicated below. DataDirect has made no modifications to the Reference Implementation code. License Agreement for JSR-000225 XQuery API for Java 1.0 Final Release Specification License Oracle USA (the "Spec Lead") for the XQuery API for Java specification (the "Specification") hereby grant a perpetual, non-exclusive, worldwide, fully paid-up, royalty-free, irrevocable (except as explicitly set forth below) license to copy and display the Specification, in any medium without fee or royalty, provided that you include the following on ALL copies, or portions thereof, that you make: 1. A link or URL to the Specification at this location: http://jcp.org/aboutJava/communityprocess/final/jsr225/index.html. 2. The copyright notice as shown herein. In addition, to the extent that an implementation of the Specification would be considered a derivative work under applicable law requiring a license grant from the holder of the copyright in the Specification, the Spec Lead grants a copyright license solely for the purpose of making and/or distributing an implementation of the Specification that: (a) except for the RI code licensed from Oracle under the RI License which is attached hereto as Exhibit B, does not include or otherwise make any use of the RI; (b) fully implements the Specification including all of its required interfaces and functionality; (c) does not modify, subset, superset or otherwise extend those public class or interface declarations whose names begin with "java;" and (d) passes the TCK. The Spec Lead also agrees, upon request, to grant a perpetual, non-exclusive, worldwide, non sub-licensable, non-transferable, royalty-free fully paid-up license, for the sole purposes of making, having made, using, selling and offering for sale, implementations of the Specification that meet the requirements of (a) - (d) above, under those respective patent claims that they own, or have the authority to license, for which there is no technically feasible way of avoiding infringement in the course of implementing the Specification ("Necessary Patent Claims"). The licenses and agreement to license set forth above are conditional upon licensee’s offering a license, on fair, reasonable and non-discriminatory terms to Necessary Patent Claims that they own or have the authority to license to make, have made, use, sell and offer for sale, implementations of the Specification that meet the requirements of (a) - (d) above, to all other licensees to the Specification who agree to offer a similar license and not initiating any claim that either Specification Lead, has, in the course of performing its responsibilities as the Specification Lead, induced any other entity to infringe the licensee’s patent rights. THE SPECIFICATION IS PROVIDED "AS IS," AND THE SPEC LEAD AND ANY OTHER AUTHORS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY PATENTS (INCLUDING, WITHOUT LIMITATION, PATENTS OF THE SPECIFICATION LEADS), COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. THE SPEC LEAD AND ANY OTHER AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SPECIFICATION OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF. The name and trademarks of the Spec Lead or any other Authors may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with the Authors. No other rights are granted by implication, estoppel or otherwise. Exhibit B Reference Implementation License 1. Oracle USA (the "Spec Lead") for the XQuery API for Java Specification (the "Specification") hereby grants a perpetual, non-exclusive, worldwide, fully paid-up, royalty-free, irrevocable (except as expressly set forth below) copyright license to use, modify and distribute the Reference Implementation ("RI") in either source or binary form, with or without modification; provided that the following conditions are met: A. Redistributions of the source code for the RI must include the following copyright notice and disclaimer of warranties together with this license. B. Redistributions in binary form must reproduce the following copyright notice and disclaimer of warranties and this license in the documentation and/or other materials provided with the distribution. C. Modified code, whether distributed in source or binary form, is clearly identified as such. Copyright © 2003 - 2007 Oracle THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED, IMPLIED OR STAUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGMENT ARE DISCLAIMED. IN NO EVENT SHALL ORACLE OR ITS LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ORACLE IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2. In addition, Oracle USA hereby grants a perpetual, non-exclusive, worldwide, fully paid-up, royalty-free, irrevocable (except as expressly set forth below) license under any patent claims licensable by Oracle for which there is no technically feasible way of avoiding infringement in the course of implementing the Specification or in the use of RI code as originally distributed by Oracle (the "Unmodified RI Code") or a compiled version thereof, the right to make, have made, use, offer to sell, sell or import: A. the Unmodified RI Code, or B. any derivative thereof solely to the extent such derivative: (a) is used and distributed as part of a complete binary implementation that fully implements the Specification, including all its required interfaces and functionality; (b) does not modify, subset, superset or otherwise extend the Licensor Name Space, or include any public or protected packages, classes, Java interfaces, fields or methods within the Licensor Name Space other than those required/authorized by the Specification(s); and (c) passes the TCK for the Specification. 3. The licenses granted herein are conditional upon licensee's not initiating a claim against Oracle or any licensee under this Agreement concerning any patent claims licensable by such licensee for which there is no technically feasible way of avoiding infringement in the course of implementing the Specification or in the use of Unmodified RI Code. 4. Licensee may license derivatives works of the RI under any license of your choosing that is not inconsistent with the terms of this license. However, unless the derivative works comply with the requirements of 2B above, licensee may neither: (i) grant or otherwise pass through to its sublicensees any licensable copyrights and patent rights of the Oracle as Spec Lead; nor (ii) authorize its sublicensees to make any claims concerning their implementation’s compliance with the Specification. =============================================================== Notice for Salesforce Application Developers This notice is applicable when DataDirect XQuery is used to access a Salesforce.com system. DataDirect XQuery may be utilized directly or indirectly (i.e., through the use of one or more other applications utilizing DataDirect XQuery) to transmit User Data outside of the Salesforce.com (SFDC) system. To the extent such transmission occurs, neither DataDirect nor SFDC are responsible for the privacy, security or integrity of that User Data. "User Data" means electronic data or information submitted by SFDC’s customers into SFDC’s system. DataDirect XQuery Release 5.0 09/09/09 ~~~~~~~~~~~~~~~~~ End of README.htm