DecentXML 1.2, my own XML 1.1-compliant parser, is now available.
Sunday, August 31, 2008
Friday, August 01, 2008
Wednesday, July 30, 2008
Update to DecentXML
I've updated my XML parser. The tests now cover 97.7% of the code (well, actually 100% of the code which can be executed; there are a couple of exceptions which will never be thrown but I still have to handle them) and there are classes to read XML from InputStream and Reader sources (including encoding detection).
The XMLInputStreamReader class can be used standalone, if you ever want to read an XML file with the correct encoding.
You can download the sources and report issues in the new Google Code project I've created.
Tuesday, July 29, 2008
A Decent XML Parser
Since there isn't one, I've started writing one myself. Main features:
- Allows 100% round-tripping, even for weird whitespace between attributes in elements
- Suitable for building editors and filters which want to preserve the original file layout
- Error messages have line and column information
- Easy to reuse
- XML 1.0 compatible
You can download the latest sources here as a Maven 2 project.
Wednesday, April 23, 2008
Creating a Visual XML Editor
A long time ago, I've complained about XML editors and that there is no decent XML editor out there which you can use as the basis for a nice visual editor for your custom XML format.
It seems my prayers have been heard.