submitted 1.2.0

This commit is contained in:
Guenter Obiltschnig
2006-08-29 07:10:35 +00:00
parent f476bd6b32
commit 2d4078f392
1428 changed files with 25715 additions and 12456 deletions

View File

@@ -1,7 +1,7 @@
#
# sample.vmsbuild
#
# $Id: //poco/1.1.0/XML/samples/DOMParser/DOMParser.vmsbuild#1 $
# $Id: //poco/1.2/XML/samples/DOMParser/DOMParser.vmsbuild#1 $
#
EXE=DOMParser
DOMParser

View File

@@ -1,7 +1,7 @@
#
# Makefile
#
# $Id: //poco/1.1.0/XML/samples/DOMParser/Makefile#1 $
# $Id: //poco/1.2/XML/samples/DOMParser/Makefile#1 $
#
# Makefile for Poco DOMParser
#
@@ -12,6 +12,6 @@ objects = DOMParser
target = DOMParser
target_version = 1
target_libs = PocoFoundation PocoXML
target_libs = PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec

View File

@@ -1,7 +1,7 @@
//
// DOMParser.cpp
//
// $Id: //poco/1.1.0/XML/samples/DOMParser/src/DOMParser.cpp#2 $
// $Id: //poco/1.2/XML/samples/DOMParser/src/DOMParser.cpp#1 $
//
// This sample demonstrates the DOMParser, AutoPtr and
// NodeIterator classes.
@@ -33,24 +33,24 @@
//
#include "DOM/DOMParser.h"
#include "DOM/Document.h"
#include "DOM/NodeIterator.h"
#include "DOM/NodeFilter.h"
#include "DOM/AutoPtr.h"
#include "SAX/InputSource.h"
#include "Foundation/Exception.h"
#include "Poco/DOM/DOMParser.h"
#include "Poco/DOM/Document.h"
#include "Poco/DOM/NodeIterator.h"
#include "Poco/DOM/NodeFilter.h"
#include "Poco/DOM/AutoPtr.h"
#include "Poco/SAX/InputSource.h"
#include "Poco/Exception.h"
#include <iostream>
using XML::DOMParser;
using XML::InputSource;
using XML::Document;
using XML::NodeIterator;
using XML::NodeFilter;
using XML::Node;
using XML::AutoPtr;
using Foundation::Exception;
using Poco::XML::DOMParser;
using Poco::XML::InputSource;
using Poco::XML::Document;
using Poco::XML::NodeIterator;
using Poco::XML::NodeFilter;
using Poco::XML::Node;
using Poco::XML::AutoPtr;
using Poco::Exception;
int main(int argc, char** argv)

View File

@@ -1,7 +1,7 @@
#
# sample.vmsbuild
#
# $Id: //poco/1.1.0/XML/samples/DOMWriter/DOMWriter.vmsbuild#1 $
# $Id: //poco/1.2/XML/samples/DOMWriter/DOMWriter.vmsbuild#1 $
#
EXE=DOMWriter
DOMWriter

View File

@@ -1,7 +1,7 @@
#
# Makefile
#
# $Id: //poco/1.1.0/XML/samples/DOMWriter/Makefile#1 $
# $Id: //poco/1.2/XML/samples/DOMWriter/Makefile#1 $
#
# Makefile for Poco DOMWriter
#
@@ -12,6 +12,6 @@ objects = DOMWriter
target = DOMWriter
target_version = 1
target_libs = PocoFoundation PocoXML
target_libs = PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec

View File

@@ -1,7 +1,7 @@
//
// DOMWriter.cpp
//
// $Id: //poco/1.1.0/XML/samples/DOMWriter/src/DOMWriter.cpp#2 $
// $Id: //poco/1.2/XML/samples/DOMWriter/src/DOMWriter.cpp#1 $
//
// This sample demonstrates the DOMWriter class and how to
// build DOM documents in memory.
@@ -33,21 +33,21 @@
//
#include "DOM/Document.h"
#include "DOM/Element.h"
#include "DOM/Text.h"
#include "DOM/AutoPtr.h"
#include "DOM/DOMWriter.h"
#include "XML/XMLWriter.h"
#include "Poco/DOM/Document.h"
#include "Poco/DOM/Element.h"
#include "Poco/DOM/Text.h"
#include "Poco/DOM/AutoPtr.h"
#include "Poco/DOM/DOMWriter.h"
#include "Poco/XML/XMLWriter.h"
#include <iostream>
using XML::Document;
using XML::Element;
using XML::Text;
using XML::AutoPtr;
using XML::DOMWriter;
using XML::XMLWriter;
using Poco::XML::Document;
using Poco::XML::Element;
using Poco::XML::Text;
using Poco::XML::AutoPtr;
using Poco::XML::DOMWriter;
using Poco::XML::XMLWriter;
int main(int argc, char** argv)

View File

@@ -1,12 +1,14 @@
#
# Makefile
#
# $Id: //poco/1.1.0/XML/samples/Makefile#1 $
# $Id: //poco/1.2/XML/samples/Makefile#1 $
#
# Makefile for Poco XML Samples
#
.DEFAULT all:
.PHONY: projects
clean all: projects
projects:
$(MAKE) -C DOMParser $(MAKECMDGOALS)
$(MAKE) -C DOMWriter $(MAKECMDGOALS)
$(MAKE) -C PrettyPrint $(MAKECMDGOALS)

