Use a more clear XPath form to replace the former

This commit is contained in:
LaLucid
2022-04-27 04:07:02 +08:00
committed by GitHub
parent 3841e7d0c9
commit e951d6df8f

View File

@ -1304,11 +1304,11 @@ These expressions can be simplified as follows:
<property name="xpath"> <property name="xpath">
<value> <value>
<![CDATA[ <![CDATA[
//ConditionalExpression[not(PrimaryExpression/*/Literal) and (Expression/PrimaryExpression/*/Literal/BooleanLiteral)] //ConditionalExpression[
| ((PrimaryExpression/*/Literal/BooleanLiteral) or (Expression/PrimaryExpression/*/Literal/BooleanLiteral))
//ConditionalExpression[not(Expression/PrimaryExpression/*/Literal) and (PrimaryExpression/*/Literal/BooleanLiteral)] and
| not((PrimaryExpression/*/Literal/NullLiteral) or (Expression/PrimaryExpression/*/Literal/NullLiteral))
//ConditionalExpression[(PrimaryExpression/*/Literal/BooleanLiteral) and (Expression/PrimaryExpression/*/Literal/BooleanLiteral)] ]
]]> ]]>
</value> </value>
</property> </property>