[
http://jira.codehaus.org/browse/JIBX-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Sosnoski resolved JIBX-180.
----------------------------------
Assignee: Dennis Sosnoski
Resolution: Won't Fix
This substitution of spaces for newline characters within attribute values is
required by the XML specification. See
http://www.w3.org/TR/2006/REC-xml-20060816/#AVNormalize
> End-of-Line replaced by spaces inside of the string values mapped to
> attributes
> -------------------------------------------------------------------------------
>
> Key: JIBX-180
> URL: http://jira.codehaus.org/browse/JIBX-180
> Project: JiBX
> Issue Type: Bug
> Components: core
> Affects Versions: JiBX 1.0.1, JiBX 1.1.5
> Environment: I use IuBX 1.0.1, but the code analysis have shown that
> the same problem is likely to be relevant for JiBX 1.1.5 too.
> Reporter: Dimitry Polivaev
> Assignee: Dennis Sosnoski
>
> I experience an asymmetric behavior of marshaller and unmarshaller for
> strings containing End-Of-Line character '\n' when such strings are
> mapped to xml - attributes:
> The marshaller preserves all '\n' characters and does not substitute
> them by e.g. "
" .
> The parser org.xmlpull.mxp1.MXParser erplaces all '\n' characters inside of
> attribute values by spaces.
> As a result the content of the objects changes after marshalling /
> unmarshalling procedure. Although there is a workaround (saving strings as
> XML elements and not as Attributes), I think that this behavior should be
> corrected or the '\n' characters in strings mapped to attributes should be
> prohibited.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs