xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Coppens <pc.subscripti...@gmail.com>
Subject Re: URIResolver in combination with filenames with unicode characters fails - Problem in AbstractImageSessionContext#toFile?
Date Wed, 08 Jul 2009 14:37:06 GMT
Finally checked. The patch solves the issue.

Hope this helps and thanks,

Peter


> From: Peter Coppens <pc.subscriptions@gmail.com>
> Date: Tue, 07 Jul 2009 04:23:12 +0200
> To: <fop-users@xmlgraphics.apache.org>
> Conversation: URIResolver in combination with filenames with unicode
> characters fails - Problem in AbstractImageSessionContext#toFile?
> Subject: Re: URIResolver in combination with filenames with unicode characters
> fails - Problem in AbstractImageSessionContext#toFile?
> 
> Have not checked. Still in my 'inbox'. Sorry for the delay. For now my wo does
> the job so it's less urgent for me. Will get to it asap.
> 
> Peter
> 
> 
>> From: Andreas Delmelle <andreas.delmelle@telenet.be>
>> Reply-To: <fop-users@xmlgraphics.apache.org>
>> Date: Sun, 5 Jul 2009 21:07:13 +0200
>> To: <fop-users@xmlgraphics.apache.org>
>> Subject: Re: URIResolver in combination with filenames with unicode
>> characters 
>> fails - Problem in AbstractImageSessionContext#toFile?
>> 
>> On 30 Jun 2009, at 12:35, Andreas Delmelle wrote:
>> 
>> Hello Peter
>> 
>> Just checking the status:
>> 
>>> On 30 Jun 2009, at 11:10, Peter Coppens wrote:
>>>> What I found out debugging is that the A9C3 character is escaped as
>>>> %A9%C3
>>>> when the url is contructed but that in the toFile method %A9 and
>>>> %C3 are
>>>> interpreted as 2 different characters.
>>> 
>>> Indeed, that already looked a bit suspicious to me, and may be the
>>> source of the issue.
>>> Seems more robust to use java.net.URLDecoder instead of re-inventing
>>> the light-bulb.
>>> 
>>> I have attached a small patch for you to try out. Would be good if
>>> you could confirm this fixes the issue on your end.
>> 
>> Have you been able to confirm this? If not, would it help if I
>> provided you with a precompiled JAR for XG Commons including the
>> changes in the patch (so that you can simply do a temporary swap in
>> your test environment)?
>> 
>> 
>> Thanks in advance!
>> 
>> Andreas
>> 
>> Andreas Delmelle
>> mailto:andreas.delmelle.AT.telenet.be
>> jabber: mandreas@jabber.org
>> skype: adlm0608
>> 
>> ---
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>> 



---------------------------------------------------------------------
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