cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Cervera Areny" <informa...@sedifa.com>
Subject Re: strange xinclude problem
Date Mon, 12 Aug 2002 18:03:10 GMT

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello Albert,
> thanks for your fast answer.
>
>> > I've a little strange problem with xinclude. I get a exception with
>> "Premature  end of file", but accessing the URI (cocoon://...)
>> directly works. Has  someone a hint where to look at?
>
>> Have you checked if it is a well formed xml file?
> I've checked it with xmllint, which gives no errors.
Ok then.
> When I look into it, it also seems ok.
> And it is created via xml serializer, so I don't know, how it shouldn't
> be  well formed.
The xml serializer doesn't guarantee that the document is well formed,
xmllint does.
>
>> You may access it with cocoon:// but not with xinclude
> Is it possible to see, where exactly the problem is? A line number or
> the  element would be a help.
I don't know if a log transformer after the xinclude would be of any
help... If you want to try it put

<xsl:transform type="log">
  <xsl:parameter name="logfile" value="filename.log"/>
</xsl:transform>

I believe that as it is within a pipe a process will be thrown for each
transform and it is not necessary that one has finished for the other to
be started so you may log only until where it crashed... it's just an
idea..

>
> With kind regards
> 	Torsten Knodt
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE9V+5RvxZktkzSmiwRAre3AJ4/EBzlUWkJZ0F273c/yMGlgaoBXwCfUjki
> W/m+rF+EDWTzvTnN8TrTMXc=
> =5lJV
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


-- 
Albert Cervera Areny
Dept. Informàtica Sedifa, S.L.



---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message