Issue 24247 - xslt xhtml - output references are not relative
Summary: xslt xhtml - output references are not relative
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Code
Component: external filters (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: svante.schubert
QA Contact: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 16:08 UTC by jsc
Modified: 2004-07-05 17:09 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jsc 2004-01-09 16:08:21 UTC
xslt xhtml - output references are not relative (e.g. generated output cannot be
moved)
Comment 1 svante.schubert 2004-01-29 17:27:33 UTC
SUS: Already tried a quick fix (0.5 hour spend), but failed.

A better description of the issue would be "JAR master document children, shall
have a relative URL"

The stylesheets and the java helper concerned with creating these links had
become too complex due a work-around of a bug  called "Internal Office links are
no valid URI's"
http://so-web3.germany.sun.com/iBIS/servlet/edit.ControlPanel?tid=102311

Going to separate the work-around from the common stylesheet and java helper
code, to ease the code. Furthermore, by this refactoring it will become easy to
remove the work-around after the bug will be fixed.

Detailed Information:
- move Child references into globalData variabel, overwork 

master_document.xsl: 
~~~~~~~~~~~~~~~~~
<xsl:with-param name="fileRef" 
select="java:org.openoffice.xslt.OOoMasterDocument.getRelativeChildURL($fileRef)" />
<xsl:with-param name="fileRef"  select="sxg:get-relative-child-u-r-l($fileRef)" />

OOoMasterDocument.java:
~~~~~~~~~~~~~~~~~~~~~~
public static String getRelativeChildURL(String sourcePath){
       return getRelativeFileRef(OOoTransformProps.getContentTableURL(),
getContentURL(sourcePath));
 } 


Comment 2 svante.schubert 2004-03-25 09:41:13 UTC
This issue has been fixed.
Comment 3 svante.schubert 2004-07-05 17:09:10 UTC
verified
Comment 4 svante.schubert 2004-07-05 17:09:27 UTC
closed