We've encountered a particularly nasty problem with the default piccolo parser and invalid xml headers. If the xml being parsed (via XmlObject.Factory.parse()) has a bad header (like <?xml encoding="UTF-8">), a reasonable exception is thrown. This particular exception also appears to leave the piccolo instance in some sort of invalid state. Unfortunately, the instance also remains in the tl_saxLoaders ThreadLocal inside SystemCache, causing all subsequent parses in the same thread to fail with NullPointerExceptions inside the piccolo code. We've been able to replicate this issue with every version of XmlBeans from 2.0.0-beta1 through 2.2.0. Is there any likelyhood of getting this fixed, or barring that, is there any public API for forcing the bad parser out of the ThreadLocal?
Thanks, Ken --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

