inkml

can't compile a W3C-provided XSD schema; can't resolve “id”?

筅森魡賤 提交于 2020-01-04 04:48:06
问题 I'm playing around with an XML schema and trying to produce a simple valid document that uses it. The schema XSD is provided by the W3C, so I can't imagine anything's actually wrong with it. But xmllint on the command line as well as any number of freebie online validators complain about the actual XSD (not my test document) with: The QName value '{http://www.w3.org/XML/1998/namespace}id' does not resolve to a(n) attribute declaration. Note that it can't resolve the id type/name, which is

Convert stroke data to SCG Ink format

℡╲_俬逩灬. 提交于 2019-12-06 11:37:30
问题 I'd like to use Seshat—a handwritten math expression parser—for a project I'm working on, but I'm having some trouble understanding how to provide the program its proper input, an InkML or SCG Ink file. I've taken a long look at an online example that exists here, and I see that they get a Javascript array of stroke information from an HTML Canvas field with this JS library applied, but I don't know what happens that array after it gets POSTed to their server. I've read the SCG Ink spec, and