Login   Register  
PHP Classes
elePHPant
Icontem

File: changelog.xml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of troels knak-nielsen  >  xmllib  >  changelog.xml  >  Download  
File: changelog.xml
Role: Auxiliary data
Content type: text/plain
Description: used by demonstration script
Class: xmllib
Parse XML documents without external libraries
Author: By
Last change: Patched bug with short-tags
Date: 7 years ago
Size: 4,935 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE docroot SYSTEM "changelog.dtd">
<docroot>
	<log>
		<title>Class released</title>
		<date>22 SEP 2003</date>
		<body>
		<![CDATA[
The initial release of the class
		]]>
		</body>
	</log>
	<log>
		<title>demonstration added</title>
		<date>22 SEP 2003</date>
		<body>
		<![CDATA[
changelog added as a demonstration of the class.
hasChildren() didn't work correct - fixed
		]]>
		</body>
	</log>
	<log>
		<title>Class approved</title>
		<date>24 SEP 2003</date>
		<body>
		<![CDATA[
class has been approved by phpclasses.org
		]]>
		</body>
	</log>
	<log>
		<title>Some additions</title>
		<date>17 OCT 2003</date>
		<body>
		<![CDATA[
+ reads attributes
+ ignores comments
+ some internal cleanup
		]]>
		</body>
	</log>
	<log>
		<title>Some additions</title>
		<date>22 OCT 2003</date>
		<body>
		<![CDATA[
fixed bug with file_get_contents causing failure for php < 4.3.0
		]]>
		</body>
	</log>
	<log>
		<title>Bug fix + additional feature</title>
		<date>22 OCT 2003</date>
		<body>
		<![CDATA[
+ fixed serious bug, causing nested tags to generate errors
+ added support for singlestyle closing tags eg: <br>
		]]>
		</body>
	</log>
	<log>
		<title>Heavy refactoring</title>
		<date>10 FEB 2004</date>
		<body>
		<![CDATA[
now supports correct encoding/decoding of utf-8 (preferred) and iso-8859-1
also supports #text, #cdata-sections and comments
+ getElementByID
+ getCardinality - returns the next available id (very useful for inserting records)
+ toFile - you can now use xmllib for writing
+ toArray - parse nodes into an associative array
+ nodeValue() - easy access to node's value

attribute $type changed name to nodeName to fit the general standards.
    use nodeName() to get it
class Root has been deprecated
getData() has been deprecated - use nodeValue() instead
		]]>
		</body>
	</log>
	<log>
		<title>Bugfix</title>
		<date>14 FEB 2004</date>
		<body>
		<![CDATA[
A bugfix, and some minor enhancements
+ createChild - added nodeType as second param
+ case of nodes is now ignored and converted to lowercase.
bug-fix : cdata length == 0 caused parse-error
		]]>
		</body>
	</log>
	<log>
		<title>Maintenance</title>
		<date>11 MAY 2004</date>
		<body>
		<![CDATA[
added method loadFromString to xmlParser to allow constructing document from a string
toArray bugfixed
		]]>
		</body>
	</log>
	<log>
		<title>Namespaces+ bugfix</title>
		<date>22 MAY 2004</date>
		<body>
		<![CDATA[
allowed colon-character in attributenames and nodemaes, to make room for namespaces.
fixed bug, that attributes weren't parsed for rootnode.
		]]>
		</body>
	</log>
	<log>
		<title>Improvements + documentation</title>
		<date>04 AUG 2004</date>
		<body>
		<![CDATA[
param casefolding added to xmlParser, and CAPITALS are now read in nodenames/attributenames
getAttribute, setAttribute, removeAttribute added
class Root removed
api documentation added
		]]>
		</body>
	</log>
	<log>
		<title>Closing in on DOM level 1 + bugfix</title>
		<date>05 AUG 2004</date>
		<body>
		<![CDATA[
bugifix : adopt() had a serious error

adopt() renamed to appendChild()
removeChild() added
replaceChild() added

added hasChildNodes() alias for hasChildren()
added childNodes() alias for children()
added parentNode() alias for parent()
		]]>
		</body>
	</log>
	<log>
		<title>bugfixes</title>
		<date>17 FEB 2005</date>
		<body>
		<![CDATA[
Added some new methods to cope with namespaces
nodeNameNS()
nameSpace()
Also changed nodeName() to return name without namespace

Added setNodeValue()

Fixed some quirks with utf8
		]]>
		</body>
	</log>
	<log>
		<title>bugfixes</title>
		<date>11 MAY 2005</date>
		<body>
		<![CDATA[
Added new method getElementsByNamespace()
Also prefixed all classes with XmlLib_* to prevent namespace-collitions (php namespace, that is).
Use new XmlLib_xmlParser(...) rather than new xmlParser(...)
		]]>
		</body>
	</log>
	<log>
		<title>major bugfix</title>
		<date>10 JUN 2005</date>
		<body>
		<![CDATA[
Fixed a nasty bug, causing the parser to fail when nodes contained a single character
appendChild() now returns the added node
dump() got option to not send headers
Control is returned after each trigger_error(). This probably won't have any impact on your code.
		]]>
		</body>
	</log>
	<log>
		<title>Patched bug with short-tags</title>
		<date>23 NOV 2007</date>
		<body>
		<![CDATA[
There were a bug in parsing singlet tags. Patch applied, to make this work, as submitted by Fabien Poirier.
This is a workaround, which is rather expensive in terms of efficiency, but since I'm not using this class myself any more, I don't have the time to fix the real issue.
This change hasn't been tested in any way, so if it breaks, please report it.
]]>
		</body>
	</log>
</docroot>