[Mozile] path problems

Reto Bachmann-Gmür reto at gmuer.ch
Tue Dec 19 12:57:02 PST 2006


James A. Overton wrote:
> Damn. I thought I'd fixed the path stuff. See core.js for the gory  
> details, maybe there's a simple fix.
>
> Is there a reason why you need to use "./lib/xhtml.rng"instead of  
> "lib/xhtml.rng"?
>   
No, both produce the same result, actually they are resolved correctly,
while the images seem to be wrong.

reto
> James
>
>
> On 2006-Dec-19, at 4:52 AM, Reto Bachmann-Gmür wrote:
>
>   
>> When I set
>>
>> mozile.root = "../scripts/mozile";
>> mozile.useSchema("./lib/xhtml.rng");
>>
>> Mozile tries to load ../scripts/lib/xhtml.rng, whcih is not where  
>> it is.
>>
>> But when I set
>>
>> mozile.root = "../scripts/mozile/";
>>
>> The rng is loaded from the correct place but it fails to load the  
>> icons,
>> as their URLs contain one additional slash as in:
>>
>> ../scripts/mozile//images/Mozile-16.png
>>
>> Cheers,
>> Reto
>>
>> _______________________________________________
>> Mozile mailing list
>> Mozile at mozdev.org
>> http://mozdev.org/mailman/listinfo/mozile
>>     
>
> _______________________________________________
> Mozile mailing list
> Mozile at mozdev.org
> http://mozdev.org/mailman/listinfo/mozile
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mozdev.org/pipermail/mozile/attachments/20061219/f94ee95d/attachment.bin 


More information about the Mozile mailing list