Problem with assertXPath and doubles

Miklos Vajna vmiklos at
Mon Feb 8 09:56:46 UTC 2016


On Mon, Feb 08, 2016 at 12:19:11AM +0100, Xisco FaulĂ­ <anistenis at> 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
test/source/primitive2dxmldump.cxx, maybe check if that's what casts the
double to int before converting it to a string.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <>

More information about the LibreOffice mailing list