Problem with assertXPath and doubles
Miklos Vajna
vmiklos at collabora.co.uk
Mon Feb 8 09:56:46 UTC 2016
Hi,
On Mon, Feb 08, 2016 at 12:19:11AM +0100, Xisco FaulĂ <anistenis at gmail.com> 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.
Regards,
Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160208/60ae3ace/attachment.sig>
More information about the LibreOffice
mailing list