# Third Party Source Components

These tables lists components in category B as described above. (Category B is open source code that has been integrated at source level)

Unlike contributed code, this code was typically not written expressly for inclusion in Saxon, but was originally published under some other license.

A2 Base64 Encoder/Decoder

Origin | Netscape Communications Corp
Description | Encoder and decoder for Base 64
Approximate LOC | 400
Saxon packages / modules | Two inner classes within net.sf.saxon.value.Base64Value
Modifications | Minor modifications needed to meet the W3C XML Schema specification for Base64 lexical representation
Availability of source | Apparently no longer available. Originally part of Netscape Directory Server, package netscape.ldap.util, modules MimeBase64Encoder and MimeBase64Decoder.
Source version used | Unknown. Snapshot taken in 2004.
License | Netscape 1.1: see http://www.mozilla.org/MPL/NPL-1.1.html

A3 Generic Sorter

Origin | CERN (author Wolfgang Hoschek)
Description | Generic sort routines based on published algorithms
Approximate LOC | 500
Saxon packages / modules | net.sf.saxon.sort.GenericSorter
Modifications | Minimal modifications needed to integrate the code
Availability of source | Currently available as part of Colt project, http://dsd.lbl.gov/~hoschek/colt/, module cern.colt.GenericSorting
Source version used | Unknown. Snapshot taken in 2004?
License | CERN License: see 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.

A4 Unicode Normalization

Origin | Unicode Consortium (author Mark Davis)
Description | Routines for Unicode character normalization
Approximate LOC | 3500 (including data sets)
Saxon packages / modules | net.sf.saxon.sort.codenorm.*
Modifications | Core functionality unchanged; rewrote the module that loads the data tables from the Unicode character database; removed dependencies on ICU; fixed a few bugs
Availability of source | Specification of algorithm at http://unicode.org/reports/tr15/, code available via http://www.unicode.org/reports/tr15/Normalizer.html
Source version used | No version number. Snapshot taken in June 2005
License | Unicode license: see 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.

A5 XPath Parser

Origin | James Clark (www.jclark.com)
Description | Top-down parser and lexical tokenizer for XPath
Approximate LOC | 1000 (including data sets)
Saxon packages / modules | net.sf.saxon.expr.*, modules ExpressionParser, Tokenizer, Token
Modifications | Almost entirely rewritten with enhancements to handle XPath 2.0 and XQuery 1.0 syntax, improved error reporting, etc.
Availability of source | Derives from James Clark's xt product, which in its original form is at http://www.jclark.com/xml/xt-old.html. Package com.jclark.xsl.expr, modules ExprParser and ExprTokenizer
Source version used | Unknown. Snapshot taken in 1999.
License | James Clark (see below). Apparently copyright has since been transferred to the Thai Open Source Center Ltd.

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.

A6 Regex Translator

Origin | James Clark (www.jclark.com)
Description | Translator from XML Schema regular expressions to JDK 1.4 regular expressions
Approximate LOC | 1000
Saxon packages / modules | net.sf.saxon.java, modules JDK14RegexTranslator and JDK15RegexTranslator, and net.sf.saxon.dotnet, module DotNetRegexTranslator
Modifications | Enhancements to handle XPath 2.0 regular expressions as input and to produce JDK 1.5 and .NET regular expressions as output
Availability of source | Available at http://www.thaiopensource.com/download/xsdregex-20020430.zip
Source version used | 20020430
License | Thai Open Source Center Ltd.

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.

A7 Ant Saxon Task

Origin | Apache
Description | Ant task to run schema-aware Saxon transformations
Approximate LOC | 1000
Saxon packages / modules | net.sf.saxon.ant.AntTransform
Modifications | Derived from the standard XSLT task in the Apache Ant product, with enhancements to provide properties to control schema-aware transformations. 50% rewrite.
Availability of source | http://ant.apache.org/
Source version used | Ant 1.7.0
License | Apache: see http://www.apache.org/licenses/LICENSE-2.0. This license requires a notice to be displayed; the relevant notice is copied below

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)
The <sync> task is based on code Copyright (c) 2002, Landmark Graphics Corp that has been kindly donated to the Apache Software Foundation.

Next