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";>

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?


Reply via email to