xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Belinda Garcia <Belinda.Gar...@central.sun.com>
Subject Re: [BUG in Xerces] Character Entity References
Date Thu, 07 Dec 2000 15:55:29 GMT
Try this:

 <fo:block><xsl:text>&#00C6;</xsl:text></fo:block>
 
Belinda
> Mailing-List: contact fop-dev-help@xml.apache.org; run by ezmlm
> list-help: <mailto:fop-dev-help@xml.apache.org>
> list-unsubscribe: <mailto:fop-dev-unsubscribe@xml.apache.org>
> list-post: <mailto:fop-dev@xml.apache.org>
> Delivered-To: mailing list fop-dev@xml.apache.org
> From: Dharamveer Salecha <dharam@wilco-int.com>
> To: "FOP-DEV (E-mail)" <fop-dev@xml.apache.org>
> Subject: [BUG in Xerces] Character Entity References
> Date: Thu, 7 Dec 2000 11:46:27 +0530 
> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> 
> Hi,
> I attempted at producing a FO testcase with unicode characters.
> Xerces works fine for character entity reference like &#0041;
> But, it gives errors for some character entity references like &#00C6;
> 
> When I use
> <fo:block>&#00C6;</fo:block>
> I get the following error:
> 
> FOP 0.15
> using SAX parser org.apache.xerces.parsers.SAXParser
> using renderer org.apache.fop.render.pdf.PDFRenderer
> using element mapping org.apache.fop.fo.StandardElementMapping
> using element mapping org.apache.fop.svg.SVGElementMapping
> using property list mapping org.apache.fop.fo.StandardPropertyListMapping
> using property list mapping org.apache.fop.svg.SVGPropertyListMapping
> building formatting object tree
> FATAL ERROR: The character reference must end with the ';' delimiter.
> 
> regards
> Dharam
> 
> ----Original Message-----
> From:	Fotis Jannidis [SMTP:fotis.jannidis@lrz.uni-muenchen.de]
> Sent:	Monday, November 27, 2000 7:17 PM
> To:	fop-dev@xml.apache.org
> Subject:	RE: [BUG] Characters
> 
> Hi Dharamveer, 
> 
> > Hi Fotis, 
> >  Thanks for pointing out the exact point of error. I followed this to
> notice
> > that:
> > mu char with unicode 0x00B5 is re-defined under the Symbol font mapping
> (see
> > below - lines from the codegen files).
> > The To be done(TBD) comment indicates that the doublettes must be removed.
> > Do it mean that the second-entry must be removed ?
> Yes. the first value is overwritten by the second, which is wrong. 
> Thanks for pointing this out. 
> 
> > I could help in any ways to make it robust.
> 
> charlist.xml  is input for an xslt stylesheet which uses it to write the 
> file CodePointMapping in org.apache.fop.render.pdf which is used 
> for all code mappings in Fop. If you want to make it more robust, 
> you could write a fo test file which displays every character in the 
> list together with its unicode value and then compare this output with 
> the unicode code charts at http://www.unicode.org/charts/
> 
> This would be very useful.
> 
> Fotis
> 
--------------------------------------------------------------------------------
> The information transmitted is intended only for the person or entity to which 
> it is addressed and may contain confidential and/or privileged material. 
> Any review, retransmission, dissemination or other use of, or taking of any 
> action in reliance upon, this information by persons or entities other than 
the intended recipient is prohibited. 
> If you received this in error, please contact the sender and delete the 
materialfrom any computer.
> 
--------------------------------------------------------------------------------


Mime
View raw message