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 115149 - REGRESSION:Incorrect XPath is generated in source for mapped attributes
Summary: REGRESSION:Incorrect XPath is generated in source for mapped attributes
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-10 12:11 UTC by Andrei Chistiakov
Modified: 2007-09-11 10:14 UTC (History)
1 user (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 Andrei Chistiakov 2007-09-10 12:11:27 UTC
This is a regression since 08/31.

To reproduce the bug:
- using XSLT Editor, create an XSLT Service which maps PurchaseOrder to PurchaseOrder;
- switch to source.

For the mapping of the orderDate attribute, the XSLT Editor generates the following XPath expression: 
<xsl:value-of select="/ns1:purchaseOrder/orderDate"/>

The correct one should be 
<xsl:value-of select="/ns1:purchaseOrder/@orderDate"/>
Comment 1 Nikita Krjukov 2007-09-10 12:17:24 UTC
It's my mistake, so I reassign it to myself.
Comment 2 Nikita Krjukov 2007-09-10 12:18:14 UTC
Fixed in trunk
Comment 3 Nikita Krjukov 2007-09-10 13:11:32 UTC
This issue is approved to be fixed in the release60_beta1 branch
Comment 4 Nikita Krjukov 2007-09-10 13:14:14 UTC
The changes were merged from the trunk
Comment 5 Andrei Chistiakov 2007-09-11 10:14:24 UTC
Verfied in build 200709110000 (Beta 1 branch).
Comment 6 Andrei Chistiakov 2007-09-11 10:14:55 UTC
Verified in build 200709110000 (Beta 1 branch).