[jboss-jira] [JBoss JIRA] Created: (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:35:50 EDT 2008


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