[Home] [By Thread] [By Date] [Recent Entries]
On Wed, Apr 10, 2013 at 1:23 AM, Rick Jelliffe <rjelliffe@a...> wrote:
This is a truly excellent post, which you should work up into an article somewhere.
Examplotron is particularly nice here, or using Trang to generate a post hoc RELAX NG schema from a reasonable library of existing instances. Â Any new instance that fails output validation is then added to the library, and the schema is regenerated. Â (Unfortunately, Trang can't accept a schema on the input side when doing this, or you'd just need to keep the schema. Â I'm working on a tool that will be much cruder than Trang but will have this capability.)
Â
Not me, dude. Â My "two dozen" included our Indian siblings. Â If there are schema developers elsewhere than (in caps) Content Architecture, I don't know about it.
Â
Indeed, that's what our internal schemas are basically for.  "Boundarylessness" is one of  $EMPLOYER's so-called key values, which (as usual) is an indication that they aren't (yet) very good at it.
Â
The problem with JSON is that arrays provide ordering and objects provide naming, but if you want named ordering you have to go a level deeper, which is annoying. Â A JSON document containing a sequence of paragraphs interspersed with blockquotes, you have to make each element of the outermost array a dummy object like {"type" : "paragraph", "content" : (whatever)}". Â Not all JSON systems correctly handle the case of the top-level item being an array, either.
Â
Sure, local issues almost always trump global architecture in practice, unless there are *very* strong top-down drivers. GMail doesn't have rotating .sigs, but you can see mine at http://www.ccil.org/~cowan/signatures
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



