From: Alexander S. <ale...@gm...> - 2010-04-04 17:20:46
|
Hello! I'm using Graph class CreateLiteralNode method overload that has datatype parameter and I think there is a small bug. For example this call: graph.CreateLiteralNode(creationDateTime, new Uri("xsd:dateTime")) will return 2010-04-04T16:41:19+07:00^^xsd:dateTime but should return "2010-04-04T16:41:19+07:00"^^xsd:dateTime. First, I workarounded it this way: graph.CreateLiteralNode(String.Format("\"{0}\"", creationDateTime), new Uri("xsd:dateTime")) but it doesn't work as LiteralNode's ToString method puts the whole string inside one more pair of quotes. Regards, Alexander |