On 6/9/06, Daniel Veillard <veillard redhat com> wrote:
On Fri, Jun 09, 2006 at 02:45:06PM -0500, Felipe Contreras wrote: > Hi everybody, > > I had a problem when trying --with-minimum and --with-reader at the > same time. It seems I have to specify all of the following: > --with-sax1 --with-schemas --with-tree --with-xptr --with-writer, > otherwise libxml2 won't compile. > > That's with the latest version, 2.6.26, is that the desired behaviour? Hum, no, the reader should not be dependant on sax1/schemas/xptr/writer and the tree bit could be cleaned up too. So there is something broken.
It seems the problem was only on testapi.c, I have attached a patch that makes reader work without schemas. However, I'm pretty sure there are other combinations that don't work. -- Felipe Contreras
Attachment:
libxml2-2.6.26-reader-no-schemas.diff
Description: Text Data