[
http://jira.codehaus.org/browse/JIBX-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Sosnoski closed JIBX-111.
--------------------------------
> The documentation is unclear on how to deal with collections of strings
> -----------------------------------------------------------------------
>
> Key: JIBX-111
> URL: http://jira.codehaus.org/browse/JIBX-111
> Project: JiBX
> Issue Type: Improvement
> Components: core
> Affects Versions: JiBX 1.0
> Environment: Any
> Reporter: Joshua Davies
> Assignee: Dennis Sosnoski
> Priority: Trivial
> Fix For: JiBX 1.1.3
>
>
> The documentation on collection is slightly unclear on how to deal with
> collections of strings. The documentation states:
> "In the case of simple values (primitives, or objects which are represented
> as simple text strings), you just use one or more nested value elements
> (which must use style="element", directly or by default) instead of structure
> elements."
> Which is complete, and accurate, but it's somewhat buried in the collections
> section. Since this is such a common case, propose adding an example on
> "tutorial/binding-collects.html". Something like:
> "So, for example, if you'd like to unmarshall an XML structure such as:
> <container>
> <item>abc</item>
> <item>def</item>
> <item>ghi</item>
> </container>
> Into an ArrayList of strings whose contents should be { "abc", "def", "ghi"
> }, you would create a binding such as:
> <collection field="stringsArrayList">
> <value style="element" name="item" />
> </collection>"
--
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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs