commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <>
Subject [jira] Resolved: (CONFIGURATION-335) XMLConfiguration: Can't disable attribute splitting
Date Wed, 26 Nov 2008 21:20:44 GMT


Oliver Heger resolved CONFIGURATION-335.

       Resolution: Invalid
    Fix Version/s: 1.6

This is not a problem of attribute splitting operations performed by XMLConfiguration. The
attribute values have already been modified by the XML parser. So closing this issue as invalid.

> XMLConfiguration: Can't disable attribute splitting 
> ----------------------------------------------------
>                 Key: CONFIGURATION-335
>                 URL:
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Format
>    Affects Versions: 1.5
>            Reporter: Sergey Vladimirov
>             Fix For: 1.6
> 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