bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion regarding header files...


From: David Sugar
Subject: Re: Suggestion regarding header files...
Date: Wed, 13 Nov 2002 18:51:13 -0500 (EST)

I think it might also be worthwhile if we can tie a member function to the 
"html" parser in libxml2 (it has one as well as the xml parser we 
currently use).  This would allow one to automate processing of common web 
pages through Common C++...

On Wed, 13 Nov 2002, Federico Montesino Pouzols wrote:

> 
>       It is in CVS for next releases.
> 
> On Sat, Nov 02, 2002 at 09:50:16PM -0600, Ari Johnson wrote:
> > 
> > I like that solution.
> > 
> > On Sat, 2 Nov 2002, Federico Montesino Pouzols wrote:
> > 
> > >
> > >   Currently, the autoconf stuff defines two symbols:
> > > COMMON_XML_PARSING (A) and HAVE_LIBXML (B). Only B is used for the
> > > #ifdefs. Using both A and B we could do things like this:
> > >
> > > #if defined(A) && defined(B)
> > >   // libxml based stuff as it is currently defined.
> > > #if defined(A) && !defined(B)
> > >   // at present, #error "libxml not installed"
> > >   // in the future, check another HAVE_... alternative xml lib.
> > > #if !defined(A)
> > >   // put in xml.cpp something like #warning "XML support is not
> > >   // being compiled, are you sure?". And put in xml.h #error
> > >   // "XML support not available"
> > >
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]