RE : Assistance with url parsing bug in xmaxima



Am 21 Sep 2006 um 13:02 hat Jaime E. Villate geschrieben:

> On Wed, 2006-09-20 at 23:36 +0200, laurent couraud wrote:
> > After some tests I could observe the same error message if the address
> > is preceded by a space.
> > An other error is produced if the address is followed by a space 
> Bingo!
> You got it right. Thanks a lot.
> I can finally reproduce the error (even in Linux) and work
> on a solution.
> There might be other invisible characters that get in the URL
> when it is pasted from the email message into Xmaxima.
> Something similar happens to my students sometimes
> when they cut expressions from PDF documents and paste
> them into the Xmaxima console: minus signs that look like minus signs
> are not really minus signs but other characters that give an error:
> Maxima complains that the input is wrong and the student cannot
> see anything apparently wrong with it.
> 
> Regards,
> Jaime

Hi Jaime ,
I would like to add some more details (5.10.0 Xmaxima on Windows 2000):

I created two files which include graphics: 
'erste_Schritte.html' and 'erste Schritte.html', both in folder 'G:\Projekt'
I pasted in the paths in different ways and also tested the reload button (which is useful for 
developing these html files):

1.
file://G:/Projekt/erste_Schritte.html
--> loaded correctly
Button Reload --> loaded correctly

2.
file://G:/Projekt/erste_Schritte.html  (followd by space character)
--> file://G:/Projekt/file://G:/Projekt/erste_Schritte.html 
file loaded, but graphics not found
Button Reload --> 
file://G:/Projekt/file://G:/Projekt/file://G:/Projekt/file://G:/Projekt/erste_Schritte.html 

3.
file://G:/Projekt/erste Schritte.html
--> file:/C:/PROGRA~1/MAXIMA~1.0/share/maxima/510~1.0/xmaxima/file://G:/Projekt/erste 
Schritte.html
file loaded, but graphics not found
Button Reload --> 
file:/C:/PROGRA~1/MAXIMA~1.0/share/maxima/510~1.0/xmaxima/file://G:/Projekt/file:/C:/
PROGRA~1/MAXIMA~1.0/share/maxima/510~1.0/xmaxima/file://G:/Projekt/erste 
Schritte.html

4.
file://G:\Projekt\erste_Schritte.html
--> file://G:\Projekt\erste_Schritte.html
file loaded, but graphics not found

5.
file://G:\Projekt\erste Schritte.html
--> file:/C:/PROGRA~1/MAXIMA~1.0/share/maxima/510~1.0/xmaxima/file:/G:\Projekt\erste 
Schritte.html
file loaded, but graphics not found


Hope you can figure out, whats going on.

Regards
Volker van Nek