[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: struct ldap empty



Randy Kunkee wrote:
> ...
> In the case where Netscape APIs can be implemented perfectly using macros,
> why not just add them to ldap.h?

Doing so could provide a continued existence to unwanted APIs. If the
Netscape APIs are deemed non-standard with respect to the LDAP API spec,
then I don't think it is such a good thing to continue to allow people
to use them.

I'd make an analogy to HTML and how it was lax with enforcement on SGML
enforcement. As a result, HTML is a serious bitch to parse. On the other
hand, XML says "don't accept improper input." The intent to simply raise
an error and push back against lazy clients.

Same for this case: don't use non-standard APIs; fix your code.

-g

--
Greg Stein (gstein@lyra.org)