[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1723) SVG images break in the new docbook template, after publication because they use hardcoded local file paths to the src directory

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Sun Aug 10 07:40:50 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBRULES-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424337#action_12424337 ] 

Geoffrey De Smet commented on JBRULES-1723:
-------------------------------------------

To reproduce this issue,
grab revision 21416 from drools (because I 'll be throwing out the svg references in the dockbook xml)
and run a mvn clean install on drools-docs/drools-docs-solver/.
The first images are pure png, but starting from about half of the manual svg images were used because of better quality.

> SVG images break in the new docbook template, after publication because they use hardcoded local file paths to the src directory
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-1723
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1723
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Documentation
>    Affects Versions: 5.0.0.M1
>            Reporter: Geoffrey De Smet
>            Assignee: Mark Proctor
>            Priority: Critical
>             Fix For:  5.0.0.M2
>
>
> As you can see from the html which is generated, that html will only work on my pc:
> <object data="/home/ge0ffrey/projects/jboss/drools/drools-docs/drools-docs-solver/en/Chapter-Solver/unsolvedNQueens04.svg" type="image/svg+xml"/>
> Note that it's:
> - an absolute file path (and I am pretty sure most users don't have a /home/ge0ffrey directory)
> - it's to the source directory, not the target directory
> Instead it should be something like this:
> <object data="Chapter-Solver/unsolvedNQueens04.svg" type="image/svg+xml"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list