开发者

Does QExo XQuery string-join work?

开发者 https://www.devze.com 2022-12-11 23:55 出处:网络
When I run string-join, I get a weird output like this: <clinic> <Name>Olive Street Pediatrics</Name>

When I run string-join, I get a weird output like this:

<clinic>
  <Name>Olive Street Pediatrics</Name>
  <A开发者_C百科ddress>1500 Olive St, Los Angeles, CA 90015</Address>
  <PhoneNumberList>'\u04bc','\u04e4'</PhoneNumberList>
  <NumberOfPatientGroups>4</NumberOfPatientGroups>
</clinic>

Notice the PhoneNumberList.

The output reported by Altova XMLSpy looks correct (using the same XQuery file)

<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>

Does string-join work on Qexo?

  • Here is my XML file
  • Here is my Xquery file

I use kawa-1.9.1.jar


In this case Altova is producing the correct result. The bug is with Qexo.

Running the query in another processor (XQSharp) produced the same result as Altova.

0

精彩评论

暂无评论...
验证码 换一张
取 消