Hi,
The bug Neil is referring to is 21001: XercesDOMParser::loadGrammar causes
seg fault.

If you have:
XercesDOMParser*  parser3 = new XercesDOMParser();
parser3->loadGrammar(filename, Grammar::DTDGrammarType, true);

then you will get a seg fault, unless you use the patch for 21001.

Regards,
David A. Cargill




                                                                                       
                                                
                      Neil                                                             
                                                
                      Graham/Toronto/IB        To:       [EMAIL PROTECTED]             
                                      
                      [EMAIL PROTECTED]                  cc:                           
                                                          
                                               Subject:  Re: AW: AW: AW: Validation 
with another DTD than specified in XML fil   e     
                      07/29/2003 09:42                                                 
                                                
                      AM                                                               
                                                
                      Please respond to                                                
                                                
                      xerces-c-dev                                                     
                                                
                                                                                       
                                                
                                                                                       
                                                





Hi Andreas,

Yes, that should work.  Note that there was a bug fixed recently that was
causing a segfault in certain preparsing situations; perhaps David Cargill
can shed more light on this.

Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone:  905-413-3519, T/L 969-3519
E-mail:  [EMAIL PROTECTED]




|---------+---------------------------->
|         |           "Andreas B. Thun"|
|         |           <[EMAIL PROTECTED]>    |
|         |                            |
|         |           07/29/2003 09:37 |
|         |           AM               |
|         |           Please respond to|
|         |           xerces-c-dev     |
|         |                            |
|---------+---------------------------->
  >
---------------------------------------------------------------------------------------------------------------------------------------------|

  |
|
  |       To:       [EMAIL PROTECTED]
|
  |       cc:
|
  |       Subject:  Re: AW: AW: AW: Validation with another DTD than
specified in XML fil   e
|
  |
|
  |
|
  >
---------------------------------------------------------------------------------------------------------------------------------------------|




Neil, you mean

parser->loadGrammar(myDTD, Grammar::DTDGrammarType, true);

??


---------------------------------------------------------------------
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]






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

Reply via email to