DOM4J Xpath Truncating Results

前提是你 提交于 2019-12-11 02:09:45

问题


We are maintaining an application that heavily relies on DOM4J and Xpath. Once in a while we see a strange behaviors with results of XPath execution via DOM4J: The text result would simply be truncated.

We tried applying the recommendation provided here: http://www.mail-archive.com/dom4j-user@lists.sourceforge.net/msg02688.html

It seems the problem occurs less frequently but it still manifests itsself. Last time we got it, it was after applying Xpath on a the clone of a document parsed as indicated by the previous link.

This also seems to be similar to the issue mentioned here: Use of text() function when using xPath in dom4j

来源:https://stackoverflow.com/questions/13607311/dom4j-xpath-truncating-results

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!