You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ja...@apache.org on 2001/10/07 05:02:30 UTC
cvs commit: xml-xerces/perl .cvsignore ChangeLog MANIFEST TODO
jasons 01/10/06 20:02:30
Modified: perl .cvsignore ChangeLog MANIFEST TODO
Log:
usual
Revision Changes Path
1.8 +6 -6 xml-xerces/perl/.cvsignore
Index: .cvsignore
===================================================================
RCS file: /home/cvs/xml-xerces/perl/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore 2001/09/10 03:46:35 1.7
+++ .cvsignore 2001/10/07 03:02:30 1.8
@@ -14,13 +14,13 @@
XML-Xerces-1.5.4.tar.gz
XML-Xerces-1.5.5.tar.gz
XML-Xerces-1.5.5.tar.gz.asc
-Xerces.C
-Xerces.C.1.1
-Xerces.C.1.3
+XML-Xerces-1.5.6.tar.gz
+XML-Xerces-1.5.6.tar.gz.asc
+XML-Xerces-1.5.7.tar.gz
Xerces.bs
-Xerces.pm
-Xerces.pm.1.1
-Xerces.pm.1.3
blib
foo.C
+foo.i
+foo.pm
+log-sax.txt
pm_to_blib
1.33 +163 -0 xml-xerces/perl/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /home/cvs/xml-xerces/perl/ChangeLog,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ChangeLog 2001/09/10 17:57:29 1.32
+++ ChangeLog 2001/10/07 03:02:30 1.33
@@ -1,3 +1,166 @@
+2001-10-06 Jason E. Stewart <ja...@openinformatics.com>
+
+ * t/XMLException.t (Repository):
+ Added test for getCode()
+ Added test for XML::Xerces::PerlXMLExceptionHandler::catch()
+
+ * t/URLInputSource.t (Repository):
+ Added test for XMLURL creation
+ Added test for URLInputSource creation
+ Added test for URLInputSource overloaded constructors
+ Added test for malformed URL exception
+
+ * t/TestUtils.pm (Repository):
+ Added support for schema files
+ Added is_object()
+
+ * t/StdInInputSource.t (Repository):
+ Added simple test for creating an input source
+
+ * t/SAXParser.t (Repository):
+ added test for parse($filename)
+ added test for progressive parse
+ added test for reusing parse after aborted progressive parse
+
+ * t/PerlErrorHandler.t (Repository):
+ Made the second test a validating parser test.
+
+ * t/MemBufInputSource.t (Repository):
+ test that fake system id is optional
+
+ * t/LocalFileInputSource.t (Repository):
+ test for relative paths
+ test for bogus relative paths
+ test for overloaded operator
+
+ * t/IDOMParser.t (Repository):
+ Test ignorable whitespace handling
+
+ * t/EntityResolver.t (Repository):
+ Test resolution of schema with xsi:noNamespaceSchemaLocation
+
+ * t/DOM_Element.t (Repository):
+ Test operator=
+
+ * t/DOMParser.t (Repository):
+ Test for progressive parsing
+ Attempt to test reuse of a parser after a fatal progressive
+ parse.
+ Test ignorable whitespace handling
+
+ * t/DOMException.t (Repository):
+ No longer needed fake system id
+
+ * Makefile.PL (Repository):
+ Added newlines to output
+ Added preSWIG.pl for creating private headers automatically
+ New version (1.5.7)
+
+ * Xerces.i (Repository):
+ Switched from #include <> to #include ""
+ Removed typemaps
+ Added EXPORT_* #defines
+ Now using %ignore to remove redundant methods
+ Using %rename for overloaded methods and constructors
+ Fully implemented:
+ *Parser
+ XMLPScanToken
+ *InputSource
+ XMLURL
+ *::operator=
+ *::operator==
+ *::operator!=
+ Using %except to handle exceptions
+ Only using private headers for files with parse errors:
+ framework/StdInInputSource.hpp
+ framework/XMLPScanToken.hpp
+ util/PlatformUtils.hpp
+ util/XMLURL.hpp
+ util/XMLUri.hpp
+ Removed all depricate methods for *Parser classes
+ Removed all XMLDocumentHandler, and XMLEntityHandler methods for
+ *Parser classes
+
+ * postSource.pl (Repository):
+ As of SWIG-1.3.10-pre1, got rid of operator handling
+ remove_method(), fix_method(), and skipt_to_closing_brace() now in
+ SWIG.pm
+ added use strict
+ removed exception handling
+
+ * postModule.pl (Repository):
+ As of SWIG-1.3.10-pre1, got rid of operator handling
+ Added copy constructor list for DOM methods.
+ added use strict
+ We're only adding DESTROY() to classes we know are safe.
+ Joined I?DOMNodeList methods
+ Joined I?DOMNamedNodeMap methods
+ Joined I?DOMNode methods
+ Fix setAttributes() so that undefined values don't cause segfaults
+ Removed hard-coded DESTROY()'s
+ PerlErrorHandler::* now use warn() or die()
+ PerlXMLExceptionHandler -- bogus hack that needs to die, but at
+ least XMLExceptions are now caught.
+ remove_method(), fix_method(), and skipt_to_closing_brace() now in
+ SWIG.pm
+
+ * Xerces.pm (Repository):
+ * Xerces.C (Repository):
+ Adding it to CVS even though it's auto-generated, I want people to
+ be able to check out from CVS and build w/o SWIG
+
+ * preSwig.pl (Repository):
+ No longer handles operator overloading.
+ Now handles multiple classes in one header file
+
+ * typemaps.i (Repository):
+ removed a SWIG 1.1 #ifdef
+ added const XMLByte* const srcDocBytes
+
+ * Handler (Repository):
+ removed all uses of cerr, and used croak() instead.
+
+ * samples/catalog.xml (Repository):
+ Added test for schema file
+
+ * samples/DOMCount.pl (Repository):
+ Added benchmark output
+
+2001-09-24 Jason E. Stewart <ja...@openinformatics.com>
+
+ * t/InputSource.t (Repository):
+ Added generic tests for InputSource methods
+
+2001-09-16 Jason E. Stewart <ja...@openinformatics.com>
+
+ * samples/personal-no-doctype.xml (Repository):
+ Some test scripts write out XML and don't know from which
+ directory they are being executed, so we need an example
+ example without a DOCTYPE.
+
+
+ * samples/IDOMCount.pl (Repository):
+ For testing the IDOM interface
+
+ * SWIG.pm (Repository):
+ collection of useful subroutines for pre- and post-swig scripts
+
+ * typemaps.i (Repository):
+ Moved all typemap info from Xerces.i
+
+ * preSwig.pl (Repository):
+ New process script to strip inline methods off Xerces header files
+ before they are swig'ed.
+
+ * Xerces_headers/framework/URLInputSource.hpp (Repository):
+ * Xerces_headers/framework/StdInInputSource.hpp (Repository):
+ * Xerces_headers/framework/MemBufInputSource.hpp (Repository):
+ * Xerces_headers/parsers/SAXParser.hpp (Repository):
+ * Xerces_headers/parsers/IDOMParser.hpp (Repository):
+ * Xerces_headers/parsers/DOMParser.hpp (Repository):
+ * Xerces_headers/framework/LocalFileInputSource.hpp (Repository):
+ No longer need private header files
+
2001-09-10 Jason E. Stewart <ja...@openinformatics.com>
* postModule.pl (Repository):
1.14 +2 -76 xml-xerces/perl/MANIFEST
Index: MANIFEST
===================================================================
RCS file: /home/cvs/xml-xerces/perl/MANIFEST,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- MANIFEST 2001/09/06 04:48:51 1.13
+++ MANIFEST 2001/10/07 03:02:30 1.14
@@ -25,87 +25,14 @@
Makefile.PL
README
SWIG
+SWIG.pm
TODO
Xerces.i
Xerces.C
Xerces.pm
-Xerces_headers/sax2/Attributes.hpp
-Xerces_headers/sax2/ContentHandler.hpp
-Xerces_headers/sax2/DefaultHandler.hpp
-Xerces_headers/sax2/LexicalHandler.hpp
-Xerces_headers/sax2/XMLReaderFactory.hpp
-Xerces_headers/parsers/SAXParser.hpp
-Xerces_headers/sax/AttributeList.hpp
-Xerces_headers/sax/DTDHandler.hpp
-Xerces_headers/sax/DocumentHandler.hpp
-Xerces_headers/sax/EntityResolver.hpp
-Xerces_headers/sax/HandlerBase.hpp
-Xerces_headers/sax2/SAX2XMLReader.hpp
-Xerces_headers/dom/DOMString.hpp
-Xerces_headers/dom/DOM_Attr.hpp
-Xerces_headers/dom/DOM_CDATASection.hpp
-Xerces_headers/dom/DOM_CharacterData.hpp
-Xerces_headers/dom/DOM_Comment.hpp
-Xerces_headers/dom/DOM_DOMImplementation.hpp
-Xerces_headers/dom/DOM_Document.hpp
-Xerces_headers/dom/DOM_DocumentFragment.hpp
-Xerces_headers/dom/DOM_DocumentType.hpp
-Xerces_headers/dom/DOM_Element.hpp
-Xerces_headers/dom/DOM_Entity.hpp
-Xerces_headers/dom/DOM_EntityReference.hpp
-Xerces_headers/dom/DOM_NamedNodeMap.hpp
-Xerces_headers/dom/DOM_Node.hpp
-Xerces_headers/dom/DOM_NodeFilter.hpp
-Xerces_headers/dom/DOM_NodeIterator.hpp
-Xerces_headers/dom/DOM_NodeList.hpp
-Xerces_headers/dom/DOM_Notation.hpp
-Xerces_headers/dom/DOM_ProcessingInstruction.hpp
-Xerces_headers/dom/DOM_Range.hpp
-Xerces_headers/dom/DOM_Text.hpp
-Xerces_headers/dom/DOM_TreeWalker.hpp
-Xerces_headers/dom/DOM_XMLDecl.hpp
-Xerces_headers/framework/LocalFileInputSource.hpp
-Xerces_headers/framework/MemBufInputSource.hpp
Xerces_headers/framework/StdInInputSource.hpp
-Xerces_headers/framework/URLInputSource.hpp
-Xerces_headers/parsers/DOMParser.hpp
-Xerces_headers/sax/ErrorHandler.hpp
-Xerces_headers/sax/InputSource.hpp
-Xerces_headers/sax/Locator.hpp
-Xerces_headers/sax/SAXException.hpp
-Xerces_headers/sax/SAXParseException.hpp
-Xerces_headers/util/Compilers/GCCDefs.hpp
Xerces_headers/util/PlatformUtils.hpp
Xerces_headers/util/XMLURL.hpp
-Xerces_headers/util/XercesDefs.hpp
-Xerces_headers/util/XMLException.hpp
-Xerces_headers/dom/DOM_DOMException.hpp
-Xerces_headers/dom/DOM_RangeException.hpp
-Xerces_headers/idom/IDOM.hpp
-Xerces_headers/idom/IDOM_Attr.hpp
-Xerces_headers/idom/IDOM_CDATASection.hpp
-Xerces_headers/idom/IDOM_CharacterData.hpp
-Xerces_headers/idom/IDOM_Comment.hpp
-Xerces_headers/idom/IDOM_DOMException.hpp
-Xerces_headers/idom/IDOM_DOMImplementation.hpp
-Xerces_headers/idom/IDOM_Document.hpp
-Xerces_headers/idom/IDOM_DocumentFragment.hpp
-Xerces_headers/idom/IDOM_DocumentType.hpp
-Xerces_headers/idom/IDOM_Element.hpp
-Xerces_headers/idom/IDOM_Entity.hpp
-Xerces_headers/idom/IDOM_EntityReference.hpp
-Xerces_headers/idom/IDOM_NamedNodeMap.hpp
-Xerces_headers/idom/IDOM_Node.hpp
-Xerces_headers/idom/IDOM_NodeFilter.hpp
-Xerces_headers/idom/IDOM_NodeIterator.hpp
-Xerces_headers/idom/IDOM_NodeList.hpp
-Xerces_headers/idom/IDOM_Notation.hpp
-Xerces_headers/idom/IDOM_ProcessingInstruction.hpp
-Xerces_headers/idom/IDOM_Range.hpp
-Xerces_headers/idom/IDOM_RangeException.hpp
-Xerces_headers/idom/IDOM_Text.hpp
-Xerces_headers/idom/IDOM_TreeWalker.hpp
-Xerces_headers/parsers/IDOMParser.hpp
docs/apidocs.xml
docs/blueb.gif
docs/dtd/blocks.ent
@@ -124,8 +51,6 @@
docs/releases.xml
docs/samples.xml
docs/xerces-perl_book.xml
-personal.dtd
-personal.xml
postModule.pl
postSource.pl
samples/catalog.dtd
@@ -133,6 +58,7 @@
samples/personal-schema.xml
samples/personal.dtd
samples/personal.xml
+samples/personal-no-doctype.xml
samples/personal.xsd
samples/public.xml
samples/system.xml
1.10 +57 -11 xml-xerces/perl/TODO
Index: TODO
===================================================================
RCS file: /home/cvs/xml-xerces/perl/TODO,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- TODO 2001/09/06 04:48:51 1.9
+++ TODO 2001/10/07 03:02:30 1.10
@@ -30,9 +30,54 @@
Internals:
==========
+Mon Sep 24 20:17:58 MDT 2001
+* REAL EXCEPTION HANDLING via eval{}/die();
+ - throw exception objects
+ - never call cerr, use croak()
+* Finish conversion of Xerces.i to SWIG-1.3.8
+ - sax
+ - sax2
+Fixed ==> - util
+* overloaded constructors for XMLPScanToken
+* overloaded constructors for IDOM_DOMException
+* overloaded constructors for IDOM_RangeException
+* overloaded constructors for IDOM_TreeWalker
+* overloaded constructors for IDOM_NodeList
+* overloaded constructors for IDOM_Notation
+* overloaded constructors for IDOM_NamedNodeMap
+* overloaded constructors for IDOM_EntityReference
+* overloaded constructors for IDOM_Element
+* overloaded constructors for IDOM_Document
+* overloaded constructors for IDOM_DocumentFragment
+* overloaded constructors for IDOM_DocumentType
+* overloaded constructors for IDOM_Comment
+* overloaded constructors for IDOM_CharacterData
+* overloaded constructors for IDOM_CDATASection
+* overloaded constructors for IDOM_Text
+* overloaded constructors for IDOM_Node
+* overloaded constructors for QName
+* overloaded constructors for XMLUri
+* overloaded constructors for SAX*Exception
+* overloaded method for AttributeList::getValue
+* overloaded method for AttributeList::getType
+* overloaded method for XMLReaderFactory::createReaderFactory
+* overloaded method for Attributes::getValue
+* overloaded method for Attributes::getType
+* overloaded method for Attributes::getIndex
+
+* Add tests for IDOM untested features
+* Add tests for DOM untested features (should we do this if DOM is
+ to be replaced by IDOM ==> low priority)
+
+Mon Sep 10 21:28:51 MDT 2001
+Fixed ==> * Fix MemBufInputSource::new() so that it doesn't require the string
+* check memory repeated re-use of parser
+* only create DESTROY methods for objects with C++ data to be deleted,
+ that should be directly invoked, i.e. not inherited methods
+
Wed Sep 5 22:46:15 MDT 2001
-* Fix all DESTROY methods
-* check memory usage
+Fixed ==> * Fix all DESTROY methods
+Fixed ==> * check memory usage
Fri Jun 22 09:55:36 MDT 2001
Fixed ==> * add DOM_DOMImplementation
@@ -188,7 +233,8 @@
- DOM_ProcessingInstruction::operator=
- DOM_Text::DOM_Text
- DOM_Text::operator=
- - Parser::parse
+Fixed ==> - Parser::parse
+Fixed ==> - Parser::parseFirst
- SAX2XMLReader::parse
@@ -198,14 +244,14 @@
Mon May 28 20:24:51 MDT 2001
Fixed ==> * AttributeList needs to get its methods
Fixed ==> * post-source needs to handle the new SWIG_CheckType()
-* add polymorphic get{Name,Value,Type} to AttributeList
+Fixed ==> * add polymorphic get{Name,Value,Type} to AttributeList
Sat May 12 21:43:36 MDT 2001
-* setAttribute('foo'=>undef) causes segfault
+Fixed ==> * setAttribute('foo'=>undef) causes segfault
Sat May 5 18:28:19 MDT 2001
-* Find all overloaded methods that aren't being supported
-* add the rest of the handler classes:
+Fixed ==> * Find all overloaded methods that aren't being supported
+Fixed ==> * add the rest of the handler classes:
- EntityResolver
- DTDHandler
- HandlerBase
@@ -215,16 +261,16 @@
FIXED => * update SAX2Count.pl to new handler API
Sun Apr 15 23:38:26 MST 2001
-* expand XMLReaderFactory::createXMLReader to support (classname)
+Fixed ==> * expand XMLReaderFactory::createXMLReader to support (classname)
FIXED => * add the rest of the DefaultHandler interface to perlDefaultHandler
FIXED => * rename perlDocumentHandler to perlHandlerBase
FIXED => * split perlErrorHandler.hpp into .cpp
Sat Apr 14 17:30:46 MST 2001
-* expend contrustor for XMLURL to support XMLURL(baseURL,relativeURL)
+Fixed ==> * expend contrustor for XMLURL to support XMLURL(baseURL,relativeURL)
and XMLURL(XMLURL&)
-* expend XMLURL::setURL() to support (baseURL,relativeURL)
-* expend XMLURL::makeRelativeTo to support (XMLCh baseURL)
+Fixed ==> * expend XMLURL::setURL() to support (baseURL,relativeURL)
+Fixed ==> * expend XMLURL::makeRelativeTo to support (XMLCh baseURL)
* Implement a tied hash interface for NamedNodeMap
* Implement a tied array for NodeList
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org