I have to modify the file \Program Files\MarkLogic\Modules\Marklogic\redaction.xqy because I use redaction with mlcp
the line 82 :
from :
else if (xdmp:node-kind($doc/node()) ne "element")
to :
else if (not(xdmp:node-kind($doc/node()) =("element","processing-instruction","comment"))) Marc