Cause of the saxon:warning:
----------------------------

I found, that saxon issues following warning, when generating
plain text output from within a cocoon pipeline:

"saxon:warning" : "Output suppressed because it is not well-formed"

I also found, that the <xsl:output> tag seems to be ignored from saxon.
Maybe saxon is called in a way, that output processing options are disabled.
And saxon seems definitely to complain about anything else, than valid
XML output.

I know, that this behaviour is not seen with xalan within cocoon, nor with
saxon from command line. But i am completely clueless why saxon does
what it does here.
I can live with my workaround, but agree, it would be much more clever to
find, why saxon behaves such strange ...

installation of saxon
--------------------
i simply put the saxon jar into cocoon/WEB-INF/lib and deleted the xalan.jar
from the same directory. I had to hack saxon according to

http://outerthought.net/wiki/Wiki.jsp?page=DocbookTransformation

Then i had some hard time to get saxon up and running, falling into lots
of little pitfalls, but it works for me now, except that the entity Resolver
does not work for me yet...

I will try to get saxon and xalan both available in my cocoon setup
on my next spare time ;-)

regards, hussayn

Jeremy Quinn wrote:

> On Monday, Nov 18, 2002, at 12:50 Europe/London, SAXESS - Hussayn
> Dabbous wrote:
>
> > Hy;
> >
> > Your stylesheet produces plain text as output. This seems to be
> > a problem for cocoon transformers. I don't know, if this behaviour
> > is a feature, or a bug. (Maybe the developers can tell us ;-) ?
> > But here is the solution as it works on my site:
>
> Did you manage to work out what is causing the 'saxon:warning's ??
>
> regards Jeremy
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>

--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
D-50935 Köln
tel.:+49 221 56011 0
fax.:+49 221-56011 20
email:[EMAIL PROTECTED]



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to