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
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
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 Technologies and WAS Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla
We want to get startDocument callback in following scenarios:
- When any input xml file is parsed before doing transformation.
- Or when any file is opened using document function of XSLT.
Even after registering our own ContentHandler object in xmlReader object, we
aren't getting any callbacks. W