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.

Bug 158766

Summary: Project jars not included for XSL compilation
Product: soa Reporter: kevan1138 <kevan1138>
Component: XSLTAssignee: Vitaly Bychkov <lativ>
Status: VERIFIED FIXED    
Severity: blocker CC: sustaining
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: test project

Description kevan1138 2009-02-18 17:56:28 UTC
If an XSL stylesheet is defined with an extension function and the function's implementation is in a jar added to the 
project, the stylesheet does not compile.  Workaround is to enable the Allow Build with Errors property.

Jars added to a project should be part of classpath when compiling XSL during build process.
Comment 1 kevan1138 2009-02-18 18:02:59 UTC
Created attachment 77119 [details]
test project
Comment 2 kevan1138 2009-02-18 18:04:53 UTC
Mistakenly created ticket for bpel project... correcting to xslt project.
Comment 3 rbalada 2009-03-26 14:11:41 UTC
Rising priority due to Sun-internal escalation.
Comment 4 Vitaly Bychkov 2009-03-30 15:31:01 UTC
The problem is in xsl validation. For now it doesn't know anything about available java libraries.
Comment 5 Vitaly Bychkov 2009-04-14 11:00:24 UTC
Fixed in soa-dev65:
http://hg.netbeans.org/soa-dev65?cmd=changeset;node=8e3e5841d14f
Comment 6 rpoon 2009-04-22 18:28:48 UTC
Verified with build:  \\thumper\50builds\gfesb\v2.1\main\nightly\20090420-0723

With the fix, using the attached project, the XSL style sheet 'InXslFile1.xsl' can now be successfully compiled.  User 
no longer encounter error with:  <xsl:value-of select="edklibrary:getNdmTimestamp()"/> line.