On Mon, Nov 12, 2001 at 11:02:53AM +0100, Leo Sutic wrote:
> 
> 
> > -----Original Message-----
> > From: Jeff Turner [mailto:[EMAIL PROTECTED]
> > Sent: den 12 november 2001 10:46
> > To: Avalon Developers List
> > Subject: Re: Namespace implementation too XML-specific
> >
> 
> <mail:cut/>
> 
> >  - Leo Sutic wants a getValueAsDOM()
> >  - I want to add XHTML nodes (mixed content)
> 
> I think your XHTML nodes and my getValueAsDOM are quite similar. If you have
> XHTML nodes, how are you going to get them from the configuration?

I see. I was thinking of a delegation model, with nested
ContentHandlers. When it is somehow determined that we've hit an XHTML
node, the ContentHandler that builds DOMs/JDOMs/whatever is triggered.
In jakarta-commons, there's a project called Latka that does exactly
this. It works pretty nicely.

> That is the purpose of adding a getValueAsDOM. (I also remember that
> the suggestion ended up on the scrap heap as "feature creep.")

As did Peter Donald's original request for namespace support, or so it
sounds.

> > Perhaps it's time to subclass Configuration?
> >
> > NamespaceConfiguration
> > AntNamespaceConfiguration
> > WriteableConfiguration
> > SemistructuredConfiguration
> 
> Why settle for SemistructuredConfiguration: ChaoticConfiguration

Why not :)

But I meant "semistructured" in the sense Berin once used; allowing
mixed content, as opposed to "structured" where there's only elements.


--Jeff

> 
> /LS

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to