You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Rajagopal Natarajan (JIRA)" <ji...@apache.org> on 2007/10/29 13:29:52 UTC

[jira] Updated: (HADOOP-1348) Configuration XML bug: comments inside values

     [ https://issues.apache.org/jira/browse/HADOOP-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajagopal Natarajan updated HADOOP-1348:
----------------------------------------

    Attachment: 1348.patch

Using getTextContent() extracts the text value that is even after the comment.

> Configuration XML bug: comments inside values
> ---------------------------------------------
>
>                 Key: HADOOP-1348
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1348
>             Project: Hadoop
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.12.2
>            Reporter: Eelco Lempsink
>            Priority: Critical
>         Attachments: 1348.patch
>
>
> The logic of reading the data of the value causes (very) unexpected behaviour:
> value = ((Text)field.getFirstChild()).getData();
> When commenting out a part of the value only the part till the comment will be processed.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.