Also test on an empty result, fixes #772
Feed unrolled schema to processor
- Change service URI so we can reuse detail-model.xpl as, say, new does in the page flow and in schema.xpl reuse unroll-form.xpl as done by the new view
- Since schema.xpl is now a view, change the processor to have an output; instead of overriding start(), override createOutput(); write the schema we get a as scala.xml.Elem to the XMLReceiver using XMLUtils.stringToSAX()
Refactor XFormsToXHTML so code can be reused in schema generator
- Create abstract super class XFormsToSomething, which calls an abstract method produceOutput(), which subclasses need to implement
- Change schema generator to inherit from XFormsToSomething
- Rename schema generator to XFormsToSchema, for consistency
Generate simple type from itemset