On 29 March 2012 01:31, Danny Sinang <d.sin...@gmail.com> wrote: > Is there a way to make newSchema () display what xsd's it has / is resolving > or loading ?
It depends which api you are using, but you can supply your own resolver to intercept the calls... for example using JAXP in Java 1.5 there is: http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/validation/SchemaFactory.html#setResourceResolver(org.w3c.dom.ls.LSResourceResolver) As it says in the description of that the method if your resolveResource method just returns null, it will fall back to it's usual resolver, however it will allow you to put a break point in there to see whats going on or output some diagnostics. -- Andrew Welch http://andrewjwelch.com --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org