Fix double escaping graphml
The javax.xml.stream.XMLStreamWriter escape some chars, e.g from & to &, so we cannot use StringEscapeUtils.escapeXml10() because we would escape twice.
We just have to remove the invalid xml chars.
The bug is occurred here, and not in 4.4, because of different retrieving order of node.getPropertyKeys().
Therefore, I added more chars in test cases.
Also, added missing @Test in testExportGraphGraphMLQueryTinkerPop
Looks good, out of curiosity, where did you get the list for the invalid characters? are we sure that contains all of them? :)
I've extracted the char list from the previous implementation, StringEscapeUtils.escapeXml10.
Alternatively we could change the pattern in a negative way, to ^[setOfAllowedChars], like here.
However, the results match each other.