Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-31-2007
apope apope is offline
Registered User
 
Name: Art Pope
Organization: SET Corporation
Project: Robot simulation environment
 
Join Date: Mar 2007
Posts: 1
Unhappy slice2html 3.2.0 on nested modules yields dangling image links

When slice2html processes nested modules (e.g., module A { module B { ... }; }; ) it produces nested directories (e.g., A, A/B). Any image links in a generated HTML file are prefixed with .., ../.., etc. according to the nesting depth of the file (by Slice :: GeneratorBase :: printHeaderFooter() and getLinkPath() in slice2html/Gen.cpp). Such image links are produced when slice2html is run with --image-dir.

However, image links in an index page are not similarly adjusted. Slice :: StartPageGenerator :: printHeaderFooter() ought to be adjusting them, but doesn't. Consequently, in Ice 3.2.0, slice2html-generated index pages for nested modules may contain image links that point nowhere.

Workaround: Copy your images into each of the nested output directories.

Last edited by apope : 03-31-2007 at 08:08 PM.
Reply With Quote
  #2 (permalink)  
Old 04-02-2007
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 909
Thanks for the bug report, I'll have a look at this!

Cheers,

Michi.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
docs: reference to other modules in slice n2503v Comments 2 11-20-2006 05:00 PM
Blocked by nested callback roger jin Help Center 10 07-14-2006 02:16 PM
Creating dynamically loadable modules g00fy Help Center 3 12-13-2005 05:17 PM
Error using Ice.loadSlice() with nested *.ice hiasl Help Center 1 08-29-2005 08:00 AM
Impact of include on on structs in modules(Python) petrilli Help Center 2 03-11-2005 12:18 AM


All times are GMT -4. The time now is 08:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.