Nicholas Williams wrote:
My understanding is that Tuscany does not currently validate SCDL against the 
schemas. Assuming that this is correct, when do you think such functionality 
will be introduced?

Thanks


Nick Williams

Good idea. We should validate .composite/.componentType/.constrainingType files when we initially load them and report any XML schema validation problems then, and this will greatly improve our error reporting story.

These files are loaded by Composite/ComponentType/ConstrainingTypeDocumentProcessor (in module tuscany-assembly-xml). It should be easy to add the validation there.

To do this we'll need the schemas in our distribution. The SCA 1.0 schemas and license.txt are there: http://www.osoa.org/xmlns/sca/1.0/. However, before we include them I think we need to review their license. Since it's not an Apache License, we need to get an approval covering this 3rd party license. We'll probably have to adjust our NOTICE file to list that 3rd party license as well.

Is this something we'd like to do as part of the upcoming release? This is just a few lines of code, the benefit is much better error reporting, and it's probably the right time to look at this license issue now as we are going to have to review all our other NOTICE and license files anyway.

What do people think?

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to