Skip to main content
6 events
when toggle format what by license comment
Oct 14, 2014 at 12:15 comment added Harald Hoffelinck could you try with this code $j("<canceled xmlns=\"uuid:37f40dd9-afe8-40f2-b045-c653e5d68586\">yes</canceled>").insertAfter(activityTemplateFields_) and remove the next line ?
Oct 14, 2014 at 12:05 comment added Harald Hoffelinck I also just noticed in your error message that your 'canceled' node has a namespace http:\/\/www.w3.org\/1999\/xhtml' That could also be the cause of your error. I do see you are trying to remove the xmlns from the node, but maybe that didn't work as expected. Could you try to output/debug the xml that gets serialized in (new XMLSerializer()).serializeToString(contentDocument_) ?
Oct 14, 2014 at 12:02 comment added Harald Hoffelinck could you try adding an empty <url> node before your <canceled> node
Oct 14, 2014 at 11:41 comment added Thomas Hendrickx @Harald Hoffelinck The canceled element is indeed a part of the schema and is at the correct spot. The 'url' element is not mandatory and was not filled in for that component.
Oct 14, 2014 at 10:59 comment added Bart Koopman An error stating that a -v0 version does not exists has something to do with either the item being checked out or locked. Since -v0 is added to a URI to reference the checked out version of that item.
Oct 14, 2014 at 10:02 history answered Harald Hoffelinck CC BY-SA 3.0