Re: Xalan DTMManager.newInstance performance issue

2012-06-13 Thread Guillaume Bilodeau
Thanks. It seems not much can be done about that other than avoiding extensive use of these tags. We have refactored this code section: - XML parsing is now performed by a custom tag that uses JAXB to populate an object graph generated from a XSD, and - JSPs now use standard notation to consult

Re: ContentHandler.startDocument callback not coming, while transforming the input XML File.

2012-06-13 Thread Harsh_Gupta
I've one more query: If there are some validation(fatal) errors in the input XML file, then we aren't getting the endDocument callback. Is there any workaround for the same? Harsh Gupta Adobe Systems Michael Glavassevich-3 wrote: > > You could write an XMLFilter [1] which wraps the XMLReader

Re: ContentHandler.startDocument callback not coming, while transforming the input XML File.

2012-06-13 Thread Harsh_Gupta
Thanks Michael for the help. :) Michael Glavassevich-3 wrote: > > You could write an XMLFilter [1] which wraps the XMLReader and pass that > to the Transformer instead. > > [1] > http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/XMLFilter.html > > Michael Glavassevich > XML Techno