nuxeo 8.10与MarkLogic 8.0-5.8集成

时间:2016-12-21 12:38:34

标签: marklogic marklogic-8 nuxeo

我们在nuxeo日志文件中出现3个以下错误:

引起:com.marklogic.xcc.exceptions.XQueryException:XDMP-OPTION:cts:element-reference(fn:QName(“”,“webc _name”),“type = null”) - 无效选项“type = NULL”  [会话:user = nuxeouser,cb = nuxeo [ContentSource:user = nuxeouser,cb = nuxeo [provider:address = localhost:8010,pool = 1/64]]]  [客户:XCC / 8.0-5,服务器:XDBC / 8.0-5.8] 在第5行 expr:cts:element-reference(fn:QName(“”,“webc _name”),“type = null”)

引起:com.marklogic.xcc.exceptions.XQueryException:XDMP-OPTION:cts:element-reference(fn:QName(“”,“dc__issued”),“type = null”) - 无效选项“type = NULL”  [会话:user = nuxeouser,cb = nuxeo [ContentSource:user = nuxeouser,cb = nuxeo [provider:address = localhost:8010,pool = 1/64]]]  [客户:XCC / 8.0-5,服务器:XDBC / 8.0-5.8] 在第5行 expr:cts:element-reference(fn:QName(“”,“dc__issued”),“type = null”)

引起:com.marklogic.xcc.exceptions.XQueryException:XDMP-OPTION:cts:element-reference(fn:QName(“”,“nt__dueDate”),“type = null”) - 无效选项“type = NULL”  [会话:user = nuxeouser,cb = nuxeo [ContentSource:user = nuxeouser,cb = nuxeo [provider:address = localhost:8010,pool = 1/64]]]  [客户:XCC / 8.0-5,服务器:XDBC / 8.0-5.8] 在第5行

1 个答案:

答案 0 :(得分:1)

cts:element-reference options不允许type = null。有效的数据类型是:

  • INT
  • 无符号整型
  • unsignedLong
  • 小数
  • 日期时间
  • 时间
  • 日期
  • gYearMonth的
  • gYear的
  • gMonth的
  • g·天
  • yearMonthDuration
  • dayTimeDuration
  • 字符串
  • 任何URI
  • 长LAT-点

请参阅此处的文档:https://docs.marklogic.com/cts:element-reference