You can plug it in using META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema. Each text line in the file can point to an XSD using its resource name. We might need to tweak the following method so that xsd:import/xsd:include across modules can work. I can help to fix it if you see problems.

org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.resolveResource(String, String, String, String, String)

Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <[email protected]>
Sent: Saturday, August 08, 2009 12:03 AM
To: <[email protected]>
Subject: Adding xsd's for scheme validation of extensions

Is there a pluggable way of adding extension scheme's so that SCDL
validation doesn't get errors? Right now we add the non-OASIS tuscany
extensions explicitly to the assembly-xsd module, but thats not going
to be possible for others trying to write their own extensions outside
of Tuscany. It doesn't look like there is, am i missing it? Otherwise
isn't this something that needs be added?

...ant

Reply via email to