Arnaud Le Hors wrote: > > For what it's worth I'd like to point out that the first error was to > make schema processing happen by default. I'm not sure whether people > care to do the right thing or not at this point but here is what I > think. > > To be backward compatible everytime a new feature is added it must be > off by default. That way, new applications can get the new behavior by > turning the new feature on and old applications still get the old > behavior they need not to break. > > The general trend seems to be "let's make it easy for new applications", > but that's just plain wrong. If you care about backward compatibility > that is. I do, but I seem to represent a minority, since everytime such > a question gets raised I have to go to the front to make my point > again...
Yes, currently, if you use JAXP and turn on validation (and namespaceAware), this also turns on XML Schema validation. I agree with Arnaud, that this probably isn't the best thing to do. I sent some email regarding this issue and how it may be incompatible with future JAXP API specs. I'd vote to change the behavior now before its use gets too entrenched. -Edwin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
