Fix generate-id() to avoid generating the same ID
authorStewart Brodie <stewart@eh.org>
Wed, 21 Nov 2012 03:11:46 +0000 (11:11 +0800)
committerDaniel Veillard <veillard@redhat.com>
Wed, 21 Nov 2012 03:11:46 +0000 (11:11 +0800)
commitd204e66735cb701e5b76e1489353faa48cfc6016
treeea58a5a1e27eb96bd17c1e3418794245fb561092
parentc87cd842f81a68e4aad6bcd45c20712c5c5a2bc1
Fix generate-id() to avoid generating the same ID

For nodes from different documents, especially for the document
node itself which would always get "idp0" as a result.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688171
libxslt/functions.c