The code was downloaded from http://sourceforge.net/projects/jxp/

Copyright and license:

  Copyright (C) 2004 TiongHiang Lee

  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.

  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this library; if not, write to the Free Software Foundation,
  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.

On Debian systems the GNU Lesser General Public License, version 2.1 can be
found at /usr/share/common-licenses/LGPL-2.1.

~~~~~

The files:

src/java/org/onemind/jxp/parser/JxpParser.jjt, and
src/java/org/onemind/jxp/parser/JxpParser.jj as distributed in the
upstream tarball include the following notice:

*                 Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is JavaCC. The Initial Developer of the Original
* Code is Sun Microsystems, Inc. Portions Copyright 1996-2002 Sun
* Microsystems, Inc. All Rights Reserved.
*/
/*
* Altered by Tiong Lee (thlee@onemindsoft.org) extensive to be a JJTree grammar
*/

We have contacted the upstream author TiongHiang Lee regarding the source 
from which these derived works were created. The original file is Java1.1.jj,
part of the JavaCC software (https://javacc.dev.java.net/)

Java1.1.jj is also present in the Debian package javacc-doc (source
package javacc: examples/JavaGrammars/Java1.1.jj).  The file is no longer 
distributed under the SPL, but instead under a BSD-like license.

The full copyright and license statement is as follows:

/* Copyright (c) 2006, Sun Microsystems, Inc.
 * 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 Sun Microsystems, Inc. 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 COPYRIGHT OWNER 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.
 */

~~~~~

The Debian packaging is copyright 2009, gregor herrmann <gregoa@debian.org>
and tony mancill <tmancill@debian.org>, and is licensed under the same terms
as the software itself.
