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 113529 - Contextual relative path support in the XSLT editor
Summary: Contextual relative path support in the XSLT editor
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
: 100219 (view as bug list)
Depends on:
Blocks: 100219
  Show dependency tree
 
Reported: 2007-08-22 16:21 UTC by pvarghese
Modified: 2007-08-24 20:09 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
the realtive path usage example usage document (34.44 KB, application/octet-stream)
2007-08-22 16:22 UTC, pvarghese
Details
The wink video file for the predicate path generation issue (474.42 KB, application/octet-stream)
2007-08-24 19:37 UTC, pvarghese
Details
the relativepath.odt in a zip file the previous attachment would not open (30.43 KB, application/octet-stream)
2007-08-24 20:09 UTC, pvarghese
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pvarghese 2007-08-22 16:21:26 UTC
The single most important issue for the Sierra release.
The XSLT editor today does not generate contextual relative path for xsl stylesheet, making the tool unusable for real
world applications.
Attached is the document that outlines the minimum set of relative path usage examples that the xslt editor has to support.
Marking this as P1 as this is the most important enhancement for Sierra release.
Comment 1 pvarghese 2007-08-22 16:22:42 UTC
Created attachment 47086 [details]
the realtive path usage example usage document
Comment 2 pvarghese 2007-08-22 16:26:28 UTC
*** Issue 100219 has been marked as a duplicate of this issue. ***
Comment 3 pvarghese 2007-08-24 19:37:26 UTC
Created attachment 47346 [details]
The wink video file for the predicate path generation issue
Comment 4 pvarghese 2007-08-24 19:38:09 UTC
The relative path generation should also take into account xpath generation for predicate creation. All xpath generation
for the predicate should be generated w.r.t to the scope/context of the node selected for the predicate creation.

Attached is a wink video that illustrates the issue as follows 

The predicate creation dialog should present a scope such that when I select a node underneath the predicate node it
only creates a local xpath.  In this case when I double clicked on artest it should have created "ns1:/artist" and not
"ns1:/cdcatalog/ns1:cs/ns1:artist"  The reason for this is that if it creates the whole path then the predicate function
does not work correctly.  If you all agree that this is a bug can you file a bug id for this.
Comment 5 pvarghese 2007-08-24 20:09:55 UTC
Created attachment 47351 [details]
the relativepath.odt in a zip file the previous attachment would not open