ObjectBox 1.1.0
Martin Klang <[email protected]> Tue, 12 Oct 2004 02:28:21 +0100
| Newsgroups | gmane.text.xml.o-xml |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
Long time no release!
A new version of the o:XML compiler is due. It constitutes quite a
large rewrite of the core types and the compiler/interpreter
infrastructure.
It fixes a number of problems with how the o:XML type implementations
interface with the Java engine. Now all Node calls can be overloaded by
derived types. This means that you can overload 'system' functions like
string(), boolean() etc to specialise the behaviour of certain types.
The refactored compiler also brings o:XML closer to the objective of
native code generation and target-language independence. Firstly the
core types are now all generated from o:XML templates in a way that can
be repurposed for generating Java from o:XML. Secondly the expression
parser has been updated to produce MLML output, as an intermediary step
in this transformation process.
In terms of new features, notably there's support for passing session
information to o:XML programs on the command line and within a Servlet
environment. By declaring an o:session program parameter, a Map
containing session variables will be supplied. This makes it quite easy
to develop stateful web applications. Example ->
<o:program>
<o:param name="o:session" type="Map"/>
<!-- get, set, check, remove session attributes with $o:session -->
</o:program>
The error reporting is greatly improved, and stack traces show what
o:XML function calls in what source files lead up to the error.
The release also includes refactored and updated database extensions:
it is now possible to use full expressions within SQL and result
templates.
Online documentation will be updated in the next few days to reflect
the changes.
A pre-release version is available for download now, here:
http://download.pingdynasty.com/o-xml/ObjectBox/ObjectBox-1.1.0rc1/
If you find any problems or bugs please report them to
http://bugz.pingdynasty.com/ or to this list.
have fun!
/m