Hi all,

I'd like to parse an XML based logfile using SAX. Unfortunately the
logfile may not be well formed (see following example) and the parsing
fails.

<log4j:throwable>
        ....
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        ....
</log4j:throwable>

So far I'm thinking of solving this problem by subclassing the XMLLayout and
nesting each charater in a CDATA section. Does anyone know a more
convenient way to handle this?

Daniel 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to