8038184: XMLSignature throws StringIndexOutOfBoundsException if ID attribute value is empty String

Reviewed-by: xuelei
2 files changed