commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <oliver.he...@oliver-heger.de>
Subject Re: [configuration] empty XML attributes removed
Date Thu, 07 Apr 2011 18:24:58 GMT
Am 07.04.2011 11:35, schrieb Delepine Ghislain (ALTEN):
> Hi,
>
>
>
> Could anyone please explain why empty XML attributes are removed in
> XMLConfiguration ?
>
> (method XMLConfiguration$XMLBuilderVisitor.updateAttribute(Node node,
> Element elem, String name, char listDelimiter))
>
>
>
> As discussed in the following question, an empty attribute is valid and
> different from a missing attribute:
>
> http://stackoverflow.com/questions/184014/can-an-xml-attribute-be-the-em
> pty-string
>
>
>
> Do you think I should post a JIRA for this ?
>
>
>
> Thanks,
>
> Ghislain
>
>
This is probably a missing feature (or even a bug) in XMLConfiguration.

So yes, it would be nice if you could create a ticket in JIRA. A unit 
test would be helpful, too, but is not required.

Many thanks!
Oiver

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message