| Summary: | XPath view doesn't pick up default namespace prefix in XPath2-mode | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Jesper Moller <jesper> | ||||||
| Component: | wst.xpath | Assignee: | Jesper Moller <jesper> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Jesper Moller <jesper> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cbridgha, d_a_carver, manderse, raghunathan.srinivasan | ||||||
| Version: | 3.3 | Flags: | jesper:
pmc_approved?
(david_williams) raghunathan.srinivasan: pmc_approved+ jesper: pmc_approved? (naci.dai) jesper: pmc_approved? (deboer) jesper: pmc_approved? (neil.hauge) jesper: pmc_approved? (kaloyan) jesper: pmc_approved? (cbridgha) |
||||||
| Target Milestone: | 3.3.1 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | PMC_approved | ||||||||
| Attachments: |
|
||||||||
|
Description
Jesper Moller
Created attachment 197597 [details]
Patch for this issue
Simple enough patch - still need a test case
Hey Jesper, any chance of getting this patch committed to head and to the maintenance stream? (In reply to comment #2) > Hey Jesper, any chance of getting this patch committed to head and to the > maintenance stream? Yep, there's a chance. I'll get it done in the next few hours. Dave: I've committed and released the test and fix for HEAD, but I'd like your review. Created attachment 202567 [details]
Patch containing a test case
Simple test case for this bug
* Explain why you believe this is a stop-ship defect: This bug makes a very plain and simple usage scenario unusable. * Is there a work-around? No workaround except changing the XML document and XPath expressions. * How has the fix been tested? Tested manually by me, and excercised by attached JUnit test case. * Give a brief technical overview. The XPath2 engine has an API for adding the default namespace, but it needs to be called. It wasn't. * Who has reviewed this fix? I've added David Carver for review. * What is the risk associated with this fix? Very small risk since the code change is so simple. Oh, I forgot to add, the PMC review is for the Indigo service release, 3.3.1 Released for 3.3.x. |