commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <>
Subject [jira] Resolved: (CONFIGURATION-400) PropertiesConfiguration: Can't disable attribute splitting
Date Wed, 21 Oct 2009 19:36:59 GMT


Oliver Heger resolved CONFIGURATION-400.

    Resolution: Invalid

No problem. This delimiter splitting has caused us a bunch of trouble. I guess we will change
this in the next major release.

> PropertiesConfiguration: Can't disable attribute splitting 
> -----------------------------------------------------------
>                 Key: CONFIGURATION-400
>                 URL:
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Format
>    Affects Versions: 1.6
>            Reporter: Lee Naylor
>            Assignee: Oliver Heger
> My XML configuration has the following attribute:
> <some-element some-attribute="&#x0A;&#x0D;" />
> But XML Configuration is trying to split this string and trims it after splitting. I
don't need this behaviour, but setting setDelimiterParsingDisabled() just changing delimeter
to "|" and not disables attribute trimming.
> Need either to disable trimming/splitting if setDelimiterParsingDisabled() is set to
TRUE (incompatible change), or add something like setParseAttributesAsIs() that will prevent
attributes to be trimmed and splitted

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

View raw message