From: Bruce D'A. <bd...@gm...> - 2010-06-22 12:55:50
|
On Tue, Jun 22, 2010 at 8:39 AM, Rintze Zelle <R.M...@tu...> wrote: > Did one of you already find a way to validate JSON input using csl-data.rnc? > I would like to help out with extending csl-data.rnc, but I would greatly > appreciate the support offered by validation. Jacob looked into this in some detail but concluded the JSON schema stuff isn't adequate. Would be nice to know why. For example, is it because it can only support very simple patterns? In any case, if that's true, it's probably easy enough to write a dedicated validator. > Frank already prepared a > script to extract the JSON from the citeproc unit tests > (http://bitbucket.org/bdarcus/csl-utils/changeset/54171a592344). Perhaps the > following script would prove useful to convert the JSON files to XML?: > http://michalkorecki.com/content/introducing-json-xml-jquery-plugin I'm not too worried about converting among this stuff (xml <--> json, rnc <--> whatever). We just need a target we can work on to agree on the logical input model. Bruce |