Re: [JBoss-dev] XML Schema validation

2006-04-26 Thread Adrian Brock
Use JBossXB :-) On Tue, 2006-04-25 at 19:21 -0400, Emmanuel Bernard wrote: I want to activate XML Schema validation in a portable way. It doesn't seems to be possible. For Xerces I have to do saxReader = new SAXReader(); saxReader.setEntityResolver(entityResolver);

Re: [JBoss-dev] XML Schema validation

2006-04-26 Thread Alexey Loubyansky
I haven't tried it but maybe it'll help http://xerces.apache.org/xerces2-j/faq-pcfp.html#faq-4 Emmanuel Bernard wrote: I want to activate XML Schema validation in a portable way. It doesn't seems to be possible. For Xerces I have to do saxReader = new SAXReader();

[JBoss-dev] XML Schema validation

2006-04-25 Thread Emmanuel Bernard
I want to activate XML Schema validation in a portable way. It doesn't seems to be possible. For Xerces I have to do saxReader = new SAXReader(); saxReader.setEntityResolver(entityResolver); saxReader.setErrorHandler( new ErrorLogger(file, errorsList) ); saxReader.setMergeAdjacentText(true);