View File

@@ -1,7 +1,7 @@
#
# Makefile
#
# $Id: //poco/1.1.0/XML/samples/PrettyPrint/Makefile#1 $
# $Id: //poco/1.2/XML/samples/PrettyPrint/Makefile#1 $
#
# Makefile for Poco PrettyPrint
#
@@ -12,6 +12,6 @@ objects = PrettyPrint
target = PrettyPrint
target_version = 1
target_libs = PocoFoundation PocoXML
target_libs = PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec

View File

@@ -1,7 +1,7 @@
#
# sample.vmsbuild
#
# $Id: //poco/1.1.0/XML/samples/PrettyPrint/PrettyPrint.vmsbuild#1 $
# $Id: //poco/1.2/XML/samples/PrettyPrint/PrettyPrint.vmsbuild#1 $
#
EXE=PrettyPrint
PrettyPrint

View File

@@ -1,7 +1,7 @@
//
// PrettyPrint.cpp
//
// $Id: //poco/1.1.0/XML/samples/PrettyPrint/src/PrettyPrint.cpp#2 $
// $Id: //poco/1.2/XML/samples/PrettyPrint/src/PrettyPrint.cpp#1 $
//
// This sample demonstrates the SAXParser, WhitespaceFilter,
// InputSource and XMLWriter classes.
@@ -33,20 +33,20 @@
//
#include "SAX/SAXParser.h"
#include "SAX/WhitespaceFilter.h"
#include "SAX/InputSource.h"
#include "XML/XMLWriter.h"
#include "Foundation/Exception.h"
#include "Poco/SAX/SAXParser.h"
#include "Poco/SAX/WhitespaceFilter.h"
#include "Poco/SAX/InputSource.h"
#include "Poco/XML/XMLWriter.h"
#include "Poco/Exception.h"
#include <iostream>
using XML::SAXParser;
using XML::XMLReader;
using XML::WhitespaceFilter;
using XML::InputSource;
using XML::XMLWriter;
using Foundation::Exception;
using Poco::XML::SAXParser;
using Poco::XML::XMLReader;
using Poco::XML::WhitespaceFilter;
using Poco::XML::InputSource;
using Poco::XML::XMLWriter;
using Poco::Exception;
int main(int argc, char** argv)
@@ -61,7 +61,7 @@ int main(int argc, char** argv)
filter.setContentHandler(&writer);
filter.setDTDHandler(&writer);
filter.setProperty(XMLReader::PROPERTY_LEXICAL_HANDLER, static_cast<XML::LexicalHandler*>(&writer));
filter.setProperty(XMLReader::PROPERTY_LEXICAL_HANDLER, static_cast<Poco::XML::LexicalHandler*>(&writer));
try
{

View File

@@ -1,7 +1,7 @@
#
# Makefile
#
# $Id: //poco/1.1.0/XML/samples/SAXParser/Makefile#1 $
# $Id: //poco/1.2/XML/samples/SAXParser/Makefile#1 $
#
# Makefile for Poco SAXParser
#
@@ -12,6 +12,6 @@ objects = SAXParser
target = SAXParser
target_version = 1
target_libs = PocoFoundation PocoXML
target_libs = PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec

View File

@@ -1,7 +1,7 @@
#
# sample.vmsbuild
#
# $Id: //poco/1.1.0/XML/samples/SAXParser/SAXParser.vmsbuild#1 $
# $Id: //poco/1.2/XML/samples/SAXParser/SAXParser.vmsbuild#1 $
#
EXE=SAXParser
SAXParser

View File

@@ -1,7 +1,7 @@
//
// SAXParser.cpp
//
// $Id: //poco/1.1.0/XML/samples/SAXParser/src/SAXParser.cpp#2 $
// $Id: //poco/1.2/XML/samples/SAXParser/src/SAXParser.cpp#1 $
//
// This sample demonstrates the SAXParser class.
//
@@ -32,23 +32,23 @@
//
#include "SAX/SAXParser.h"
#include "SAX/ContentHandler.h"
#include "SAX/LexicalHandler.h"
#include "SAX/Attributes.h"
#include "SAX/Locator.h"
#include "Foundation/Exception.h"
#include "Poco/SAX/SAXParser.h"
#include "Poco/SAX/ContentHandler.h"
#include "Poco/SAX/LexicalHandler.h"
#include "Poco/SAX/Attributes.h"
#include "Poco/SAX/Locator.h"
#include "Poco/Exception.h"
#include <iostream>
using XML::SAXParser;
using XML::XMLReader;
using XML::XMLString;
using XML::XMLChar;
using XML::ContentHandler;
using XML::LexicalHandler;
using XML::Attributes;
using XML::Locator;
using Poco::XML::SAXParser;
using Poco::XML::XMLReader;
using Poco::XML::XMLString;
using Poco::XML::XMLChar;
using Poco::XML::ContentHandler;
using Poco::XML::LexicalHandler;
using Poco::XML::Attributes;
using Poco::XML::Locator;
class MyHandler: public ContentHandler, public LexicalHandler
@@ -205,7 +205,7 @@ int main(int argc, char** argv)
{
parser.parse(argv[1]);
}
catch (Foundation::Exception& e)
catch (Poco::Exception& e)
{
std::cerr << e.displayText() << std::endl;
return 2;