Re: [xslt] Output not going to the end ?



On Fri, Jun 29, 2001 at 08:32:59PM +0200, Raphael Hertzog wrote:
> It's probably a problem related to a buffer (overrun) or something like that
> but it's really strange that it exits without an error.

  It does exit with an error:

orchis:~/tmp/outils/doc -> xsltproc  --param cycle \'false\' --xinclude ../xsl/theme-tex.xsl theme_reference.xml > res
output conversion failed due to conv error
Bytes: 0xAE 0x22 0x3E 0x0A
xmlOutputBufferWrite: encoder error
orchis:~/tmp/outils/doc -> 

Thomas Broyer's answer sounds right on the problem and the solution to use:
encode the XIncluded's files in UTF8

 http://mail.gnome.org/archives/xml/2001-July/msg00008.html

Handling the encoding properly for parse="text" is not simple, it may
take a bit more work than the patch suggested by Thomas. 
XInclude is still a Working Draft and we are still working on
it I will probably reshape the current implementation when it
enters Candidate Recommendation.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Sep 17-18 2001 Brussels Red Hat TechWorld http://www.redhat-techworld.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]