* libxslt/attributes.c: fix an IDness issue when building the tree
+Fri Jul 24 10:16:24 CEST 2009 Daniel Veillard <veillard@redhat.com>
+
+ * libxslt/attributes.c: fix an IDness issue when building the tree
+
Tue May 12 09:03:46 CEST 2009 Daniel Veillard <veillard@redhat.com>
* configure.in: adapt the extra version detection code to git
if (inst->children->name == xmlStringTextNoenc)
copyTxt->name = xmlStringTextNoenc;
+ /*
+ * since we create the attribute without content IDness must be
+ * asserted as a second step
+ */
+ if ((copyTxt->content != NULL) &&
+ (xmlIsID(attr->doc, attr->parent, attr)))
+ xmlAddID(NULL, attr->doc, copyTxt->content, attr);
} else {
/*
* The sequence constructor might be complex, so instantiate it.