Yes I know, this was my error, I was talking about schemas. As far as I know, DTDs can not be overridden. But you can turn them off:
void SAXParser::setLoadExternalDTD ( const bool newState ) Set the 'Loading External DTD' flag. This method allows users to enable or disable the loading of external DTD. When set to false, the parser will ignore any external DTD completely if the validationScheme is set to Val_Never. The parser's default state is: true. This flag is ignored if the validationScheme is set to Val_Always or Val_Auto. Parameters: newState The value specifying whether external DTD should be loaded or not. > -----Ursprüngliche Nachricht----- > Von: Andreas B. Thun [SMTP:[EMAIL PROTECTED] > Gesendet am: Dienstag, 29. Juli 2003 15:06 > An: [EMAIL PROTECTED] > Betreff: Re: AW: AW: Validation with another DTD than specified in > XML file > > > parser->setExternalSchemaLocation("x.dtd"); // ?????????? > > Hmm, unfortunately this does not work. > My program still searches for the DTD specified in the XML file... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]