Re: Problem with assertXPath and doubles

2016-02-08 Thread Miklos Vajna
Hi, On Mon, Feb 08, 2016 at 12:19:11AM +0100, Xisco FaulĂ­ wrote: > assertXPath(pDocument, "/primitive2D/transform/mask/unifiedtransparence", > "transparence", "0.5"); The XPath asserter works with XML attributes, the attribute value is always a string. The code that generates that XML is in tes

Problem with assertXPath and doubles

2016-02-07 Thread Xisco FaulĂ­
Hi all, I'm writing you this email because I came across a problem when trying to use assetXPath to check a double value. I created this test https://gerrit.libreoffice.org/#/c/22196/ to cover the opacity attribute, which is 0.5, however, If I do assertXPath(pDocument, "/primitive2D/transform/mas