mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-08 16:03:21 +00:00
Part of bug 88623 (Cleanup Transformiix code). Remove unnecesary comment lines, no code changes. r=Pike, rs=jst.
This commit is contained in:
parent
a9e33f26e5
commit
e682f72495
@ -19,7 +19,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: ArrayList.cpp,v 1.2 2000/09/06 07:05:31 kvisco%ziplink.net Exp $
|
||||
*/
|
||||
|
||||
#include "ArrayList.h"
|
||||
@ -120,7 +119,7 @@ void ArrayList::clear() {
|
||||
* Removes all elements from the list
|
||||
* @param deleteObjects allows specifying whether or not to delete the TxObjects
|
||||
* that are currently in the list.
|
||||
* <BR />
|
||||
*
|
||||
* Note: If object deletion is enabled this method will check for duplicate references
|
||||
* in the list to prevent possible seg faults and will therefore run slower than an algorithm
|
||||
* that doesn't check for duplicates.
|
||||
|
@ -19,7 +19,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: ArrayList.h,v 1.2 2000/09/06 07:05:32 kvisco%ziplink.net Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -21,15 +21,10 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: CommandLineUtils.cpp,v 1.4 2001/06/26 14:07:29 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "CommandLineUtils.h"
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.4 $ $Date: 2001/06/26 14:07:29 $
|
||||
**/
|
||||
void CommandLineUtils::getOptions
|
||||
(NamedMap& options, int argc, char** argv, StringList& flags)
|
||||
{
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: CommandLineUtils.h,v 1.4 2001/04/08 14:38:03 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef TRANSFRMX_COMMANDLINEUTILS_H
|
||||
@ -30,10 +29,6 @@
|
||||
#include "StringList.h"
|
||||
#include "NamedMap.h"
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.4 $ $Date: 2001/04/08 14:38:03 $
|
||||
**/
|
||||
class CommandLineUtils {
|
||||
|
||||
public:
|
||||
|
@ -20,7 +20,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: DefaultStringComparator.cpp,v 1.2 2001/06/26 14:07:34 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "StringComparator.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
* Eric Du, duxy@leyou.com.cn
|
||||
* -- added fix for FreeBSD
|
||||
*
|
||||
* $Id: Double.cpp,v 1.6 2001/07/02 09:24:01 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "primitives.h"
|
||||
@ -46,8 +45,6 @@
|
||||
/**
|
||||
* A wrapper for the primitive double type, and provides some simple
|
||||
* floating point related routines
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @author <a href="mailto:lef@opentext.com">Larry Fitzpatrick</a>
|
||||
**/
|
||||
|
||||
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: ErrorObserver.h,v 1.4 2001/04/08 14:38:18 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef MITRE_ERROROBSERVER_H
|
||||
@ -33,8 +32,6 @@
|
||||
|
||||
/**
|
||||
* A simple interface for observing errors
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.4 $ $Date: 2001/04/08 14:38:18 $
|
||||
**/
|
||||
class ErrorObserver {
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: Integer.cpp,v 1.3 2001/06/26 14:08:02 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "primitives.h"
|
||||
@ -34,8 +33,6 @@
|
||||
/**
|
||||
* A wrapper for the primitive int type, and provides some simple
|
||||
* integer related routines
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/06/26 14:08:02 $
|
||||
**/
|
||||
|
||||
/**
|
||||
|
@ -40,8 +40,6 @@
|
||||
|
||||
/**
|
||||
* Default constructor for a txList;
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.11 $ $Date: 2001/07/02 23:40:20 $
|
||||
**/
|
||||
|
||||
txList::txList() {
|
||||
|
@ -25,7 +25,6 @@
|
||||
* -- Cleanup/bugfix/features in Iterator
|
||||
* Added tx prefix to classnames
|
||||
*
|
||||
* $Id: List.h,v 1.9 2001/07/02 23:40:20 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef TRANSFRMX_LIST_H
|
||||
@ -116,7 +115,6 @@ private:
|
||||
|
||||
/**
|
||||
* An Iterator for the txList Class
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
**/
|
||||
class txListIterator {
|
||||
|
||||
|
@ -20,12 +20,10 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: Map.cpp,v 1.4 2001/06/26 14:08:23 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
* A Hashtable for TxObjects
|
||||
* @version $Revision: 1.4 $ $Date: 2001/06/26 14:08:23 $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -20,12 +20,10 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: Map.h,v 1.3 2001/06/26 14:08:27 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
* A Hashtable for TxObjects
|
||||
* @version $Revision: 1.3 $ $Date: 2001/06/26 14:08:27 $
|
||||
*/
|
||||
|
||||
#ifndef TRANSFRMX_MAP_H
|
||||
@ -63,7 +61,7 @@ public:
|
||||
|
||||
/**
|
||||
* Returns a list of all the keys of this Map.
|
||||
* <BR />
|
||||
*
|
||||
* You will need to delete this List when you are done with it.
|
||||
**/
|
||||
List* keys();
|
||||
|
@ -561,8 +561,6 @@ MBool String::isEqualIgnoreCase(const String& data) const
|
||||
|
||||
/**
|
||||
* Returns index of last occurrence of data
|
||||
* <BR />
|
||||
* Added implementation 19990729 (kvisco)
|
||||
**/
|
||||
PRInt32 String::lastIndexOf(UNICODE_CHAR data) const
|
||||
{
|
||||
@ -573,8 +571,6 @@ PRInt32 String::lastIndexOf(UNICODE_CHAR data) const
|
||||
* Returns the index of the last occurrence of data starting at offset.
|
||||
* NOTE: offset start counting from the LEFT, just like nsString expects.
|
||||
* ( nsString::RFindChar(PRUnichar, PRBool, PRInt32) )
|
||||
* <BR />
|
||||
* Added implementation 19990729 (kvisco)
|
||||
**/
|
||||
PRInt32 String::lastIndexOf(UNICODE_CHAR data, PRInt32 offset) const
|
||||
{
|
||||
@ -583,8 +579,6 @@ PRInt32 String::lastIndexOf(UNICODE_CHAR data, PRInt32 offset) const
|
||||
|
||||
/**
|
||||
* Returns the index of the last occurrence of data
|
||||
* <BR />
|
||||
* Added implementation 19990729 (kvisco)
|
||||
**/
|
||||
PRInt32 String::lastIndexOf(const String& data) const
|
||||
{
|
||||
@ -597,8 +591,6 @@ PRInt32 String::lastIndexOf(const String& data) const
|
||||
* PRUnichar* array, we will take the safe road by converting our String
|
||||
* object into an nsString, and then using that for the search.
|
||||
* ( nsString::RFind(const nsString&, PRBool, PRInt32) )
|
||||
* <BR />
|
||||
* Added implementation 19990729 (kvisco)
|
||||
**/
|
||||
PRInt32 String::lastIndexOf(const String& data, PRInt32 offset) const
|
||||
{
|
||||
|
@ -25,13 +25,10 @@
|
||||
* -- fixed memory leak in NamedMap::hashKey method by deleting
|
||||
* up char[] chars;
|
||||
*
|
||||
* $Id: NamedMap.cpp,v 1.9 2001/06/26 14:08:54 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* A Named Map for TxObjects
|
||||
* @author <a href="kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.9 $ $Date: 2001/06/26 14:08:54 $
|
||||
**/
|
||||
|
||||
#include "NamedMap.h"
|
||||
|
@ -21,13 +21,10 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: NamedMap.h,v 1.7 2001/06/26 14:08:58 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* A Named Map for TxObjects
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.7 $ $Date: 2001/06/26 14:08:58 $
|
||||
**/
|
||||
|
||||
#ifndef TRANSFRMX_NAMEDMAP_H
|
||||
@ -65,7 +62,7 @@ public:
|
||||
|
||||
/**
|
||||
* Returns a list of all the keys of this NamedMap.
|
||||
* <BR />
|
||||
*
|
||||
* You will need to delete this List when you are done with it.
|
||||
**/
|
||||
StringList* keys();
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: SimpleErrorObserver.cpp,v 1.3 2001/06/20 06:00:31 margaret.chan%sun.com Exp $
|
||||
*/
|
||||
|
||||
#include "ErrorObserver.h"
|
||||
|
@ -24,13 +24,10 @@
|
||||
* -- 19990806
|
||||
* - In method ::peek() changed ListItem::ListItem to List::ListItem
|
||||
*
|
||||
* $Id: Stack.cpp,v 1.3 2001/07/02 23:40:21 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Stack
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/07/02 23:40:21 $
|
||||
**/
|
||||
|
||||
#include "Stack.h"
|
||||
|
@ -21,13 +21,10 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: Stack.h,v 1.3 2001/04/08 14:39:07 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Stack
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/04/08 14:39:07 $
|
||||
**/
|
||||
|
||||
#ifndef MITRE_STACK_H
|
||||
|
@ -20,7 +20,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: StringComparator.cpp,v 1.1 2000/04/12 10:49:38 kvisco%ziplink.net Exp $
|
||||
*/
|
||||
|
||||
#include "StringComparator.h"
|
||||
@ -31,7 +30,7 @@ const String StringComparator::EN_LANG = "en";
|
||||
|
||||
/**
|
||||
* Returns an instance of the StringComparator which handles the given Language
|
||||
* <BR>
|
||||
*
|
||||
* Note: Remember to destroy instance when done.
|
||||
**/
|
||||
StringComparator* StringComparator::getInstance(const String& lang) {
|
||||
|
@ -20,7 +20,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: StringComparator.h,v 1.3 2001/04/08 14:39:12 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef TRANSFRMX_STRING_COMPARATOR_H
|
||||
@ -40,7 +39,7 @@ public:
|
||||
|
||||
/**
|
||||
* Returns an instance of the StringComparator which handles the given Language
|
||||
* <BR>
|
||||
*
|
||||
* Note: Remember to destroy instance when done.
|
||||
**/
|
||||
static StringComparator* getInstance(const String& lang);
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
/**
|
||||
* StringList
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
**/
|
||||
|
||||
#ifdef TX_EXE
|
||||
|
@ -23,13 +23,10 @@
|
||||
* Bob Miller, kbob@oblix.com
|
||||
* -- plugged core leak.
|
||||
*
|
||||
* $Id: StringList.h,v 1.10 2001/06/26 14:09:31 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* A class for keeping an ordered list of Strings
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.10 $ $Date: 2001/06/26 14:09:31 $
|
||||
**/
|
||||
|
||||
#ifndef TRANSFRMX_STRINGLIST_H
|
||||
|
@ -45,14 +45,12 @@
|
||||
* -- 19990806
|
||||
* -- added void return type declaration for ::nextToken()
|
||||
* -- added proper cast from PRInt32 to char in ::nextToken()
|
||||
* $Id: Tokenizer.cpp,v 1.3 2001/06/26 14:09:39 peterv%netscape.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Tokenizer
|
||||
* A simple String tokenizer
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/06/26 14:09:39 $
|
||||
**/
|
||||
|
||||
#include "Tokenizer.h"
|
||||
|
@ -25,14 +25,11 @@
|
||||
* Larry Fitzpatrick, OpenText, lef@opentext.com
|
||||
* -- 19990806, added void return type declaration for ::nextToken()
|
||||
*
|
||||
* $Id: Tokenizer.h,v 1.5 2001/06/26 14:09:44 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Tokenizer
|
||||
* A simple String tokenizer
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.5 $ $Date: 2001/06/26 14:09:44 $
|
||||
**/
|
||||
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: TxObject.h,v 1.5 2001/06/26 14:09:57 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -845,8 +845,6 @@ MBool String::isEqual(const String& data) const
|
||||
|
||||
/**
|
||||
* Returns index of last occurrence of data
|
||||
* <BR />
|
||||
* Added implementation 19990729 (kvisco)
|
||||
**/
|
||||
PRInt32 String::lastIndexOf(UNICODE_CHAR data) const
|
||||
{
|
||||
@ -855,8 +853,6 @@ PRInt32 String::lastIndexOf(UNICODE_CHAR data) const
|
||||
|
||||
/**
|
||||
* Returns the index of the last occurrence of data starting at offset
|
||||
* <BR />
|
||||
* Added implementation 19990729 (kvisco)
|
||||
**/
|
||||
PRInt32 String::lastIndexOf(UNICODE_CHAR data, PRInt32 offset) const
|
||||
{
|
||||
@ -873,8 +869,6 @@ PRInt32 String::lastIndexOf(UNICODE_CHAR data, PRInt32 offset) const
|
||||
|
||||
/**
|
||||
* Returns the index of the last occurrence of data
|
||||
* <BR />
|
||||
* Added implementation 19990729 (kvisco)
|
||||
**/
|
||||
PRInt32 String::lastIndexOf(const String& data) const
|
||||
{
|
||||
@ -883,9 +877,6 @@ PRInt32 String::lastIndexOf(const String& data) const
|
||||
|
||||
/**
|
||||
* Returns the index of the last occurrence of data starting at offset
|
||||
* <BR />
|
||||
* Added implementation 19990729 (kvisco)
|
||||
* TK 12/09/1999 - Completed implementation...
|
||||
**/
|
||||
PRInt32 String::lastIndexOf(const String& data, PRInt32 offset) const
|
||||
{
|
||||
|
@ -24,7 +24,6 @@
|
||||
* Tom Kneeland, tomk@mitre.org
|
||||
* -- added PRUint32 to provide a common unsigned integer
|
||||
*
|
||||
* $Id: baseutils.h,v 1.8 2001/06/26 14:07:22 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
// Basic Definitions used throughout many of these classes
|
||||
|
@ -28,7 +28,6 @@
|
||||
* Eric Du, duxy@leyou.com.cn
|
||||
* -- added fix for FreeBSD
|
||||
*
|
||||
* $Id: primitives.h,v 1.7 2001/06/26 14:09:14 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -42,8 +41,6 @@
|
||||
/**
|
||||
* A wrapper for the primitive double type, and provides some simple
|
||||
* floating point related routines
|
||||
* @author <a href="mailto:lef@opentext.com">Larry Fitzpatrick</a>
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
**/
|
||||
class Double : public TxObject {
|
||||
|
||||
@ -130,7 +127,6 @@ private:
|
||||
/**
|
||||
* A wrapper for the primitive int type, and provides some simple
|
||||
* integer related routines
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
**/
|
||||
class Integer : public TxObject {
|
||||
public:
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* - original author.
|
||||
*
|
||||
* $Id: test.xsl,v 1.9 2001/04/11 10:32:45 axel%pike.org Exp $
|
||||
*/
|
||||
-->
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
* -- read XML from stdin when -i is omitted
|
||||
* -- accept '-' to specify stdin/stdout on command line
|
||||
*
|
||||
* $Id: transformiix.cpp,v 1.10 2001/06/26 14:09:48 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -54,7 +53,6 @@ void printUsage();
|
||||
|
||||
/**
|
||||
* The TransforMiiX command line interface
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
**/
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
|
@ -44,8 +44,6 @@
|
||||
/**
|
||||
* URIUtils
|
||||
* A set of utilities for handling URIs
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.16 $ $Date: 2001/07/02 09:24:52 $
|
||||
**/
|
||||
|
||||
#ifdef TX_EXE
|
||||
|
@ -46,9 +46,6 @@
|
||||
/**
|
||||
* A utility class for URI handling
|
||||
* Not yet finished, only handles file URI at this point
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.16 $ $Date: 2001/06/10 16:42:12 $
|
||||
*
|
||||
**/
|
||||
|
||||
class URIUtils {
|
||||
|
@ -16,7 +16,6 @@
|
||||
* Peter Van der Beken, Peter.VanderBeken@pandora.be
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: NamespaceResolver.h,v 1.6 2001/04/08 14:37:03 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -25,8 +25,6 @@
|
||||
|
||||
/**
|
||||
* XMLDOMUtils
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.18 $ $Date: 2001/07/02 09:24:58 $
|
||||
**/
|
||||
|
||||
#include "XMLDOMUtils.h"
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: XMLDOMUtils.h,v 1.9 2001/04/08 14:34:48 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: XMLEventHandler.h,v 1.1 2000/08/21 06:33:45 kvisco%ziplink.net Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -44,8 +43,6 @@ class AttributeList;
|
||||
* that allow handling CDATA characters, comments, etc.
|
||||
* I apologize for not throwing Exceptions, I am trying
|
||||
* to follow Mozilla.org's guidelines for writing portable C++.
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.1 $ $Date: 2000/08/21 06:33:45 $
|
||||
**/
|
||||
class XMLEventHandler {
|
||||
|
||||
|
@ -23,11 +23,10 @@
|
||||
* Lidong, lidong520@263.net
|
||||
* -- unicode bug fix
|
||||
*
|
||||
* $Id: XMLUtils.cpp,v 1.5 2001/06/26 14:10:19 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* An XML utility class
|
||||
* @author <a href="mailto:kvisco@mitre.org">Keith Visco</a>
|
||||
**/
|
||||
|
||||
#include "XMLUtils.h"
|
||||
|
@ -21,12 +21,10 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: XMLUtils.h,v 1.6 2001/06/26 14:10:23 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* An XML Utility class
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
**/
|
||||
|
||||
#ifndef MITRE_XMLUTILS_H
|
||||
|
@ -48,19 +48,6 @@
|
||||
/**
|
||||
* Implementation of an In-Memory DOM based XML parser. The actual XML
|
||||
* parsing is provided by EXPAT.
|
||||
*
|
||||
* @author <a href="kvisco@ziplink.net">Keith Visco</a>
|
||||
* @author <a href="tomk@mitre.org">Tom Kneeland</a>
|
||||
* @author <a href="kbob@oblix.com">Bob Miller</a>
|
||||
*
|
||||
* Modification History:
|
||||
* Who When What
|
||||
* TK 05/03/99 Created
|
||||
* KV 06/15/1999 Fixed bug in parse method which read from cin instead of
|
||||
* the istream parameter.
|
||||
* KV 06/15/1999 Changed #parse method to return a Document
|
||||
* KV 06/17/1999 made a bunch of changes
|
||||
*
|
||||
**/
|
||||
|
||||
/**
|
||||
|
@ -46,9 +46,6 @@ typedef struct {
|
||||
/**
|
||||
* Implementation of an In-Memory DOM based XML parser. The actual XML
|
||||
* parsing is provided by EXPAT.
|
||||
* @author <a href="tomk@mitre.org">Tom Kneeland</a>
|
||||
* @author <a href="kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.12 $ $Date: 2001/06/10 16:43:13 $
|
||||
**/
|
||||
class XMLParser
|
||||
{
|
||||
|
@ -21,7 +21,7 @@
|
||||
*
|
||||
* Michel Casabianca, casa@sdv.fr
|
||||
* -- added additional empty elements to the HTML tag list
|
||||
* $Id: HTMLPrinter.cpp,v 1.6 2001/05/14 14:22:44 axel%pike.org Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "printers.h"
|
||||
@ -33,8 +33,6 @@
|
||||
/**
|
||||
* A class for printing XML nodes.
|
||||
* This class was ported from XSL:P Java source
|
||||
* @author <a href="kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.6 $ $Date: 2001/05/14 14:22:44 $
|
||||
**/
|
||||
//---------------/
|
||||
//- Contructors -/
|
||||
|
@ -33,8 +33,6 @@
|
||||
* Just output the stringValue of text nodes.
|
||||
*
|
||||
* bad ripoff from HTMLPrinter.cpp :-)
|
||||
*
|
||||
* @author <a href="mailto:axel@pike.org">Axel Hecht</a>
|
||||
**/
|
||||
//---------------/
|
||||
//- Contructors -/
|
||||
|
@ -23,7 +23,6 @@
|
||||
* Bob Miller, kbob@oblix.com
|
||||
* -- plugged core leak.
|
||||
*
|
||||
* $Id: XMLPrinter.cpp,v 1.8 2001/05/14 14:22:45 axel%pike.org Exp $
|
||||
*/
|
||||
|
||||
#include "printers.h"
|
||||
@ -35,8 +34,6 @@
|
||||
/**
|
||||
* A class for printing XML nodes.
|
||||
* This class was ported from XSL:P Java source
|
||||
* @author <a href="kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.8 $ $Date: 2001/05/14 14:22:45 $
|
||||
**/
|
||||
|
||||
/**
|
||||
|
@ -23,7 +23,6 @@
|
||||
* Bob Miller, kbob@oblix.com
|
||||
* -- plugged core leak.
|
||||
*
|
||||
* $Id: printers.h,v 1.7 2001/04/08 14:36:18 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -40,8 +39,6 @@
|
||||
/**
|
||||
* A class for printing XML nodes.
|
||||
* This class was ported from XSL:P Java source
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.7 $ $Date: 2001/04/08 14:36:18 $
|
||||
**/
|
||||
class XMLPrinter {
|
||||
|
||||
@ -243,8 +240,6 @@ private:
|
||||
/**
|
||||
* A class for printing an XML node as non-well-formed HTML
|
||||
* This class was ported from XSL:P Java source
|
||||
* @author Keith Visco (kvisco@ziplink.net)
|
||||
* @version $Revision: 1.7 $ $Date: 2001/04/08 14:36:18 $
|
||||
**/
|
||||
class HTMLPrinter : public XMLPrinter {
|
||||
|
||||
@ -323,7 +318,6 @@ private:
|
||||
|
||||
/**
|
||||
* A class for printing an XML node as text
|
||||
* @author Axel Hecht
|
||||
**/
|
||||
class TEXTPrinter : public XMLPrinter {
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
/**
|
||||
* A class used to overcome DOM 1.0 deficiencies
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
**/
|
||||
|
||||
#include "DOMHelper.h"
|
||||
|
@ -19,7 +19,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: DOMHelper.h,v 1.6 2001/04/08 14:36:43 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef TRANSFRMX_DOMHELPER_H
|
||||
@ -56,8 +55,6 @@ class OrderInfo : public TxObject {
|
||||
|
||||
/**
|
||||
* A class used to overcome DOM 1.0 deficiencies
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.6 $ $Date: 2001/04/08 14:36:43 $
|
||||
**/
|
||||
class DOMHelper {
|
||||
|
||||
|
@ -20,17 +20,14 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: AdditiveExpr.cpp,v 1.2 2001/07/02 20:10:48 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents a AdditiveExpr, an binary expression that
|
||||
* performs an additive operation between it's lvalue and rvalue:<BR/>
|
||||
* performs an additive operation between it's lvalue and rvalue:
|
||||
* + : addition
|
||||
* - : subtraction
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.2 $ $Date: 2001/07/02 20:10:48 $
|
||||
**/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: AttributeExpr.cpp,v 1.6 2001/07/02 20:10:49 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,14 +20,11 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: AttributeValueTemplate.cpp,v 1.1 2000/04/06 07:44:42 kvisco%ziplink.net Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* AttributeValueTemplate
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.1 $ $Date: 2000/04/06 07:44:42 $
|
||||
**/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,17 +20,11 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: BasicNodeExpr.cpp,v 1.6 2001/07/02 20:10:50 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.6 $ $Date: 2001/07/02 20:10:50 $
|
||||
**/
|
||||
|
||||
//- Constructors -/
|
||||
|
||||
/**
|
||||
|
@ -26,15 +26,12 @@
|
||||
* - If the left hand was false, the right hand expression
|
||||
* was not getting checked.
|
||||
*
|
||||
* $Id: BooleanExpr.cpp,v 1.3 2001/07/02 20:10:50 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Represents a BooleanExpr, a binary expression that
|
||||
* performs a boolean operation between it's lvalue and rvalue:<BR/>
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/07/02 20:10:50 $
|
||||
* performs a boolean operation between it's lvalue and rvalue.
|
||||
**/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
* Marina Mechtcheriakova, mmarina@mindspring.com
|
||||
* -- added lang() implementation
|
||||
*
|
||||
* $Id: BooleanFunctionCall.cpp,v 1.9 2001/07/02 20:10:50 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
#include "FunctionLib.h"
|
||||
@ -32,8 +31,6 @@
|
||||
|
||||
/**
|
||||
* Creates a default BooleanFunctionCall, which always evaluates to False
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.9 $ $Date: 2001/07/02 20:10:50 $
|
||||
**/
|
||||
BooleanFunctionCall::BooleanFunctionCall(short type) : FunctionCall()
|
||||
{
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: BooleanResult.cpp,v 1.7 2001/07/02 20:10:51 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: ElementExpr.cpp,v 1.7 2001/07/02 20:10:51 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,17 +20,11 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: ErrorFunctionCall.cpp,v 1.1 2000/04/06 07:45:23 kvisco%ziplink.net Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "FunctionLib.h"
|
||||
|
||||
/**
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.1 $ $Date: 2000/04/06 07:45:23 $
|
||||
**/
|
||||
|
||||
/**
|
||||
* Creates an Error FunctionCall with no error message
|
||||
**/
|
||||
|
@ -28,7 +28,6 @@
|
||||
* -- removal of Patterns and some restructuring
|
||||
* in the class set
|
||||
*
|
||||
* $Id: Expr.h,v 1.15 2001/07/02 20:10:52 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -49,7 +48,6 @@
|
||||
/*
|
||||
XPath class definitions.
|
||||
Much of this code was ported from XSL:P.
|
||||
@version $Revision: 1.15 $ $Date: 2001/07/02 20:10:52 $
|
||||
*/
|
||||
|
||||
//necessary prototypes
|
||||
@ -100,8 +98,8 @@ public:
|
||||
/**
|
||||
* Sorts the given NodeSet by DocumentOrder.
|
||||
* @param nodes the NodeSet to sort
|
||||
* <BR />
|
||||
* <B>Note:</B> I will be moving this functionality elsewhere soon
|
||||
*
|
||||
* Note: I will be moving this functionality elsewhere soon
|
||||
**/
|
||||
virtual void sortByDocumentOrder(NodeSet* nodes) = 0;
|
||||
|
||||
@ -560,7 +558,7 @@ private:
|
||||
|
||||
/**
|
||||
* Represents an AdditiveExpr, a binary expression that
|
||||
* performs an additive operation between it's lvalue and rvalue:<BR/>
|
||||
* performs an additive operation between it's lvalue and rvalue:
|
||||
* + : add
|
||||
* - : subtract
|
||||
**/
|
||||
@ -609,7 +607,7 @@ private:
|
||||
|
||||
/**
|
||||
* Represents a BooleanExpr, a binary expression that
|
||||
* performs a boolean operation between it's lvalue and rvalue:<BR/>
|
||||
* performs a boolean operation between it's lvalue and rvalue.
|
||||
**/
|
||||
class BooleanExpr : public Expr {
|
||||
|
||||
@ -635,7 +633,7 @@ private:
|
||||
|
||||
/**
|
||||
* Represents a MultiplicativeExpr, a binary expression that
|
||||
* performs a multiplicative operation between it's lvalue and rvalue:<BR/>
|
||||
* performs a multiplicative operation between it's lvalue and rvalue:
|
||||
* * : multiply
|
||||
* mod : modulus
|
||||
* div : divide
|
||||
@ -666,7 +664,7 @@ private:
|
||||
|
||||
/**
|
||||
* Represents a RelationalExpr, an expression that compares it's lvalue
|
||||
* to it's rvalue using:<BR/>
|
||||
* to it's rvalue using:
|
||||
* = : equal to
|
||||
* < : less than
|
||||
* > : greater than
|
||||
@ -707,7 +705,7 @@ private:
|
||||
}; //-- RelationalExpr
|
||||
|
||||
/**
|
||||
* VariableRefExpr<BR>
|
||||
* VariableRefExpr
|
||||
* Represents a variable reference ($refname)
|
||||
**/
|
||||
class VariableRefExpr : public Expr {
|
||||
|
@ -32,13 +32,10 @@
|
||||
* Axel Hecht <axel@pike.org>
|
||||
* -- big beating, general overhaul
|
||||
*
|
||||
* $Id: ExprLexer.cpp,v 1.15 2001/06/30 13:54:27 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Lexical analyzer for XPath expressions
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.15 $ $Date: 2001/06/30 13:54:27 $
|
||||
**/
|
||||
|
||||
#include "ExprLexer.h"
|
||||
|
@ -36,10 +36,9 @@
|
||||
|
||||
/**
|
||||
* A Token class for the ExprLexer.
|
||||
* <BR />
|
||||
*
|
||||
* This class was ported from XSL:P, an open source Java based
|
||||
* XSLT processor, written by yours truly.
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
**/
|
||||
class Token {
|
||||
|
||||
@ -135,8 +134,7 @@ public:
|
||||
* A class for splitting an "Expr" String into tokens and
|
||||
* performing basic Lexical Analysis.
|
||||
*
|
||||
* <BR>This class was ported from XSL:P, an open source Java based XSL processor
|
||||
* @author <a href="mailto:kvisco@mitre.org">Keith Visco</a>
|
||||
* This class was ported from XSL:P, an open source Java based XSL processor
|
||||
**/
|
||||
class ExprLexer {
|
||||
|
||||
|
@ -30,15 +30,12 @@
|
||||
* -- fixed bug in ::parsePredicates,
|
||||
* made sure we continue looking for more predicates.
|
||||
*
|
||||
* $Id: ExprParser.cpp,v 1.16 2001/07/02 20:10:52 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* ExprParser
|
||||
* This class is used to parse XSL Expressions
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @see ExprLexer
|
||||
* @version $Revision: 1.16 $ $Date: 2001/07/02 20:10:52 $
|
||||
**/
|
||||
|
||||
#include "ExprParser.h"
|
||||
|
@ -20,15 +20,12 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: ExprParser.h,v 1.6 2001/07/02 20:10:54 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* ExprParser
|
||||
* This class is used to parse XSL Expressions
|
||||
* @author <A href="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.6 $ $Date: 2001/07/02 20:10:54 $
|
||||
* @see ExprLexer
|
||||
**/
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
* Larry Fitzpatrick, OpenText, lef@opentext.com
|
||||
* -- changed constant short result types to enum
|
||||
*
|
||||
* $Id: ExprResult.h,v 1.11 2001/07/02 20:10:55 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef TRANSFRMX_EXPRRESULT_H
|
||||
@ -34,11 +33,11 @@
|
||||
|
||||
/*
|
||||
* ExprResult
|
||||
* <BR />
|
||||
*
|
||||
* Classes Represented:
|
||||
* BooleanResult, ExprResult, NumberResult, StringResult
|
||||
* <BR/>
|
||||
* Note: for NodeSet, see NodeSet.h <BR />
|
||||
*
|
||||
* Note: for NodeSet, see NodeSet.h
|
||||
*/
|
||||
|
||||
class ExprResult : public TxObject {
|
||||
@ -105,6 +104,9 @@ public:
|
||||
NumberResult();
|
||||
NumberResult(double dbl);
|
||||
|
||||
double getValue() const;
|
||||
MBool isNaN() const;
|
||||
|
||||
virtual short getResultType();
|
||||
virtual void stringValue(String& str);
|
||||
virtual MBool booleanValue();
|
||||
|
@ -18,8 +18,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: ExtensionFunctionCall.cpp,v 1.2 2001/07/02 09:24:10 peterv%netscape.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "FunctionLib.h"
|
||||
|
@ -22,20 +22,13 @@
|
||||
* -- original author.
|
||||
* Bob Miller, kbob@oblix.com
|
||||
* -- plugged core leak.
|
||||
*
|
||||
* $Id: FilterExpr.cpp,v 1.3 2001/07/02 21:12:21 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/07/02 21:12:21 $
|
||||
**/
|
||||
//-- Implementation of FilterExpr --/
|
||||
|
||||
|
||||
/**
|
||||
* Creates a new FilterExpr using the given Expr
|
||||
* @param expr the Expr to use for evaluation
|
||||
|
@ -20,16 +20,13 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: FunctionCall.cpp,v 1.4 2001/07/02 20:10:56 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
||||
/**
|
||||
* This class represents a FunctionCall as defined by the XSL Working Draft
|
||||
* @author <A HREF="mailto:kvisco@ziplink">Keith Visco</A>
|
||||
* @version $Revision: 1.4 $ $Date: 2001/07/02 20:10:56 $
|
||||
**/
|
||||
|
||||
const String FunctionCall::INVALID_PARAM_COUNT =
|
||||
|
@ -27,7 +27,6 @@
|
||||
* Marina Mechtcheriakova
|
||||
* -- added support for lang function
|
||||
*
|
||||
* $Id: FunctionLib.h,v 1.11 2001/07/02 20:10:57 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef TRANSFRMX_FUNCTIONLIB_H
|
||||
|
@ -20,13 +20,11 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: LocationStep.cpp,v 1.9 2001/07/02 20:10:57 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
Implementation of an XPath LocationStep
|
||||
@version $Revision: 1.9 $ $Date: 2001/07/02 20:10:57 $
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,18 +20,15 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: MultiplicativeExpr.cpp,v 1.3 2001/07/02 20:10:57 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents a MultiplicativeExpr, an binary expression that
|
||||
* performs a multiplicative operation between it's lvalue and rvalue:<BR/>
|
||||
* performs a multiplicative operation between it's lvalue and rvalue:
|
||||
* * : multiply
|
||||
* mod : modulus
|
||||
* div : divide
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/07/02 20:10:57 $
|
||||
**/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -36,10 +36,8 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* NodeSet <BR />
|
||||
* This class was ported from XSL:P. <BR />
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.10 $ $Date: 2001/07/02 20:10:57 $
|
||||
* NodeSet
|
||||
* This class was ported from XSL:P.
|
||||
**/
|
||||
|
||||
|
||||
|
@ -24,13 +24,10 @@
|
||||
* Larry Fitzpatrick, OpenText, lef@opentext.com
|
||||
* -- moved initialization of DEFAULT_SIZE to NodeSet.cpp
|
||||
*
|
||||
* $Id: NodeSet.h,v 1.8 2001/07/02 20:10:58 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* NodeSet
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.8 $ $Date: 2001/07/02 20:10:58 $
|
||||
**/
|
||||
|
||||
#ifndef TRANSFRMX_NODESET_H
|
||||
|
@ -23,15 +23,12 @@
|
||||
*
|
||||
* Marina Mechtcheriakova, mmarina@mindspring.com
|
||||
* -- changed some behavoir to be more compliant with spec
|
||||
*
|
||||
* $Id: NodeSetFunctionCall.cpp,v 1.8 2001/07/02 20:10:59 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* NodeSetFunctionCall
|
||||
* A representation of the XPath NodeSet funtions
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.8 $ $Date: 2001/07/02 20:10:59 $
|
||||
**/
|
||||
|
||||
#include "FunctionLib.h"
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: NumberExpr.cpp,v 1.3 2001/07/02 20:11:00 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
* Nisheeth Ranjan, nisheeth@netscape.com
|
||||
* -- implemented rint function, which was not available on Windows.
|
||||
*
|
||||
* $Id: NumberFunctionCall.cpp,v 1.14 2001/07/02 20:11:00 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -20,15 +20,12 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: NumberResult.cpp,v 1.7 2001/07/02 20:11:00 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* NumberResult
|
||||
* Represents the a number as the result of evaluating an Expr
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.7 $ $Date: 2001/07/02 20:11:00 $
|
||||
**/
|
||||
|
||||
#include "ExprResult.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
* - foo//bar would not match properly if there was more than
|
||||
* one node in the NodeSet (nodes) on the final iteration
|
||||
*
|
||||
* $Id: PathExpr.cpp,v 1.10 2001/07/02 23:40:23 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: PredicateList.cpp,v 1.4 2001/07/02 20:11:01 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
@ -29,8 +28,6 @@
|
||||
/**
|
||||
* Represents an ordered list of Predicates,
|
||||
* for use with Step and Filter Expressions
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.4 $ $Date: 2001/07/02 20:11:01 $
|
||||
**/
|
||||
//-- PredicateList Implementation --/
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: RelationalExpr.cpp,v 1.6 2001/07/02 20:11:02 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: RootExpr.cpp,v 1.2 2001/07/02 20:11:03 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,16 +20,13 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: StringExpr.cpp,v 1.4 2001/07/02 20:11:04 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
||||
/**
|
||||
* StringExpr
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.4 $ $Date: 2001/07/02 20:11:04 $
|
||||
**/
|
||||
|
||||
/**
|
||||
|
@ -21,14 +21,11 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: StringFunctionCall.cpp,v 1.12 2001/07/02 20:11:05 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* StringFunctionCall
|
||||
* A representation of the XPath String funtions
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.12 $ $Date: 2001/07/02 20:11:05 $
|
||||
**/
|
||||
|
||||
#include "FunctionLib.h"
|
||||
|
@ -20,15 +20,12 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: StringResult.cpp,v 1.8 2001/07/02 20:11:05 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* StringResult
|
||||
* Represents a String as a Result of evaluating an Expr
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.8 $ $Date: 2001/07/02 20:11:05 $
|
||||
**/
|
||||
#include "ExprResult.h"
|
||||
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: TextExpr.cpp,v 1.5 2001/07/02 20:11:05 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: UnionExpr.cpp,v 1.3 2001/07/02 20:11:05 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Contributor(s):
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: VariableRefExpr.cpp,v 1.2 2001/07/02 20:11:05 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Expr.h"
|
||||
|
@ -24,13 +24,10 @@
|
||||
* Marina Mechtcheriakova, mmarina@mindspring.com
|
||||
* -- added LANG_FN
|
||||
*
|
||||
* $Id: XPathNames.cpp,v 1.4 2001/01/12 20:06:37 axel%pike.org Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* XPath names
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.4 $ $Date: 2001/01/12 20:06:37 $
|
||||
**/
|
||||
|
||||
#include "FunctionLib.h"
|
||||
|
@ -28,14 +28,11 @@
|
||||
* W3C XPath 1.0 Recommendation
|
||||
* -- Added lang attr declaration
|
||||
*
|
||||
* $Id: Names.cpp,v 1.11 2001/06/26 11:58:51 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* XSL names used throughout the XSLProcessor.
|
||||
* Probably should be wrapped in a Namespace
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.11 $ $Date: 2001/06/26 11:58:51 $
|
||||
**/
|
||||
#include "Names.h"
|
||||
|
||||
|
@ -26,8 +26,7 @@
|
||||
* PRECEDING_SIBLING_AXIS to be compatible with the
|
||||
* W3C XPath 1.0 Recommendation
|
||||
* -- Added lang attr declaration
|
||||
|
||||
* $Id: Names.h,v 1.10 2001/06/26 11:58:51 sicking%bigfoot.com Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef TRANSFRMX_NAMES_H
|
||||
|
@ -21,13 +21,10 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: Numbering.cpp,v 1.3 2001/07/02 09:24:26 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Numbering methods
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/07/02 09:24:26 $
|
||||
**/
|
||||
|
||||
#include "Numbering.h"
|
||||
|
@ -21,13 +21,10 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: Numbering.h,v 1.3 2001/04/08 14:39:02 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Numbering methods
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/04/08 14:39:02 $
|
||||
**/
|
||||
|
||||
#ifndef MITREXSL_NUMBERING_H
|
||||
|
@ -19,18 +19,11 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: OutputFormat.cpp,v 1.1 2000/04/06 07:46:36 kvisco%ziplink.net Exp $
|
||||
*/
|
||||
|
||||
|
||||
#include "OutputFormat.h"
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.1 $ $Date: 2000/04/06 07:46:36 $
|
||||
**/
|
||||
|
||||
|
||||
/**
|
||||
* Creates a new OutputFormat with the default values.
|
||||
**/
|
||||
|
@ -19,7 +19,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: OutputFormat.h,v 1.2 2000/04/12 22:33:34 nisheeth%netscape.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -29,10 +28,6 @@
|
||||
#include "TxString.h"
|
||||
#include "baseutils.h"
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.2 $ $Date: 2000/04/12 22:33:34 $
|
||||
**/
|
||||
class OutputFormat {
|
||||
|
||||
public:
|
||||
|
@ -30,7 +30,6 @@
|
||||
/**
|
||||
* Implementation of ProcessorState
|
||||
* Much of this code was ported from XSL:P
|
||||
* @version $Revision: 1.34 $ $Date: 2001/06/30 13:54:38 $
|
||||
**/
|
||||
|
||||
#include "ProcessorState.h"
|
||||
@ -865,8 +864,8 @@ FunctionCall* ProcessorState::resolveFunctionCall(const String& name) {
|
||||
/**
|
||||
* Sorts the given NodeSet by DocumentOrder.
|
||||
* @param nodes the NodeSet to sort
|
||||
* <BR />
|
||||
* <B>Note:</B> I will be moving this functionality elsewhere soon
|
||||
*
|
||||
* Note: I will be moving this functionality elsewhere soon
|
||||
**/
|
||||
void ProcessorState::sortByDocumentOrder(NodeSet* nodes) {
|
||||
if ((!nodes) || (nodes->size() < 2)) return;
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: ProcessorState.h,v 1.15 2001/06/26 11:58:52 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -44,8 +43,6 @@ class txXSLKey;
|
||||
|
||||
/**
|
||||
* Class used for keeping the current state of the XSL Processor
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.15 $ $Date: 2001/06/26 11:58:52 $
|
||||
**/
|
||||
class ProcessorState : public ContextState {
|
||||
|
||||
@ -317,8 +314,8 @@ public:
|
||||
/**
|
||||
* Sorts the given NodeSet by DocumentOrder.
|
||||
* @param nodes the NodeSet to sort
|
||||
* <BR />
|
||||
* <B>Note:</B> I will be moving this functionality elsewhere soon
|
||||
*
|
||||
* Note: I will be moving this functionality elsewhere soon
|
||||
**/
|
||||
virtual void sortByDocumentOrder(NodeSet* nodes);
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: VariableBinding.cpp,v 1.1 2000/04/06 07:46:52 kvisco%ziplink.net Exp $
|
||||
*/
|
||||
|
||||
#include "VariableBinding.h"
|
||||
@ -29,8 +28,6 @@
|
||||
|
||||
/**
|
||||
* Creates a variable binding with no name or value
|
||||
* @author <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>
|
||||
* @version $Revision: 1.1 $ $Date: 2000/04/06 07:46:52 $
|
||||
**/
|
||||
VariableBinding::VariableBinding() {
|
||||
this->allowShadow = MB_FALSE;
|
||||
|
@ -21,7 +21,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: VariableBinding.h,v 1.3 2001/04/08 14:39:21 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef MITREXSL_VARIABLE_H
|
||||
@ -31,10 +30,6 @@
|
||||
#include "TxString.h"
|
||||
#include "ExprResult.h"
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.3 $ $Date: 2001/04/08 14:39:21 $
|
||||
**/
|
||||
class VariableBinding : public TxObject {
|
||||
|
||||
public:
|
||||
|
@ -72,8 +72,6 @@
|
||||
|
||||
/**
|
||||
* XSLTProcessor is a class for Processing XSL stylesheets
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.62 $ $Date: 2001/06/30 10:59:41 $
|
||||
**/
|
||||
|
||||
/**
|
||||
|
@ -61,8 +61,6 @@
|
||||
|
||||
/**
|
||||
* A class for Processing XSL Stylesheets
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.24 $ $Date: 2001/06/26 11:58:53 $
|
||||
**/
|
||||
class XSLTProcessor
|
||||
#ifndef TX_EXE
|
||||
|
@ -20,7 +20,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: GenerateIdFunctionCall.cpp,v 1.4 2001/04/08 14:38:29 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "XSLTFunctions.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
* Jonas Sicking,
|
||||
* -- added txXSLKey class
|
||||
*
|
||||
* $Id: XSLTFunctions.h,v 1.7 2001/06/26 11:58:56 sicking%bigfoot.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef TRANSFRMX_XSLT_FUNCTIONS_H
|
||||
|
@ -20,7 +20,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: NodeSorter.cpp,v 1.5 2001/04/08 14:37:45 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: NodeSorter.h,v 1.3 2001/04/08 14:38:57 peterv%netscape.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user