Re: error check in sample SAXWriter

2007-11-02 Thread Michael Glavassevich
Hi Thomas, The sample registers an ErrorHandler which prints every error reported to it to System.err; each line prefixed with "[Fatal Error]", "[Error]" or "[Warning]". If you grep for those you should catch every error / warning emitted by the parser. The regular output from the sample is writte

Re: Invalid IDREF attribute error

2007-11-02 Thread Michael Glavassevich
Hi Toshihiko, This is currently a limitation. The class Xerces uses for checking ID/IDREF is only capable of returning the first IDREF found without a matching ID value. Thakns. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] Toshi

Re: complexType with simpleContent facet violation message not helpful

2007-11-02 Thread Michael Glavassevich
Hi Ron, We weren't assigning an anonymous type name to the simple type. I just committed a fix for that. If you pickup the current code from SVN you should get "#AnonType_Comment2Type" instead of "null" as the type name in the error message. Thanks. Michael Glavassevich XML Parser Development IB