You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2008/10/02 02:26:44 UTC

[jira] Created: (FOR-1121) tei input plugin does not process images.

tei input plugin does not process images.
-----------------------------------------

                 Key: FOR-1121
                 URL: https://issues.apache.org/jira/browse/FOR-1121
             Project: Forrest
          Issue Type: Bug
          Components: Plugin: input.tei
            Reporter: Gavin


When importing from tei to xdoc, we end up with <img/> instead of an actual image.

The tei-to-document.xsl needs enhancing, and need to find out how to reference the local/remote image @src.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-1121) tei input plugin does not process images.

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636280#action_12636280 ] 

Gavin commented on FOR-1121:
----------------------------

The supplied tei content has been transformed and correctly output into xdoc. (r700996)

However a problem persists, remote pages can and do use relative URLs for their image locations.
So we end up with a @src of something like "/images/image.jpg".

For the image to appear we need to work out the remote location and prepend it to the image URL, so an image residing at example.com we should end up with 'www.example.com/images/image.jpg'.

That's the theory, how to do it - how to  retrieve the remote URL ?


> tei input plugin does not process images.
> -----------------------------------------
>
>                 Key: FOR-1121
>                 URL: https://issues.apache.org/jira/browse/FOR-1121
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.tei
>            Reporter: Gavin
>
> When importing from tei to xdoc, we end up with <img/> instead of an actual image.
> The tei-to-document.xsl needs enhancing, and need to find out how to reference the local/remote image @src.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.