Thnaks for your answer Jesse, I have to confess I have a very small experience with xerces. I completely agree that allowing content in the xsd would probably be the easiest solution but this schema is shared with many developper and it hasn't been considered as a good option. I tried to overload ignorableWhitespace but it doesn't get called. Is there a function that I should call to define what whiteSpaces are supposed to be ? But I still believe that there is something strange going on in the situation I described. Indeed, the parse function returns but parse is prototyped to return void and this happens after an internal exception is caught and prints this to stderr:
First-chance exception at 0x7c81eb33 in Tests.exe: Microsoft C++ exception: xercesc_2_7::XMLValid::Codes @ 0x0012e37c. Even if the validation cannot be performed correctly on this file using this schema, I expect xerces to at least allow me to catch this exception. Am I right ? Or missing something ? Best Regards. Michel Courtine | Software Engineer @ Core Products | BBC Interactive TV Broadcast Centre | Media Village | BC5 A2 | 201 Wood Lane London | W127TP Tel: 020 800 85822 | Fax: 020 800 5193 http://michak.net http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]