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);
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();
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);