This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The first parameter of the doXslTransform function is a path to the xsl file. There are could be several problems with it: - first of all the path has special format: urn:stylesheets:path/to/the/xslFile.xsl - another problem - the xslFile could be unreachable through this path for some reasons We have to provide correspondent validation errors: - The first parameter of the doXslTransform has wrong format. Expected value: urn:stylesheets:path/to/the/xslFile.xsl - The xsl file is not reachable
Created attachment 81049 [details] Sample Bpel Project with unreachable xsl file in doXslTransform
We need a browse button, user can 1. select a style sheet in the project 2. select a style sheet on the file system, should result in copying the file. 3. type in a uri. We can validate first two cases and error if there is no file. Do we need to validate in 3 case? user may not be connected to network. Is this catalog functionality?
Created attachment 88505 [details] Updated project
implemented in gfesbv22: 1029e8c0e6ae
This issue is tested and verified with the GFESB Build of 10/19/09, including NetBeans IDE 6.7.1 (Build 200910181801). This issue is restricted to the validation of the first parameter of the doXslTransform call. The cases that have been tested are: a) The first parameter must be a string literal. [Attempted to concat strings rather than use string literal failed] b) An incorrect prefixes to the XSL file - "urM:stylesheets:xyz.xsl" and "urn:stylesheet::xyz.xsl" c) An invalid or incorrect file location designation. d) An incorrect XSL file name in a valid location.