______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.41: * Improved performance of whitespace(Writer,char[],int,int): Checking the characters first and then writing the complete character string at once. * Added XMLChecker class for checking various symbols in the XML grammar. * XMLOutputter.dtd(String,String,String) now properly checks that the 'name' argument matches the 'Name' production in the XML grammar. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.40: * Improved functionality of build file. May have some bugs still. Based on XINS build.xml file, see http://xins.sf.net/. * Changed some directory locations. All XSLT files are now under src/xslt and all CSS files are now under src/css. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.39: * Removed deprecated classes XMLOutputterStates and SAXOutputter. * Removed deprecated class function getVersion() from class XMLOutputter. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.38: * Invalid whitespace is now properly treated as an error. This will cause an InvalidXMLException. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.37: * Checking invalid XML characters 0-8, 11, 12 and 14-31. Throwing an InvalidXMLException if any of these is found. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.36: * Using Java2HTML 1.3.1. * Fixed erroneous @link. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.35: * Applied some patches submitted by Jochen Schwoerer that implement pretty printing: - Made class XMLEncoder public again. - Added LineBreak class. - XMLOutputter now supports pretty printing by having a reference to a LineBreak to use and a reference to an indentation character string. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.34: * Improved the documentation of XMLOutputter, XMLEventListener and XMLEventListenerStates. * Added a test for XMLOutputter.endDocument(). ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.33: * Fixed some Checkstyle warning. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.32: * Fixed a bug in XMLOutputter.setState() that was triggered when the new state was UNINITIALIZED. In this case the necessary reset was not performed. * XMLOutputter.endDocument() now flushes the underlying Writer. * Tightened state checking in XMLOutputter. * Improved documentation for XMLOutputter and XMLEventListener. * Introduced interface StatefulXMLEventListener that adds the getState() method to the XMLEventListener interface. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.31: * Deprecated SAXOutputter in favor of SAXEventReceiver. * Deprecated XMLOutputterStates in favor of XMLEventListenerStates. * Added endDocument() to XMLEventListener. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.30: * Introduced XMLEventListener interface. * Introduced Library class and marked XMLOutputter.getVersion() deprecated. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.29: * SAX support added by means of new class: org.znerd.xmlenc.sax.SAXOutputter * Added methods pcdata(char[],int,int) and whitespace(char[],int,int) to the XMLOutputter class. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.28: * Switched from Checkstyle 2.x to Checkstyle 3. * Added method getElementStackCapacity() and setElementStackCapacity(int). ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.27: * Strings are no longer trimmed anywhere. This changes the behaviour of the dtd(String,String,String) and pi(String,String) methods. * Encodings are printed as they are, they are not converted to upper case. * The encoding 'ASCII' is recognized as an alias of 'US-ASCII'. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.26: * XMLOutputter.close() can now only be called when the state is either START_TAG_OPEN or WITHIN_ELEMENT. * Sticking all source files in the tar.gz distribution files. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.25: * Removed entityRef(String). Was deprecated in 0.24. * Trying to recover from OutOfMemoryErrors. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.24: * Added method setEscaping(boolean) to XMLOutputter. Deprecated entityRef(String). * Removed init(Writer,String), setState(XMLOutputter.State) and getDepth() and XMLOutputterStates.INITIAL_STATE. All were deprecated. * Added method getVersion() to XMLOutputter. It returns the version of the xmlenc library. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.23: * Added constructor XMLOutputter(Writer,encoding). * Added reset(Writer,encoding). Deprecated init(Writer,encoding). * Removed stag(String), etag() and all getInstance() methods. ______________________________________________________________________________ CHANGES INTRODUCED IN XMLENC 0.22: * Small performance improvement in init(Writer,String) and reset() methods. Instead of creating a java.util.Stack instance (to contain the open elements), the clear() method is called on the existing Stack instance. Also made the field final. This could improve the performance slightly as well. * Removed unused state VOID_WITHIN_ELEMENT. * Allowing empty CDATA sections and empty comments. * Internally using a String array instead of a Stack to keep track of the open elements. This should improve performance. * Added method: String[] getElementStack(). * Added method getElementStackSize() as a replacement for getDepth(). Deprecated getDepth(). * Added setState(State,String[]) and deprecated setState(State).