Export to GitHub

fbug - issue #2426

Copy XPath should include namespace


Posted on Oct 26, 2009 by Happy Cat

What steps will reproduce the problem? 1. Open the XML below in Firebug 2. Copy the XPath to the header:MessageId 3. The result is something like /envelope/body/getresponse/header/messageid

What is the expected result? What do you see instead? It should include the namespace, so something like /SOAP-ENV:Envelope/SOAP-ENV:Body/tns:GetResponse/tns:Header/header:MessageId

Which version of Firebug? 1.4.3 Which version of Firefox? 3.5.3 On what operating system? WinXP

XML used:


<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/&quot; xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; <SOAP-ENV:Header/> <SOAP-ENV:Body> <tns:GetResponse xmlns:tns="http://www.abc.com/GetResponse/v01&quot; xmlns:header="http://www.abc.com/Common/MessageHeader/v02"&gt; <tns:Header> <header:MessageId>2009-10-23T09:54:20.044Z</header:MessageId> </tns:Header> <tns:Body/> </tns:GetResponse> </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

(this xml is sanitized from secret company stuff so if it looks a little weird, that is the reason)

Comment #1

Posted on Jan 5, 2010 by Quick Elephant

(No comment was entered for this change.)

Comment #2

Posted on Sep 21, 2010 by Massive Wombat

Patch committed at R7843 FBTest committed at R7844

Will be in Firebug 1.7a3 and Firebug 1.6b2

please verify

Thanks for the report!

Honza

Comment #3

Posted on Oct 6, 2010 by Massive Wombat

This is one of 24 issues fixed in Firebug 1.7a3. Please try it and let us know, http://getfirebug.com/releases/firebug/1.7

Any of these marked port1.6 will be on 1.6b2.

Comment #4

Posted on Oct 6, 2010 by Massive Wombat

(No comment was entered for this change.)

Comment #5

Posted on Oct 6, 2010 by Massive Wombat

Just providing a proper link, Firebug 1.7a3 is available here: http://getfirebug.com/releases/firebug/1.7X/ Honza

Comment #6

Posted on Oct 13, 2010 by Massive Wombat

(No comment was entered for this change.)

Comment #7

Posted on Oct 13, 2010 by Massive Wombat

Patch for this issue has been ported into Firebug 1.6 branch at R8032. (Firebug 1.6b2 will follow) Honza

Comment #8

Posted on Oct 18, 2010 by Massive Wombat

Firebug 1.6b2 is available here: http://getfirebug.com/releases/firebug/1.6X/firebug-1.6X.0b2.xpi Honza

Comment #9

Posted on May 4, 2011 by Happy Giraffe

Just changing label Test-case-in-suite to FBTest-available

Comment #10

Posted on Jun 5, 2012 by Helpful Wombat

(No comment was entered for this change.)

Comment #11

Posted on Jun 12, 2012 by Helpful Wombat

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect html 1.4 fixed-1.7a3 ported1.6 ported1.6b2 FBTest-available fixed-1.6-b2 fixed-1.7-a3