On 13/10/2011 10:13, Rajath.Sakkari@continental-corporation.com wrote:
Oh Oh...
I tried with changing the fileOut to URI (file:///d:/out.xml) and also as a Java File object. Its throwing the same error again.

org.xml.sax.SAXException: Parser configuration problem: namespace reporting is not enabled
org.xml.sax.SAXException: Parser configuration problem: namespace reporting is not enabled
        at net.sf.saxon.event.ReceivingContentHandler.getNameCode(ReceivingContentHandler.java:383)
        at net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:314)


Did that program ran without any errors for you?
I am out of clues. :( :( :(

You fixed the second problem and not the first one.

I had to change three places where you fail to supply the localName - two calls on startElement() on lines 45 and 72, and one call on addAttribute on line 88.

Michael Kay
Saxonica