We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the following invalid attribute search, properly throws an IllegalArgumentException.
IllegalArgumentException
scala> <x/> \ "@" java.lang.IllegalArgumentException: @
An empty attribute doesn't exist, so it rightly should be a failure.
However, when the improper matching value is used against more than just one element, no error is thrown, just an empty NodeSeq is returned:
NodeSeq
scala> <x><y/><z/></x>.child \ "@" res1: scala.xml.NodeSeq = NodeSeq()
This was identified while writing ScalaCheck property tests in #110.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Running the following invalid attribute search, properly throws an
IllegalArgumentException
.An empty attribute doesn't exist, so it rightly should be a failure.
However, when the improper matching value is used against more than just one element, no error is thrown, just an empty
NodeSeq
is returned:This was identified while writing ScalaCheck property tests in #110.
The text was updated successfully, but these errors were encountered: