[
http://jira.codehaus.org/browse/JIBX-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139638#action_139638
]
Smelik Evgeniy commented on JIBX-226:
-------------------------------------
I got error:
Error: Value "CDATA" is not a valid choice for style; on value element at (line
54, col 55, in binding.xml)
Error: Missing required name for element or attribute value; on value element
at (line 54, col 55, in binding.xml)
Error running binding compiler
org.jibx.runtime.JiBXException: Binding binding.xml is unusable because of
validation errors
at org.jibx.binding.Utility.loadBinding(Utility.java:341)
at org.jibx.binding.Utility.loadFileBinding(Utility.java:408)
...
line 54:
<value style="CDATA"/>
> Ability to create collection of CDATA elements
> ----------------------------------------------
>
> Key: JIBX-226
> URL: http://jira.codehaus.org/browse/JIBX-226
> Project: JiBX
> Issue Type: Improvement
> Components: core
> Affects Versions: JiBX 1.1.5
> Reporter: Smelik Evgeniy
> Assignee: Dennis Sosnoski
>
> I need ability to create xml-file like that:
> ...
> <tags>
> <tag><![CDATA[....]]></tag>
> <tag><![CDATA[....]]></tag>
> <tag><![CDATA[....]]></tag>
> </tags>
> But I cann't create binding:
> <collection name="tags" field="tags" type="java.util.ArrayList">
> <value name="tag" style="CDATA" type="java.lang.String"/>
> </collection>
> cause of error during compilation:
> Error: Value "CDATA" is not a valid choice for style; on value element at
> (line 51, col 78, in binding.xml)
> Error running binding compiler
> org.jibx.runtime.JiBXException: Binding binding.xml is unusable because of
> validation errors
> ...
> I found in documentation that I cann't use CDATA style attribute directly in
> collections. Are there any "indirectly" approaches?
--
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://sourceforge.net/services/buy/index.php
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs