Hi,
I am using Mark Logic 4.1-5 Enterprise server. I need to convert a pdf file
into xml file. But when i try this conversion, i am getting the error message
as "Conversion not enabled by license key". I have enabled all the pipelines in
Content Processing. But still i am getting this error although i am using CPF
in Enterprise license. Can anyone please help me?
Below is the Query code used by me:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
xquery version "1.0-ml";
(: PDF to XML Conversion :)
declare namespace html="http://www.w3.org/1999/xhtml";
let $results :=
xdmp:pdf-convert(
xdmp:document-get("C:/Program Files/MarkLogic/pdf/file1.pdf"), "file1.pdf")
let $manifest := $results[1]
return $results[2 to last()]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Below is the error message got from CQ:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
query evaluated in pdftoxml at file::Docs/ as 1.0-ml (cq v4.1-5)
[1.0-ml] XDMP-CONVLICKEY:
xdmp:pdf-convert(document{binary{"255044462d312e330a25c7ec8fa20a362030206f626a0a3c3c2f4c656e677468..."}},
"file1.pdf") -- Conversion not enabled by license key
Stack trace:
line 6:
4:
5: let $results :=
6: xdmp:pdf-convert(
7: xdmp:document-get("C:/Program Files/MarkLogic/pdf/file1.pdf"), "file1.pdf")
8: let $manifest := $results[1]
xdmp:eval("xquery version "1.0-ml"; (: PDF to XML
Conver...", (), <options
xmlns="xdmp:eval"><database>3444426660464683322</database><isolation>different-tra...</options>)
in /cq/eval.xqy line 111:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Regards,
Mohanraj_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general