cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sergeant <m...@sergeant.org>
Subject Re: XSP Implementation in PERL...
Date Mon, 22 May 2000 11:05:57 GMT
On Sun, 21 May 2000, Ricardo Rocha wrote:

> Niclas Hedhman wrote:
> > 
> > <quote origin="Matt Sergeant" email="matt@sergeant.com">
> > Sorry - I really don't have time to follow the cocoon mailing list too,
> > however you might want to tell them that their DTD for XSP is slightly
> > wrong (I figured this out when implementing XSP for AxKit - the first
> > perl
> > implementation). The problem I found was that the spec for xsp:attribute
> > 
> > is (#PCDATA), whereas it should (I think) be (#PCDATA|xsp:expr).
> > </quote>
> > 
> > AxKit can be found at;
> > http://xml.sergeant.org/axkit/
> > 
> > Niclas
> 
> Wow! XSP implemented in Perl, this is way cool!!!
> 
> Currently, I'm working on the SAX-based XSP implementation
> for Cocoon2.

Once SAX2 in Perl is working I'll be doing that for this implementation
too. Should be trivial since the code builder for this implementation is
already done using XML::Parser streams.

> 
> Coincidentially enough, right now I'm working on multiple language
> support (compiled Rhino Javascript, BSF multi-language will follow
> shortly).

BSF?

> Also coincidential, XSP is now based on a "MarkupLanguage" engine that
> allows other markup languages to be plugged.
> The first "additional" language will be "DOM-XSP", a
> backwards-compatible implementation aimed at supporting the
> existing, DOM-based XSP codebase.

I don't know if this is the same or different to my implementation: I
allow a package to say "RegisterNamespace(<ns>)", and then when that
namespace is encountered in the XSP, it passes off control to that other
package to handle that namespace.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org


Mime
View raw message