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 123308 - XSLT module doesn't fully support Cross-project Reference
Summary: XSLT module doesn't fully support Cross-project Reference
Status: RESOLVED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 00:54 UTC by _ hong_lin
Modified: 2007-12-04 11:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ hong_lin 2007-12-04 00:54:02 UTC
Steps to reproduce it:

1. Create a sample Synchronous Sample project SynchronousSample.
2. Create an empty XSLT module project XSLTModule.
3. Add "SynchronousSample" project as one of "Project References" to XSLTModule project 
  (if you need the instruction for this step, let me know).
4. Create a new wsdl file in XSLTModule: 
    1) Accept default settings, click "Next" in the "Name and Location" panel.  
    2) Modify the "Element Or Type" field of Input message part from "xsd:string" to "ns:typeA". The typeA
       is defined in SynchronousSample.xsd (Select "By File -> SynchronousSample.xsd -> Elements -> typeA" in "Select
Element Or Type" dialog.
    3) Modify the "Element Or Type" field of Output message part from "xsd:string" to "ns:typeA".
    4) Click "Finish".
5. Create a new Composite Application CompositeApp.
6. Edit Application Configuration. Drag and drop "XSLTModule" to the JBI Module area in CASA Editor.
7. Build.
Will et the following error:
C:\Users\Hong\Documents\NetBeansProjects\SynchronousSample\SynchronousSample\nbproject\build-impl.xml:156: 
Found validation errors:
Error: In part "inputMsg", attribute element's value "ns:typeA" is not a valid xml schema element available in this wsdl
file. : Specify a valid schema element value for element attribute.
Error: In part "greeting", attribute element's value "ns:typeA" is not a valid xml schema element available in this wsdl
file. : Specify a valid schema element value for element attribute.
BUILD FAILED (total time: 0 seconds)

XSLT doesn't support this cross project XML file reference use case.
Comment 1 Vladimir Yaroslavskiy 2007-12-04 11:59:10 UTC
I've tried with Sierra (sierra_374_20071204.zip) and
trunk (netbeans-hudson-trunk-4687.zip) versions.
It works fine.