【问题标题】:Does QExo XQuery string-join work?QExo XQuery 字符串连接有效吗?
【发布时间】:2009-11-22 20:38:11
【问题描述】:

当我运行 string-join 时,我得到一个奇怪的输出,如下所示:

<clinic>
  <Name>Olive Street Pediatrics</Name>
  <Address>1500 Olive St, Los Angeles, CA 90015</Address>
  <PhoneNumberList>'\u04bc','\u04e4'</PhoneNumberList>
  <NumberOfPatientGroups>4</NumberOfPatientGroups>
</clinic>

注意电话号码列表。

Altova XMLSpy 报告的输出看起来是正确的(使用相同的 XQuery 文件)

<clinic>
    <Name>Olive Street Pediatrics</Name>
    <Address>1500 Olive St, Los Angeles, CA 90015</Address>
    <PhoneNumberList>213-512-7457,213-512-7465</PhoneNumberList>
    <NumberOfPatientGroups>4</NumberOfPatientGroups>
</clinic>

字符串连接在 Qexo 上有效吗?

我用的是 kawa-1.9.1.jar

【问题讨论】:

    标签: xquery


    【解决方案1】:

    在这种情况下,Altova 产生了正确的结果。问题在于 Qexo。

    在另一个处理器 (XQSharp) 中运行查询会产生与 Altova 相同的结果。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-09-06
      • 2020-01-21
      • 1970-01-01
      • 2020-03-20
      • 1970-01-01
      相关资源
      最近更新 更多