Hi Adam and Mark, this explains a recent problems i had with old code. I had the same problem, but it disappeared after (code)formatting the code of my project. I already used the XHTML serializer so that wasn't the issue for me.
Greetz, Jeroen -----Original Message----- From: Adam Ratcliffe [mailto:[EMAIL PROTECTED] Posted At: Thursday, December 23, 2004 7:13 AM Posted To: Cocoon User List Conversation: Unwanted tab characters appearing in output after 2.1.6 upgrade [SOLVED] Subject: RE: Unwanted tab characters appearing in output after 2.1.6 upgrade [SOLVED] Hi Mark Thanks for pointing me in the right direction, the XSLT processor. The 2.1.6 distro includes a development release of Xalan 2.6.1, I switched back to the 2.6.0 Xalan release included with Cocoon 2.1.5 which doesn't output the tabs. I'll take a look at Saxon anyway it sounds like it could offer some performance advantages. Cheers Adam -----Original Message----- From: Mark Leicester [mailto:[EMAIL PROTECTED] Sent: Thursday, 23 December 2004 1:05 p.m. To: [email protected] Subject: Re: Unwanted tab characters appearing in output after 2.1.6 upgrade Hi Adam, I've found two ways: 1. Use Saxon as your XSLT processor: http://wiki.apache.org/cocoon/Saxon 2. Use the new XHTML serializer instead (see the cocoon-serializers-block). There is not a lot of documentation on this, and I did experience some issues with XSLTs that used xsl:copy (an error relating to the XML namespace???). It has the advantage of serializing a lot of special characters as entities (i.e. £ instead of � - good for Mac IE), but, these characters include ' which IE renders as ', not '. Hope this helps, Mark On 22 Dec 2004, at 23:09, Adam Ratcliffe wrote: > Hi, > � > I've just upgraded from Cocoon 2.1.5 to 2.1.6.� I now have a problem > with the output of a pipeline that uses the XML serializer including > tab character > references, 	 > � > The pipeline that generates the output looks like this: > � > ����� <map:match pattern="locationserver/*.jx"> > �������� <map:generate type="jx" src="xml/locationserver/{1}.jx"/> > �������� <map:serialize type="xml"/> > ����� </map:match> > � > The pipeline is called from within my flowscript in this function: > � > ��� var template = "locationserver/RouteQuery.jx"; > ��� var output = new ByteArrayOutputStream(); > ��� cocoon.processPipelineTo(template, {"mapContext" : mapContext}, > output); > � > and an excerpt of what comes out of the pipeline is this: > � > <?xml version="1.0" encoding="ISO-8859-1"?><ls:operation > xmlns:ls="LSSchema" > xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"> > � <operationName>OrdbyDist</operationName> > � <parameters>	 > ��� <orderByDistParams> > ����� <sourceLocation> > 	 > 	 > 	 > 	��� <spotLocation> > 	����� <coordinate> > 		<point> > � > Any ideas on how to exclude these character references from the output > would be much appreciated. > � > Cheers > Adam > � > � --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
