Hi,

In testAttributeTypeParseWithDescQuotes() of OpenLdapSchemaParserTest
(http://tinyurl.com/58nhpm) the DESC element contains two double quotes:

  ... DESC 'RFC2256: \"knowledge\" information'\n" ...

The parser in openldap.g adds a backslash before each double quote and
this is also expected in the test:

  assertEquals( "RFC2256: \\\"knowledge\\\" information",
type.getDescription() );

I just wonder what's the reason for adding a backslash?

Regards,
Stefan


Reply via email to