validate an xpath expression in Java

前端 未结 2 998
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-17 12:27

Given an user input string, how can I tell whether it is a valid Xpath expression or not in Java. Just curious, since I cannot find a way to do it using javax.xml.xpath li

2条回答
提交回复
热议问题