[
https://issues.apache.org/jira/browse/TINKERPOP3-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kelvin R. Lawrence updated TINKERPOP3-756:
------------------------------------------
Description:
Opening this per the request of Stephen M. over on the gremlin users forum.
https://groups.google.com/forum/#!topic/gremlin-users/jHFE7Isk61E
If the type of a value in a GraphML file is specified as Double but the file
contains an empty string in that element, a rather misleading exception is
thrown that does not make it clear the XML file is the problem during the
loading of the XML using the GraphML reader.
Stephen and I discussed a bit whether the exception text should just be
improved or if the behavior should be changed (ie continue loading but issue a
warning etc.)
As a side note, other GraphML implementations I tried, like Gephi, handle my
XML file differently. Gephi loads the file and just does not assign any value
to the properties that contain empty strings. That's not to say Gephi is right
more observing this seems to be an area that is handled inconsistently across
GraphML readers.
was:
Opening this per the request of Stephen M. over on the gremlin users forum.
https://groups.google.com/forum/#!topic/gremlin-users/jHFE7Isk61E
If the type of a value in a graphML file is specified as Double but the file
contains an empty string in that element, a rather misleading exception is
thrown that does not make it clear the XML file is the problem during the
loading of the XML using the GraphML reader.
Stephen and I discussed a bit whether the exception text should just be
improved or if the behavior should be changed (ie continue loading but issue a
warning etc.)
As a side note, other GraphML implementations I tried, like Gephi, handle my
XML file differently. Gephi loads the file and just does not assign any value
to the properties that contain empty strings. That's not to say Gephi is right
more observing this seems to be an area that is handled inconsistently across
GraphML readers.
> Consider changing way GraphML exception is handled for missing Double
> ---------------------------------------------------------------------
>
> Key: TINKERPOP3-756
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-756
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: structure
> Reporter: Kelvin R. Lawrence
> Priority: Minor
>
> Opening this per the request of Stephen M. over on the gremlin users forum.
> https://groups.google.com/forum/#!topic/gremlin-users/jHFE7Isk61E
> If the type of a value in a GraphML file is specified as Double but the file
> contains an empty string in that element, a rather misleading exception is
> thrown that does not make it clear the XML file is the problem during the
> loading of the XML using the GraphML reader.
> Stephen and I discussed a bit whether the exception text should just be
> improved or if the behavior should be changed (ie continue loading but issue
> a warning etc.)
> As a side note, other GraphML implementations I tried, like Gephi, handle my
> XML file differently. Gephi loads the file and just does not assign any value
> to the properties that contain empty strings. That's not to say Gephi is
> right more observing this seems to be an area that is handled inconsistently
> across GraphML readers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)