Hi Slava, List. just commited to cvs. Thanks...
On Tuesday 21 October 2003 14:02, Vjacheslav Chekushin wrote: > Hi, list. > > Following simple wml documents causes segmentation fault in wapbox > (because it has no DTD section) > (tested system: Linux 2.4.18 + libxml2 2.4.19) > > <?xml version="1.0" encoding="utf-8"?><wml><card > id="2"><p>Test</p></card></wml> > > Patch : > > --- ../gateway_base/gw/wml_compiler.c Thu Oct 9 15:04:18 2003 > +++ gw/wml_compiler.c Tue Oct 21 14:45:49 2003 > @@ -540,6 +513,7 @@ > } > > /* Return WML Version dependent on xml ExternalID string */ > + if (document->intSubset != NULL) > externalID = octstr_create(document->intSubset->ExternalID); > if (externalID == NULL) { > (*wbxml)->wml_public_id = 0x04; /* WML 1.1 Public ID */ -- Best regards / Mit besten Grüßen aus Düsseldorf Dipl.-Ing. Alexander Malysh ___________________________________ Centrium GmbH Vogelsanger Weg 80 40470 Düsseldorf Fon: +49 (0211) 74 84 51 80 Fax: +49 (0211) 277 49 109 email: a.malysh at centrium.de web: http://www.centrium.de msn: olek2002 at hotmail.com icq: 98063111 ___________________________________________ Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html