xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Output < instead instead of &amp;lt; in pdf
Date Mon, 11 Oct 2010 16:28:31 GMT
That's double XML escaping which means somewhere in your process you
have a bug concerning the consumption of XML.

What may have happened:

Someone built a DOM document and then inserted the Twitter XML as Text
into the document rather than building another DOM tree from the Twitter
XML and importing that into the first DOM.

But that's just one example how this could have happened. Without
knowing how you wrote your code to make this happen it's difficult to
help.

On 30.09.2010 21:11:24 theinvader wrote:
> 
> I'm using xml from twitter which contains "&amp;lt;" for "<" and "&amp;gt;"
> for ">".
> 
> My pdfs come out with "&lt;" instead of "<". This is because it should be
> "&lt;" in the xml rather than &amp;lt;.
> 
> Is there an easy way to get fop to write the entity "&amp;lt;" to the pdf as
> "<"?
> -- 
> View this message in context: http://old.nabble.com/Output-%3C-instead-instead-of--amp-lt--in-pdf-tp29851461p29851461.html
> Sent from the FOP - Users mailing list archive at Nabble.com.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message