Sam Ruby wrote: > This question is essentially equivalent to asking "given a schema for an > input and a pipeline, can we predict the schema of the output?".
No, currently there is no algorithmical way to perform this in Cocoon. Can it be created? Yes, but: 1) we need a "real" namespace-driven and inheritance-extenible validation language (I'd use RelagNG if you asked me, but it could still not be enough for this) 2) we need a way to associate a namespace to its schemas (yes, not even the W3C has understood that schemas should be associated to namespaces, not documents, and the overall opacity of XMLSchema reflects this evidently). 3) we need to augment the sitemap component interfaces semantic to indicate the schema of their output. NOTE: in any case, this algorithm *must* work like a view and probably be as expensive as generating the result, so it must be a runtime request (it cannot be heuristically assumed). For example, the XSLTTransformer has no notion of what comes out of it because it depends on the input *and* on the stylesheet. One thing to think about: do the Axis people deal with the concept of pipeline aggregation? -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. <[EMAIL PROTECTED]> Friedrich Nietzsche -------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]