| http://www.w3.org/ns/prov#value | - Something which makes the script harder to read, especially as it grows bigger, as you can not easily attach the error messages to the condition tests.In addition to that it is not a good idea to manipulate user input in any form, this includes trimming it.Passwords in particular are extremely bad to manipulate, as you are effectively decreasing their entropy, which makes them easier to crack.
|