I'm not sure of the problem here, your input fo is not
an xsl fo, because the xfo to a namespace wasn't
bound.  Hence the Xerces error message--what is it
that you're expecting instead?


--- Finn Bock <[EMAIL PROTECTED]> wrote:

> Hi Team,
> I'm no expert on java's xml & transformer APIs so I
> need a little help. 
> It appears to me that when using the identity
> Transformer from xalan we 
> no longer get notifications of XML parse errors.
> Using an obviously corrupt input fo:
> <?xml version="1.0" encoding="UTF-8"?>
> <xfo:root
> xmlns:fo="http://www.w3.org/1999/XSL/Format";>
> </xfo:root>
> we get the a message on stderr from xerces
> DefaultErrorHandler:
> [Fatal Error] t.fo:2:56: The prefix "xfo" for
> element "xfo:root" is not 
> bound.
> and there is no way AFAICT to set a different error
> handler on the 
> XMLReader that the xalans transformer creates and
> uses to parse the 
> input file.
> Am I missing something?
> regards,
> finn

Reply via email to