[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-devs
Subject:    [jibx-devs] [jira] Resolved: (JIBX-180) End-of-Line replaced by
From:       "Dennis Sosnoski (JIRA)" <jira () codehaus ! org>
Date:       2008-01-12 3:57:57
Message-ID: 4855157.1200110277264.JavaMail.haus-jira () codehaus01 ! managed ! contegix ! com
[Download RAW message or body]


     [ 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. "&#xA;" . 
> 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
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic