I'm generating graphs with Python NetworkX and marshaling to GraphML. Some attributes are `float('inf')` which equates to Java's POSITIVE_INFINITY. However, NetworkX encodes this in the attribute as `<data key="d24">inf</data>`, which breaks yWorks w/ `Caused by: java.lang.NumberFormatException: For input string: "inf"`.
I think the spec is weak here, so this bug could go against NetworkX as well. Also, I can work around this, but it would be nice to have a fix.