撒克逊意外令牌” < eof>”

发布于 2024-09-30 17:41:22 字数 307 浏览 0 评论 0 原文

我正在评估 Stylus Studio 主要针对使用 SOAP 交换的 XML 有效负载进行 xquery 开发。 我继承了一个复杂的 xquery (大约 1800 行),当我尝试使用 Saxon 作为引擎执行它时,我收到此错误:

XPST0003: Xquery sintax error in ##:Unexpected token " < eof >"在路径表达式中。

此查询在 AcquaLogic 中运行良好,因此不能确定这是文件或 Saxon 中的错误。 有人可以就此提出建议吗?至少要了解它在哪一行找到这个标记。

提前致谢

I am evaluating Stylus Studio mainly for xquery development against XML payload exchanged using SOAP.
I've inherited a complex xquery (about 1800 lines) and when I try to execute it using Saxon as engine I get this error:

XPST0003: Xquery sintax error in ##:Unexpected token " < e o f >" in path expression.

This query works fine in AcquaLogic, so no really sure it's a bug in the file or Saxon.
Could anyone please give advise on this? At least to understand on which line it finds this token.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谎言 2024-10-07 17:41:22

表示 Saxon 遇到了文字“文件结束”字节。也许您的路径表达式已损坏?如果其他工具知道缓冲区更长,它们可能会忽略 EOF,但这条道路上存在着疯狂。

<EOF> means that Saxon encountered a literal "End of File" byte. Perhaps your path expression is corrupted? Other tools might ignore the EOF if they know the buffer is longer, but on that path lies madness.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文