debian/0000775000000000000000000000000012527636334007203 5ustar debian/source/0000775000000000000000000000000011702147471010474 5ustar debian/source/format0000664000000000000000000000001411626726422011706 0ustar 3.0 (quilt) debian/libwerken.xpath-java-doc.install0000664000000000000000000000007111702147441015346 0ustar build/apidocs/* /usr/share/doc/libwerken.xpath-java/api/ debian/libwerken.xpath-java.docs0000664000000000000000000000003011702147114014055 0ustar README LIMITATIONS test debian/patches/0000775000000000000000000000000011702147471010623 5ustar debian/patches/03_JDOM_UnAbbrStep.patch0000664000000000000000000000305711626726422014775 0ustar Index: werken.xpath-0.9.4/src/com/werken/xpath/impl/UnAbbrStep.java =================================================================== --- werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/UnAbbrStep.java 2000-10-31 21:20:56.000000000 +0100 +++ werken.xpath-0.9.4/src/com/werken/xpath/impl/UnAbbrStep.java 2011-08-29 17:10:49.000000000 +0200 @@ -175,7 +175,7 @@ } } - return aggregateResults;; + return aggregateResults; } private List applyPredicates(List nodeSet, @@ -227,7 +227,7 @@ if ( node instanceof Element ) { - List children = ((Element)node).getMixedContent(); + List children = ((Element)node).getContent(); results.addAll( applyTo( children, support, @@ -235,7 +235,7 @@ } else if ( node instanceof Document ) { - List children = ((Document)node).getMixedContent(); + List children = ((Document)node).getContent(); results.addAll( applyTo( children, support, @@ -256,7 +256,7 @@ if ( node instanceof Element ) { - List children = ((Element)node).getMixedContent(); + List children = ((Element)node).getContent(); results.addAll( applyTo( children, support, @@ -264,7 +264,7 @@ } else if ( node instanceof Document ) { - List children = ((Document)node).getMixedContent(); + List children = ((Document)node).getContent(); results.addAll( applyTo( children, support, debian/patches/02_JDOM_NodeTypeStep.patch0000664000000000000000000000177211626726422015354 0ustar Index: werken.xpath-0.9.4/src/com/werken/xpath/impl/NodeTypeStep.java =================================================================== --- werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/NodeTypeStep.java 2000-10-26 03:09:41.000000000 +0200 +++ werken.xpath-0.9.4/src/com/werken/xpath/impl/NodeTypeStep.java 2011-08-29 17:10:45.000000000 +0200 @@ -84,16 +84,16 @@ { if ( isAbsolute() ) { - results.addAll( applyToNodes( ((Element)node).getDocument().getMixedContent() ) ); + results.addAll( applyToNodes( ((Element)node).getDocument().getContent() ) ); } else { - results.addAll( applyToNodes( ((Element)node).getMixedContent() ) ); + results.addAll( applyToNodes( ((Element)node).getContent() ) ); } } else if ( node instanceof Document ) { - results.addAll( applyToNodes( ((Document)node).getMixedContent() ) ); + results.addAll( applyToNodes( ((Document)node).getContent() ) ); } return results; debian/patches/01_Test_CompileFix_JDomAPIChange.patch0000664000000000000000000000104711626726422017561 0ustar Index: werken.xpath-0.9.4/src/com/werken/xpath/Test.java =================================================================== --- werken.xpath-0.9.4.orig/src/com/werken/xpath/Test.java 2000-10-24 05:45:32.000000000 +0200 +++ werken.xpath-0.9.4/src/com/werken/xpath/Test.java 2011-08-29 17:10:39.000000000 +0200 @@ -57,6 +57,10 @@ System.err.println("Results :: " + results); } + catch (IOException ioe) + { + ioe.printStackTrace(System.err); + } catch (JDOMException jde) { jde.printStackTrace(System.err); debian/patches/series0000664000000000000000000000022011626726422012036 0ustar 01_Test_CompileFix_JDomAPIChange.patch 02_JDOM_NodeTypeStep.patch 03_JDOM_UnAbbrStep.patch 04_JDOM_StringFunction.patch 05_JDOM_getParent.patch debian/patches/05_JDOM_getParent.patch0000664000000000000000000000456711626726422014732 0ustar Index: werken.xpath-0.9.4/src/com/werken/xpath/ElementNamespaceContext.java =================================================================== --- werken.xpath-0.9.4.orig/src/com/werken/xpath/ElementNamespaceContext.java 2000-10-24 05:53:33.000000000 +0200 +++ werken.xpath-0.9.4/src/com/werken/xpath/ElementNamespaceContext.java 2011-08-29 17:10:58.000000000 +0200 @@ -62,12 +62,12 @@ lineage.push(_element); - Element elem = _element.getParent(); + Element elem = (Element)_element.getParent(); while (elem != null) { lineage.push(elem); - elem = elem.getParent(); + elem = (Element)elem.getParent(); } List nsList = null; Index: werken.xpath-0.9.4/src/com/werken/xpath/impl/ParentStep.java =================================================================== --- werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/ParentStep.java 2000-10-25 04:19:16.000000000 +0200 +++ werken.xpath-0.9.4/src/com/werken/xpath/impl/ParentStep.java 2011-08-29 17:10:58.000000000 +0200 @@ -50,7 +50,7 @@ if ( each instanceof Element ) { - parent = ((Element)each).getParent(); + parent = (Element)((Element)each).getParent(); if (parent != null) { Index: werken.xpath-0.9.4/src/com/werken/xpath/util/Partition.java =================================================================== --- werken.xpath-0.9.4.orig/src/com/werken/xpath/util/Partition.java 2000-10-31 16:22:01.000000000 +0100 +++ werken.xpath-0.9.4/src/com/werken/xpath/util/Partition.java 2011-08-29 17:10:58.000000000 +0200 @@ -67,7 +67,7 @@ public static List followingSiblings(Element node) { - Element parent = node.getParent(); + Element parent = (Element)node.getParent(); if (parent == null) { @@ -95,7 +95,7 @@ public static List preceedingSiblings(Element node) { - Element parent = node.getParent(); + Element parent = (Element)node.getParent(); if (parent == null) { @@ -137,7 +137,7 @@ results.addAll( Partition.descendants( each ) ); } - Element parent = node.getParent(); + Element parent = (Element)node.getParent(); if (parent != null) { @@ -170,7 +170,7 @@ results.addAll( Partition.descendants( each ) ); } - Element parent = node.getParent(); + Element parent = (Element)node.getParent(); if (parent != null) { debian/patches/04_JDOM_StringFunction.patch0000664000000000000000000000112511626726422015737 0ustar Index: werken.xpath-0.9.4/src/com/werken/xpath/function/StringFunction.java =================================================================== --- werken.xpath-0.9.4.orig/src/com/werken/xpath/function/StringFunction.java 2000-10-24 05:30:00.000000000 +0200 +++ werken.xpath-0.9.4/src/com/werken/xpath/function/StringFunction.java 2011-08-29 17:10:54.000000000 +0200 @@ -71,7 +71,7 @@ public static String evaluate(Element elem) { - List content = elem.getMixedContent(); + List content = elem.getContent(); Iterator contentIter = content.iterator(); Object each = null; debian/libwerken.xpath-java.links0000664000000000000000000000010712527636311014262 0ustar usr/share/java/werken-xpath-0.9.4.jar usr/share/java/werken.xpath.jar debian/compat0000664000000000000000000000000211253623161010366 0ustar 7 debian/control0000664000000000000000000000346012527636356010615 0ustar Source: werken.xpath Section: java Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan Build-Depends: ant, cdbs, debhelper(>= 7), default-jdk Build-Depends-Indep: libantlr-java (>= 2.7), libjdom1-java, libxerces2-java, maven-repo-helper Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/werken.xpath Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/werken.xpath/ Homepage: http://werken-xpath.sourceforge.net/ Package: libwerken.xpath-java Architecture: all Depends: libantlr-java (>= 2.7), libjdom1-java, libxerces2-java, ${misc:Depends} Description: JDOM XPath Engine A XPath Engine for JDOM, created by the Werken & Sons Company. . It's not overly useful by itself, but rather needs an (currently in development) implementation of XPointer, XSLT, or other XPath-based specification. werken.xpath is merely an engine which can parse XPaths, and walk JDOM trees. Package: libwerken.xpath-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggest: libwerken.xpath-java Breaks: libwerken.xpath-java (<< 0.9.4-14) Replaces: libwerken.xpath-java (<< 0.9.4-14) Description: JDOM XPath Engine - documentation A XPath Engine for JDOM, created by the Werken & Sons Company. . It's not overly useful by itself, but rather needs an (currently in development) implementation of XPointer, XSLT, or other XPath-based specification. werken.xpath is merely an engine which can parse XPaths, and walk JDOM trees. . This package contains Javadoc HTML documentation for libwerken.xpath-java. debian/watch0000664000000000000000000000017711253623161010226 0ustar version=3 opts=uversionmangle=s/-beta/~beta/ \ http://sf.net/werken-xpath/werken.xpath-([[:digit:].]+(?:-beta)?)-full\.tar\.gz debian/libwerken.xpath-java.poms0000664000000000000000000000001711634336252014117 0ustar debian/pom.xml debian/pom.xml0000664000000000000000000000023711634336252010514 0ustar 4.0.0 werken-xpath werken-xpath 0.9.4 debian/changelog0000664000000000000000000001005012527636334011051 0ustar werken.xpath (0.9.4-14ubuntu0.14.04.1) trusty; urgency=low * Fix symlink to werken.xpath.jar (LP: #1455275). -- Saikrishna Arcot Fri, 15 May 2015 19:23:02 -0500 werken.xpath (0.9.4-14) unstable; urgency=low * Team upload. * Depends on libantr-java (library) instead antlr. * Bump Standards-Version to 3.9.2: no changes needed. * Drop Michael Koch from Uploaders (Closes: #654139). * Add myself as Uploaders. * Reformat d/copyright to DEP-5. * Split Javadoc into separate libwerken.xpath-java-doc package. -- Damien Raude-Morvan Sat, 07 Jan 2012 23:57:43 +0100 werken.xpath (0.9.4-13) unstable; urgency=low * Team upload. * Add Homepage and Vcs-Browser fields. * Add pom.xml and use maven-repo-helper for installation. -- Torsten Werner Thu, 15 Sep 2011 10:44:56 +0200 werken.xpath (0.9.4-12) unstable; urgency=low * Team upload. * Remove Arnaud from Uploaders list. * Update Standards-Version: 3.9.1. * Add Vcs-Svn header. * Remove Java runtime from Depends. * Switch to source format 3.0. -- Torsten Werner Mon, 29 Aug 2011 17:11:40 +0200 werken.xpath (0.9.4-11) unstable; urgency=low * (Build-)Depends on libjdom1-java (Closes: #500537). * Added debian/patches/05_JDOM_getParent.patch. * Loosen Depends to allow non-default java implementations too. -- Michael Koch Mon, 28 Sep 2009 21:52:03 +0200 werken.xpath (0.9.4-10) unstable; urgency=low * (Build-)Depends on default-jdk. * Build-Depends on debhelper >= 7. * Moved debhelper, cdbs and ant to Build-Depends. * Moved package to section 'java' * Fixed watch file to use SourceForge redirector. * Removed Wolfgang and added myself to Uploaders. * Updated Standards-Version to 3.8.3. -- Michael Koch Tue, 15 Sep 2009 07:29:33 +0200 werken.xpath (0.9.4-9) unstable; urgency=low * Removed Takashi Okamoto (closes: #352994) -- Arnaud Vandyck Tue, 25 Apr 2006 15:18:39 +0200 werken.xpath (0.9.4-8) unstable; urgency=low * kaffe compiler transition -- Wolfgang Baer Mon, 16 Jan 2006 15:04:34 +0100 werken.xpath (0.9.4-7) unstable; urgency=low * Changed build dependencies - libant1.6-java to ant - libxerces-java to libxerces2-java * Standards-Version 3.6.2 (no changes) * Minor adjustment of description to fix linda warning * Upload sponsored by Arnaud Vandyck -- Wolfgang Baer Tue, 16 Aug 2005 21:24:10 +0200 werken.xpath (0.9.4-6) unstable; urgency=low * Move to main (Closes: #257839) * upload with the sources. -- Arnaud Vandyck Sun, 10 Apr 2005 23:26:27 +0200 werken.xpath (0.9.4-5) unstable; urgency=low * Changed build system to cdbs * Move to main (Closes: #257839) * Splitted patches from diff.gz into single patch files * Standards-Version to 3.6.1 (no changes required) * avdyk: added Wolfgang and myself to the uploaders -- Wolfgang Baer Tue, 15 Mar 2005 20:06:29 +0100 werken.xpath (0.9.4-4) unstable; urgency=low * fixed FTBFS (Closes: #297555) * adjusted jdom dependency to libjdom0-java * changed maintainer to Debian Java Maintainers as requested by Takashi Okamoto for comaintaining * added java runtime dependency to depends -- Wolfgang Baer Mon, 14 Mar 2005 19:50:14 +0100 werken.xpath (0.9.4-3) unstable; urgency=low * fixed FTBFS(Closes: #148616) * move to contrib section because jdom which werken.xpath depends library move to contrib. -- Takashi Okamoto Fri, 31 May 2002 23:45:52 +0900 werken.xpath (0.9.4-2) unstable; urgency=low * fixed build fail bug (Closes: #134904) * Modify following class for new jdom: * UnAbbrStep.java * NodeTypeStep.java * XPathTokenTypes.txt -- Takashi Okamoto Thu, 21 Feb 2002 08:56:22 +0900 werken.xpath (0.9.4-1) unstable; urgency=low * Initial release. -- Takashi Okamoto Sun, 29 Jul 2001 12:42:17 +0900 Local variables: mode: debian-changelog End: debian/copyright0000664000000000000000000000513511702147441011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/. Upstream-Name: werken.xpath Upstream-Contact: http://sourceforge.net/projects/werken-xpath/ Source: http://werken-xpath.cvs.sourceforge.net/werken-xpath/ Files: * Copyright: Copyright (C) 2000 bob mcwhirter and The Werken & Sons Company License: BSD-4-clause Files: debian/* Copyright: (C) 2001, Takashi Okamoto Copyright: Copyright 2011, Damien Raude-Morvan License: BSD-4-clause License: BSD-4-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the disclaimer that follows these conditions in the documentation and/or other materials provided with the distribution. . 3. The name "werken.xpath" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact bob@werken.com . 4. Products derived from this software may not be called "werken.xpath", nor may "werken.xpath" appear in their name, without prior written permission from the Werken & Sons Company (bob@werken.com). . In addition, we request (but do not require) that you include in the end-user documentation provided with the redistribution and/or in the software itself an acknowledgement equivalent to the following: "This product includes software developed by The Werken & Sons Company (http://www.werken.com/)." Alternatively, the acknowledgment may be graphical using the logos available at http://www.werken.com/pix/werken-digital.gif . THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR ITS 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. debian/rules0000775000000000000000000000104611634336252010256 0ustar #!/usr/bin/make -f # debian/rules file for werken.xpath (uses cdbs) include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar jdom1 xercesImpl antlrall DEB_ANT_CLEAN_TARGET := clean DEB_ANT_BUILD_TARGET := package javadoc install/libwerken.xpath-java:: mh_installpoms -plibwerken.xpath-java -e$(DEB_UPSTREAM_VERSION) mh_installjar -plibwerken.xpath-java -e$(DEB_UPSTREAM_VERSION) -l \ debian/pom.xml build/werken.xpath.jar debian/libwerken.xpath-java-doc.doc-base0000664000000000000000000000037011702147153015357 0ustar Document: libwerken.xpath-java-doc Title: Programmer API for werken.xpath Author: werken.xpath developers Section: Programming Format: HTML Index: /usr/share/doc/libwerken.xpath-java/api/index.html Files: /usr/share/doc/libwerken.xpath-java/api/*