cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bröckelmann, Mathias" <MBroekelm...@ubis-ag.com>
Subject AW: xmldb protocol in xsl stylesheets is not working
Date Fri, 26 Apr 2002 12:30:59 GMT


> -----Ursprüngliche Nachricht-----
> Von: Michael Hartle [mailto:mhartle@hartle-klug.com]
> Gesendet: Freitag, 26. April 2002 13:22
> An: cocoon-dev@xml.apache.org
> Betreff: Re: xmldb protocol in xsl stylesheets is not working
> 
> 
> Bröckelmann, Mathias wrote:
> 
> ><xsl:stylesheet ...>
> >  ...
> >  <xsl:template match="foo">
> >    ...
> >    <xsl:copy-of 
> select="document('xmldb:xindice:///db/test/news/documentkey')"/>
> >    ...
> >  </xsl:template
> >  ...
> ></xsl:stylesheet>
> >
> Just a note: IIRC, using document() in an XSL stylesheet 
> probably will 
> result in caching problems, as the TraxTransformer only checks the 
> modification date of the XSL file, but not the document()-wise 
> referenced XML sources.

I don´t think so, hopefully :))

> 
> Just guessing, might it be that the URL in document() isn't being 
> resolved with a SourceResolver ?

It is resolved throught the SourceResolver of Cocoon.

The problem is the implementation of either the XMLDBSource or specifically the AbstractSAXSource
class.
AbstractSAXSource is not able to serialize the xml document coming from the xmldb database.

> 
> >I´m using cocoon 2.1 but this problem exists also in the 
> latest stable release.
> >
> >Thank you,
> >
> >Mathias Broekelmann
> >  
> >
> Best regards,
> 
> Michael Hartle,
> Hartle & Klug GbR
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message