-
When defining channels with InkMLLibJ, the exported InkML is not conform with the schema. The problem affects the attributes "type" and "orientation" of the element "channel".
For example the following code :
final TraceFormat traceFormat = new TraceFormat();
final Channel chanX = new Channel("X", ChannelType.INTEGER);
chanX.setUnits("dev");...
2009-08-14 14:55:51 UTC in InkMLTk
-
See attached file for patch.
2009-08-14 14:27:16 UTC in InkMLTk
-
When using the method Ink.toInkML() with Java 1.6, we get the following exception :
java.lang.ClassCastException: java.util.HashMap$Values cannot be cast to java.util.ArrayList
at com.hp.hpl.inkml.TraceFormat.toInkML(Unknown Source)
at com.hp.hpl.inkml.Context.toInkML(Unknown Source)
at com.hp.hpl.inkml.Definitions.toInkML(Unknown Source)
at com.hp.hpl.inkml.Ink.toInkML(Unknown Source)
2009-08-14 14:26:31 UTC in InkMLTk