Hello everybody,

just to inform you: I stumbled across a problem with the version of Xalan
(2.5.2) shipped with Cocoon 2.1.3. 

I get an error when transforming files containing an entity reference in an
"alt" attribute of a "img" tag (see stacktrace below). I suppose that this
occurs for any attribute of any XML tag.

I tried several versions of Xalan. The problem does not show up with the
releases prior to 2.5.2 as well as the latest CVS snapshot.


org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException: java.lang.RuntimeException:
org.xml.sax.SAXException: Attempt to output character of integral value 252
that is not represented in specified output encoding of .

Original Exception: java.lang.RuntimeException:
java.lang.RuntimeException: org.xml.sax.SAXException: Attempt to output
character of integral value 252 that is not represented in specified output
encoding of . at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3411)
at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerH
andlerImpl.java:427)
at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer
.java:579)
at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) at
org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at
org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatc
h(Unknown Source) at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)
at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:337)
at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:266)
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:141)
at
com.vodafone.cocoon.generation.URLFileGenerator.generate(URLFileGenerator.ja
va:135)
[...]


Lars



Vodafone Global Content Services Limited 
Registered Office:  Vodafone House, The Connection, Newbury, Berkshire  RG14 2FN

Registered in England No. 4064873 

This e-mail is for the addressee(s) only.  If you are not an addressee, you
must not distribute, disclose, copy, use or rely on this e-mail or its
contents, and you must immediately notify the sender and delete this e-mail
and all copies from your system.  Any unauthorised use may be unlawful.  The
information contained in this e-mail is confidential and may also be legally
privileged.

Reply via email to