Microsoft KB Archive/325905

= Problem Parsing Text with the $I_READ_ATTRIBUTE Function =

Article ID: 325905

Article Last Modified on 5/28/2003

-

APPLIES TO


 * Microsoft Metadirectory Services 2.2 Service Pack 1
 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



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(&quot;$v_zvalue&quot;,&quot;multilines:attribute:$cd.description&quot;)



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(&quot;&quot;,&quot;multilines:attribute:$cd.description&quot;)



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.

Additional query words: mms zoomit

Keywords: kbprb KB325905

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.