Menu

MillScript-XML version 0.2.0 released

MillScript is a language intended for the batch production of websites. In the "quiet" time between releases of MillScript, I've written a new XML parser to replace the one built into Java and released an alpha version as MillScript-XML.

MillScript-XML is an alternative Java XML parsing library with its own custom API. Its based on an object oriented tokenizing approach, where rather than returning token types we return Token objects. These Token objects implement a visitor pattern to effectively combine the tokenizing and event driven styles of XML document processing.

The XML tokenizer we provide breaks the document into tokens without performing all the required well-formedness checks, so you can tokenize non-wellformed documents. As we most commonly want to perform these well-formedness checks, we encapsulate this functionality into a separate set of classes, which provide the same interface but wrap a basic non-wellformed tokenizer. This approach will allow us to also encapsulate other pieces of functionality, such as correcting XML errors such as missing start and end tags, etc or handling documents with multiple root elements.

The next release of MillScript will be using this library for its core XML template loading.

Posted by Kevin Rogers 2005-07-20

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.