cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Kreipke" <>
Subject RE: HTML inside XML
Date Tue, 17 Oct 2000 19:10:44 GMT
> > > only if that text appears directly in the xml file. if you're
> including it
> > > from a dynamic data source, e.g. with the mail logicsheet, the string
> > > doesn't need to be parsed because it's being added to the DOM
> object (or
> > > SAX stream) programmatically.
> >
> > Ok, I understand how that could be. But downstream, when the
> XSL processor
> > gets it, how can it not be mal-formed?
> because the entities only need to be escaped when the xml is serialized as
> text. when the xml is being passed around as a java object(s), it's
> already been parsed so we know that a < appearing in a text node is, in
> fact, a < character, not an element indicator.

Hmmm. That sounds like it'd be true if the internal representation is a DOM
object and the XSL processor didn't have to reparse it. I guess that's how
C1 works?

In C2, when everything is SAX based, wouldn't each processor in the chain
have to re-stream its input in order to 'fire' SAX events?


View raw message