|
Hadrian / Sanjiva What I originally meant was for us to be able to specify any of the Xerces (since thats what we use underneath) features http://xerces.apache.org/xerces2-j/features.html as properties to our validate mediator. The default behavior of the mediator should be the default behavior as per Xerces. We should not define these properties in our code, but merely pass any defined properties to Xerces - which should do whats expected if its a valid property that it understands. So something like... <validate schema="url" [source="xpath"]> <property name="http://apache.org/xml/features/validation/schema-full-checking" value="true|false"/> ...... </validate> And we should just call SchemaFactory.setFeature() using the name and value specified.. this way one can turn on or off *any* supported feature, and our code would be independent of it. I think this would be what we really need? asankha Sanjiva Weerawarana wrote: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]On Thu, 2006-06-29 at 22:34 -0400, Hadrian Zbarcea wrote: |
- Re: Patch for feature configuration in the ValidateMedia... Asankha C. Perera
- Re: Patch for feature configuration in the Validate... Hadrian Zbarcea
- Re: Patch for feature configuration in the Vali... Asankha C. Perera
- Re: Patch for feature configuration in the ... Hadrian Zbarcea
- Re: Patch for feature configuration in ... Hadrian Zbarcea
