Bug 193681 - xslt view using xslt with properties include at the same location throws exception
Summary: xslt view using xslt with properties include at the same location throws exce...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: OHF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Zsolt Török CLA
QA Contact: B2i Quality Assurance CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-06-21 05:21 EDT by Ravi Natarajan CLA
Modified: 2012-01-05 13:32 EST (History)
0 users

See Also:


Attachments
xslt (8.83 KB, text/xml)
2007-06-21 05:23 EDT, Ravi Natarajan CLA
no flags Details
propeties file (1.35 KB, text/plain)
2007-06-21 05:24 EDT, Ravi Natarajan CLA
no flags Details
css (1.08 KB, text/css)
2007-06-21 05:24 EDT, Ravi Natarajan CLA
no flags Details
Patch (5.28 KB, patch)
2007-07-13 05:27 EDT, Bence Oláh CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi Natarajan CLA 2007-06-21 05:21:44 EDT
Build ID: 1.2.1

Steps To Reproduce:
1.Open vocabulary xml file
2.Go to xlt view and select and xslt whic uses a properties file
3.The properties file is in the same folder as xslt.
4. The xslt view throw exception as it expects the properties files in the root eclipse folder


More information:
Comment 1 Ravi Natarajan CLA 2007-06-21 05:23:49 EDT
Created attachment 72010 [details]
xslt
Comment 2 Ravi Natarajan CLA 2007-06-21 05:24:17 EDT
Created attachment 72011 [details]
propeties file
Comment 3 Ravi Natarajan CLA 2007-06-21 05:24:54 EDT
Created attachment 72012 [details]
css
Comment 4 Ravi Natarajan CLA 2007-06-21 05:25:16 EDT
Error :

Unable to execute transform D:/eclispse_test/eclipse/workspace/MessageInstanceEditor/Transforms/VocSet2XHTML.xsl: com.sun.org.apache.xalan.internal.xsltc.TransletException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: D:\eclispse_test\eclipse\XHTML.properties (The system cannot find the file specified)
Comment 5 Bence Oláh CLA 2007-07-13 05:27:39 EDT
Created attachment 73732 [details]
Patch 

The problem is solved, but you can only use the @import command for importing the css file with an absolute path, because the output of the transform exists only in the memory.
Comment 6 Zsolt Török CLA 2007-07-13 09:47:23 EDT
Committed Bence Oláh's patch.