Probably only a theoretical problem. If we define `<version>my${world</version>` then we get a `StringIndexOutOfBoundsException`