Problem Parsing Text with the $I_READ_ATTRIBUTE() Function (325905)



The information in this article applies to:

  • Microsoft Metadirectory Services 2.2
  • Microsoft Metadirectory Services 2.2 SP1

This article was previously published under Q325905

SYMPTOMS

A failure may occur when you are using the $I_READ_ATTRIBUTE function to process text. Although the log files do not indicate a problem, the hologram may not contain the attribute with the problem data.

CAUSE

When the first argument is not empty in the $I_READ_ATTRIBUTE function, it is used to parse the attribute. The problem occurs when the value is parsed. The following is a parsing template example that is using $I_READ_ATTRIBUTE with the first argument:
   -description:    $i_read_attribute("$v_zvalue","multilines:attribute:$cd.description")
				

RESOLUTION

If the first argument is omitted, the parsing is skipped, and the value is sent to the hologram. The following is a parsing template example that is using $I_READ_ATTRIBUTE without the first argument:
   -description: $i_read_attribute("","multilines:attribute:$cd.description")
				

MORE INFORMATION

Logging level 4 reveals the parsing template processing, followed later by the construction of the hologram. The missing attribute is revealed when you view the hologram. This problem has been reproduced by using the # character, and by using CRLF characters in attribute data.

Modification Type:MajorLast Reviewed:5/28/2003
Keywords:kbprb KB325905