<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-4284</id>
	<title>Nabble - JiBX - XML Data Binding for Java</title>
	<updated>2009-12-09T12:36:52Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/JiBX---XML-Data-Binding-for-Java-f4284.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JiBX---XML-Data-Binding-for-Java-f4284.html" />
	<subtitle type="html">JiBX is a framework for XML data binding to Java. It works with existing classes, using a flexible mapping definition file to determine how data objects are translated to and from XML. See the Home Page for details and external bug tracking system links. JiBX - XML Data Binding for Java home is &lt;a href=&quot;http://sourceforge.net/projects/jibx/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26717268</id>
	<title>Codegen getter/setter hook</title>
	<published>2009-12-09T12:36:52Z</published>
	<updated>2009-12-09T12:36:52Z</updated>
	<author>
		<name>JKSchneider</name>
	</author>
	<content type="html">&lt;div&gt;Hi,&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I would like to add code to the getters and setters in a generated bean, but I do not believe there is a facility for this in the codegen currently.  The MethodDeclaration built by the StructureClassHolder.addXXXProperty(..) methods are effectively immutable.  As far as I can tell, attempting to change them results in an IllegalStateException from AST.  I can see two ways to approach this problem:&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;1.  Allow access to the AST CompilationUnit in some sort of PostProcessingDecorator similar to the ClassDecorator to allow the developer to use the two AST modification strategies:&lt;/div&gt;&lt;div&gt;    a.  Modification API (CompilationUnit.recordModifications(), modify AST nodes, CompilationUnit.rewrite(..))&lt;/div&gt;
&lt;div&gt;    b.  ASTRewrite API.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I prefer this approach because it allows for more broad spectrum flexibility in post processing the generated code.  I can understand how we might be concerned that this would allow a user to deface a class enough that the binding breaks.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;2.  Give the ClassDecorator access to the BlockBuilder for getters and setters via valueAdded(..) or some similar mechanism.  While this constrains the potential abuses of refactoring a bit more, building code a statement at a time is a little clumsy.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;And of course there is the possibility that I am missing something entirely, and this is possible with the existing codebase...&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks for any input,&lt;/div&gt;&lt;div&gt;Jon&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-devs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26717268&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-devs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-devs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-devs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-devs-f4286.html&quot; embed=&quot;fixTarget[4286]&quot; target=&quot;_top&quot; &gt;jibx-devs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Codegen-getter-setter-hook-tp26717268p26717268.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26697565</id>
	<title>DTD - (EL1, EL2)* Lists without a wrapper element.</title>
	<published>2009-12-08T09:31:39Z</published>
	<updated>2009-12-08T09:31:39Z</updated>
	<author>
		<name>jonl</name>
	</author>
	<content type="html">Hi all, &lt;br&gt;&lt;br&gt;I am slowly getting used to JiBX. I can see how useful it is for someone proficient with the tool. &lt;br&gt;&lt;br&gt;The
issue I am facing is exceptional and concerns how to deal with a List
of elements WITHOUT a wrapping element! I cannot remember the technical
term for this. &lt;br&gt;&lt;br&gt;DTD:&lt;br&gt;&amp;lt;!ELEMENT AWARD_OF_CONTRACT ((CONTRACT_NUMBER?, ((EL1, EL2)* )), &lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;CONTRACT_AWARD_DATE&lt;/span&gt;? )&amp;gt;&lt;br&gt;
Disclaimer: I did not write the DTD.&lt;br&gt;&lt;br&gt;Objective: create this XML, ignoring the comments (WITHOUT a wrapper element around EL1...EL2):&lt;br&gt;&lt;br&gt;&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5Clokenj%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot;&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;AWARD_OF_CONTRACT&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;CONTRACT_NUMBER&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;EL1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;1&amp;lt;/EL1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;        &amp;lt;!--block1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;--&amp;gt;&lt;/p&gt;


&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;
&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;EL2&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;a&amp;lt;/EL2&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;        &lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;!--&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;block1&lt;/span&gt;--&amp;gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;/p&gt;


&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;
&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;EL1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;2&amp;lt;/EL1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;        &lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;!--&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;block2&lt;/span&gt;--&amp;gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;/p&gt;


&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;
&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;EL2&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;b&amp;lt;/EL&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;2&amp;gt;        &lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;!--&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;block2&lt;/span&gt;--&amp;gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;/p&gt;


&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;p class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;CONTRACT_AWARD_DATE&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue;&quot; lang=&quot;DE-CH&quot;&gt;(...)&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;EN-US&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;EN-US&quot;&gt;AWARD_OF_CONTRACT&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;EN-US&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;/p&gt;


&lt;br&gt;Java Objects:&lt;br&gt;public class AwardOfContract {&lt;br&gt;    private String contractNumber;&lt;br&gt;    private List&amp;lt;Block&amp;gt; block = new ArrayList&amp;lt;Block&amp;gt;();&lt;br&gt;    private Date contractAwardDate;;&lt;br&gt;}&lt;br&gt;public class Block {&lt;br&gt;
    private Integer el1;&lt;br&gt;    private String el2;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;The JiBX documentation does specify how to create a list WITH a wrapper element. E.g:&lt;br&gt;



&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&amp;lt;BLOCK&amp;gt;&lt;br&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;EL1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;1&amp;lt;/EL1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;        block1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;/p&gt;



&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;EL2&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;a&amp;lt;/EL2&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;        &lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;block1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;/p&gt;



&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;EL1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;2&amp;lt;/EL1&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;        &lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;block2&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;/p&gt;



&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;span style=&quot;&quot;&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;lt;EL2&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: maroon; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;b&amp;lt;/EL&lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;2&amp;gt;        &lt;/span&gt;&lt;span style=&quot;background: white none repeat scroll 0% 0%; font-size: 11pt; font-family: &amp;quot;Arial Narrow&amp;quot;; color: blue; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot; lang=&quot;DE-CH&quot;&gt;block2&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&amp;lt;/BLOCK&amp;gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;br&gt;
&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;I cannot find documentation of how to
deal with the issue above, that is, a list WITHOUT a wrapper element.
Can JiBX deal with this? &lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;br&gt;
&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Many thanks for your help. &lt;br&gt;
&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Regards, &lt;br&gt;
&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Jon L&lt;br&gt;
&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;br&gt;
&lt;/p&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26697565&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DTD---%28EL1%2C-EL2%29*-Lists-without-a-wrapper-element.-tp26697565p26697565.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26627250</id>
	<title>org.jibx.runtime.JiBXException: Classloader conflict for binding factory - factory does not implement required interface</title>
	<published>2009-12-03T06:54:01Z</published>
	<updated>2009-12-03T06:54:01Z</updated>
	<author>
		<name>dfhtiqsol</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=DE link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;Hi, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;I
get an Error when working on a tomcat server. I use JiBX to generate classes
and use them in the application. My problem is to load the classes in the
tomcat. For this purpose I defined a URLClassLoader that loads the generated
classes. When I want to load the objects I get an error. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black'&gt;Class&amp;lt;?&amp;gt;
rootClass = Class.&lt;i&gt;forName&lt;/i&gt;(&lt;/span&gt;&lt;b&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:&quot;Courier New&quot;;color:#7F0055'&gt;className&lt;/span&gt;&lt;/b&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black'&gt;, &lt;/span&gt;&lt;b&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#7F0055'&gt;true&lt;/span&gt;&lt;/b&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black'&gt;,&lt;/span&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;'&gt; &lt;span style='color:black'&gt;classLoader);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;
color:black'&gt;IBindingFactory bfact = BindingDirectory.&lt;i&gt;getFactory&lt;/i&gt;(rootClass);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;
color:black'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;The
stackTrace looks as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;u&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:navy'&gt;org.jibx.runtime.JiBXException&lt;/span&gt;&lt;/u&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black'&gt;:
Classloader conflict for binding factory 'de.tiq.classes.JiBX_bindingFactory' -
factory does not implement required interface&lt;/span&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
at org.jibx.runtime.BindingDirectory.getFactoryFromName(&lt;/span&gt;&lt;u&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:navy'&gt;BindingDirectory.java:135&lt;/span&gt;&lt;/u&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black'&gt;)&lt;/span&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;
color:black'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at
org.jibx.runtime.BindingDirectory.getFactory(&lt;/span&gt;&lt;u&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:navy'&gt;BindingDirectory.java:215&lt;/span&gt;&lt;/u&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black'&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:&quot;Courier New&quot;;
color:black'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;that
loads the generated classes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;The
classes are generated, compiled and binding is executed within an ant script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;'&gt;Kind
regards, Dominik&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26627250&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/org.jibx.runtime.JiBXException%3A-Classloader-conflict-for-binding-factory---factory-does-not-implement-required-interface-tp26627250p26627250.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26614635</id>
	<title>BindGen tool : No way to handle type java.util.HashMap</title>
	<published>2009-12-02T10:12:17Z</published>
	<updated>2009-12-02T10:12:17Z</updated>
	<author>
		<name>Ben Erridge</name>
	</author>
	<content type="html">I am trying to build a xml schema  from a java class with bindgen but it seems that it doesn&amp;#39;t understand what todo with a Map....&lt;div&gt;All the maps are of type &amp;lt;String, Object&amp;gt; is there anything I can do to get this to work simply?&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;-- &lt;br&gt;Benjamin Erridge&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614635&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/BindGen-tool-%3A-No-way-to-handle-type-java.util.HashMap-tp26614635p26614635.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26597354</id>
	<title>Jibx-1.2.1 - Error running binding compiler - cannot modify class java.lang.Enum loaded from ...1.6.0_13\jre\lib\rt.jar</title>
	<published>2009-12-01T11:07:13Z</published>
	<updated>2009-12-01T11:07:13Z</updated>
	<author>
		<name>Arguello, Brando</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7654.12&quot;&gt;
&lt;TITLE&gt;Jibx-1.2.1 -  Error running binding compiler - cannot modify class java.lang.Enum loaded from ...1.6.0_13\jre\lib\rt.jar&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/rtf format --&gt;
&lt;BR&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Hello,&lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;I'm trying to compile a binding file that has multiple mappings that set an enum value.&amp;nbsp;&amp;nbsp; This works with jibx 1.1.6.&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;When using jibx_1_2_1 &amp;#8230;. &lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;From the output:&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;[bind] Running binding compiler version jibx_1_2_1&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;[bind] binding binding:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ===&amp;gt; all mappings bind with no errors&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;----- all mappings&amp;nbsp; in binding.xml --------&amp;nbsp; &lt;/FONT&gt;

&lt;BR&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;During&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [bind] After linking view of binding binding:&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [bind] binding binding:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ===&amp;gt; in here on the last mapping I get error described below..&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;----- all mappings in binding.xml&amp;nbsp;&amp;nbsp; --------&amp;nbsp; &lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;On the very last mapping I get &lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [bind] Error running binding compiler&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [bind] &lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [bind] *** Error during code generation for file 'D:\view_working\arguellob_rampart\wint/nm/apps/monitoring/command/web/binding.xml' - please enter a bug report for this error in Jira if the problem is not listed as fixed on the online status page ***&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [bind] &lt;/FONT&gt;

&lt;BR&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;B&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT COLOR=&quot;#0000FF&quot; FACE=&quot;Arial&quot;&gt;bind] java.lang.IllegalStateException: Internal error - cannot modify class java.lang.Enum loaded from C:\Program Files\Java\jdk1.6.0_13\jre\lib\rt.jar&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [bind] &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.binding.classes.ClassFile.getClassGen(ClassFile.java:1283)&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [bind] &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.binding.classes.ClassFile.getInstructionBuilder(ClassFile.java:1308)&lt;/FONT&gt;
&lt;/P&gt;
&lt;BR&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Extract of a mapping with Enum...&lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mapping abstract=&amp;quot;true&amp;quot; type-name=&amp;quot;tns4:UnitSO&amp;quot; class=&amp;quot;mil.amy.wint.nm.monitoring.command.types.common.UnitSO&amp;quot;&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;namespace uri=&amp;quot;&lt;A HREF=&quot;http://common.types.command.monitoring.nm.wint.amy.mil/xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://common.types.command.monitoring.nm.wint.amy.mil/xsd&lt;/A&gt;&amp;quot; prefix=&amp;quot;tns4&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value name=&amp;quot;entityId&amp;quot; field=&amp;quot;entityId&amp;quot; usage=&amp;quot;optional&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value name=&amp;quot;name&amp;quot; field=&amp;quot;name&amp;quot; usage=&amp;quot;optional&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value name=&amp;quot;parentName&amp;quot; field=&amp;quot;parentName&amp;quot; usage=&amp;quot;optional&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value name=&amp;quot;symbolCode&amp;quot; field=&amp;quot;symbolCode&amp;quot; usage=&amp;quot;optional&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value name=&amp;quot;unitIdentification&amp;quot; field=&amp;quot;unitIdentification&amp;quot; usage=&amp;quot;optional&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value name=&amp;quot;urn&amp;quot; field=&amp;quot;urn&amp;quot; usage=&amp;quot;optional&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;value name=&amp;quot;service&lt;/FONT&gt;&lt;/B&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;quot; field=&amp;quot;service&amp;quot; usage=&amp;quot;optional&amp;quot; set-method=&amp;quot;setService&amp;quot; get-method=&amp;quot;getService&amp;quot; deserializer=&amp;quot;mil.amy.wint.nm.monitoring.command.types.common.&lt;/FONT&gt;&lt;B&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;ServiceType.getEnumType&lt;/FONT&gt;&lt;/B&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;quot;/&amp;gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;structure map-as=&amp;quot;mil.amy.wint.nm.monitoring.command.types.common.LocationSO&amp;quot; field=&amp;quot;location&amp;quot; usage=&amp;quot;optional&amp;quot;/&amp;gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;structure map-as=&amp;quot;mil.amy.wint.nm.utilities.serviceobjectmanagement.SO&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mapping&amp;gt;&lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;B&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Service is of type ServiceType in UnitSO.&lt;/FONT&gt;&lt;/B&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Ant Task&lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- - - - - - - - - - - - - - - - - - &lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;target: jibxbind-compile&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;- - - - - - - - - - - - - - - - - --&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;target name=&amp;quot;jibxbind-compile&amp;quot;&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;echo message=&amp;quot;Running JiBX binding compiler&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;bind verbose=&amp;quot;true&amp;quot; binding=&amp;quot;${yyyyWeb.home}/binding.xml&amp;quot;&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;classpath&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;path refid=&amp;quot;jibx-classpath&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;path path=&amp;quot;${build.home}&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;/classpath&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;/bind&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;/target&amp;gt;&lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;path id=&amp;quot;jibx-classpath&amp;quot;&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;path refid=&amp;quot;classPathExtend&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;fileset dir=&amp;quot;${jibx.home}&amp;quot;&amp;gt;&amp;nbsp;&amp;nbsp; =======&amp;gt;&amp;nbsp;&amp;nbsp; jibx 1.2.1 &lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;include name=&amp;quot;lib/*.jar&amp;quot; /&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;/fileset&amp;gt;&lt;/FONT&gt;

&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;lt;/path&amp;gt;&lt;/FONT&gt;
&lt;/P&gt;
&lt;BR&gt;

&lt;P&gt;&lt;FONT COLOR=&quot;#0000FF&quot; SIZE=2 FACE=&quot;Arial&quot;&gt;This runs fine with jibx 1.1.6.&lt;/FONT&gt; 
&lt;/P&gt;
&lt;BR&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Thank You.&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;-Brando&lt;/FONT&gt;
&lt;/P&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26597354&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jibx-1.2.1---Error-running-binding-compiler---cannot-modify-class-java.lang.Enum-loaded-from-...1.6.0_13%5Cjre%5Clib%5Crt.jar-tp26597354p26597354.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510945</id>
	<title>Re: Chameleon namespaces and CodeGen</title>
	<published>2009-11-25T03:09:03Z</published>
	<updated>2009-11-25T03:09:03Z</updated>
	<author>
		<name>DSosnoski</name>
	</author>
	<content type="html">The chameleon namespace issues should be fixed in the latest 1.2.2 code. 
&lt;br&gt;I'm really, seriously, working to get this released soon, but in the 
&lt;br&gt;meantime I've uploaded the latest build to 
&lt;br&gt;&lt;a href=&quot;http://jibx.sourceforge.net/jibx_1_2_2-SNAPSHOT.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jibx.sourceforge.net/jibx_1_2_2-SNAPSHOT.zip&lt;/a&gt;&amp;nbsp;Can you give that a 
&lt;br&gt;try and see if it works?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;&amp;nbsp; - Dennis
&lt;br&gt;&lt;br&gt;Dennis M. Sosnoski
&lt;br&gt;XML and Web Services in Java
&lt;br&gt;Training and Consulting
&lt;br&gt;&lt;a href=&quot;http://www.sosnoski.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.com&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.sosnoski.co.nz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.co.nz&lt;/a&gt;&lt;br&gt;Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510945&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ctg@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am trying to generate code from a fairly complex schema, and I'm having
&lt;br&gt;&amp;gt; difficulties because (I think) of its use of chameleon namespaces. It
&lt;br&gt;&amp;gt; seems to be unable to locate the types defined in the chameleon schemas.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The structure of the schema files is:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; dirA/
&lt;br&gt;&amp;gt; &amp;nbsp; a1.xsd
&lt;br&gt;&amp;gt; &amp;nbsp; b3.xsd
&lt;br&gt;&amp;gt; dirB/
&lt;br&gt;&amp;gt; &amp;nbsp; b1.xsd
&lt;br&gt;&amp;gt; &amp;nbsp; b2.xsd
&lt;br&gt;&amp;gt; &amp;nbsp; c1.xsd
&lt;br&gt;&amp;gt; &amp;nbsp; c2.xsd
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; a1 is the main schema I am trying to generate, in namespace A. It includes
&lt;br&gt;&amp;gt; b1, b2 and b3, which are in a different namespace B. b1 includes c1 and
&lt;br&gt;&amp;gt; c2, which are chameleons (no namespace). The other curly bit is that b3
&lt;br&gt;&amp;gt; includes b2, although b2 references types that are declared in b3 (yes,
&lt;br&gt;&amp;gt; really).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The errors indicate that types in c1, c2 and b3 are not being picked up.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have tried using customization to force c1 and c2 to be in the correct
&lt;br&gt;&amp;gt; namespace, but that doesn't seem to work. Shouldn't it just process the
&lt;br&gt;&amp;gt; types from the chameleons as if they belong to the target namespace of the
&lt;br&gt;&amp;gt; schema that includes them?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there anything else I can do? I'm can't change the schema, so I need to
&lt;br&gt;&amp;gt; find a way to convince CodeGen to process it properly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510945&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Chameleon-namespaces-and-CodeGen-tp26419472p26510945.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510933</id>
	<title>Re: NPE when running SchemaGen against a hand-written binding</title>
	<published>2009-11-25T03:07:42Z</published>
	<updated>2009-11-25T03:07:42Z</updated>
	<author>
		<name>DSosnoski</name>
	</author>
	<content type="html">Hi Robin,
&lt;br&gt;&lt;br&gt;I did fix several issues with the schema generation in the process of 
&lt;br&gt;getting this to work for the CodeGen customizations (since I wanted a 
&lt;br&gt;schema for those, and ran into the issues when I tried generating one). 
&lt;br&gt;I don't know if this includes your particular issue, though.
&lt;br&gt;&lt;br&gt;I've uploaded the very latest 1.2.2 code to 
&lt;br&gt;&lt;a href=&quot;http://jibx.sourceforge.net/jibx_1_2_2-SNAPSHOT.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jibx.sourceforge.net/jibx_1_2_2-SNAPSHOT.zip&lt;/a&gt;&amp;nbsp;Could you give that 
&lt;br&gt;a try to see if it works for your binding? And if not, create a Jira 
&lt;br&gt;with an attached project to demonstrate the problem? That would be the 
&lt;br&gt;easiest way to make sure it gets fixed.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;&amp;nbsp; - Dennis
&lt;br&gt;&lt;br&gt;Dennis M. Sosnoski
&lt;br&gt;XML and Web Services in Java
&lt;br&gt;Training and Consulting
&lt;br&gt;&lt;a href=&quot;http://www.sosnoski.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.com&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.sosnoski.co.nz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.co.nz&lt;/a&gt;&lt;br&gt;Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Robin M. Roos wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Dennis
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I thought I'd try to get JiBX to generate a .XSD file from my 
&lt;br&gt;&amp;gt; binding. &amp;nbsp; I understand SchemaGen can sometimes accomplish this, 
&lt;br&gt;&amp;gt; but is not supported for all user-defined bindings. &amp;nbsp;I the 
&lt;br&gt;&amp;gt; NullPointerException below in case it is easily resolved.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have two instances in my binding where a &amp;lt;collection&amp;gt; contains a 
&lt;br&gt;&amp;gt; &amp;lt;structure&amp;gt;. &amp;nbsp;In each of these cases I get an NPE at at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.setDocumentation(SchemaGen.java:234). 
&lt;br&gt;&amp;gt; &amp;nbsp;It occurs because the domain class to which the &amp;lt;structure&amp;gt; is 
&lt;br&gt;&amp;gt; mapped does not appear in the Map m_classmap within class 
&lt;br&gt;&amp;gt; PackageCustom. &amp;nbsp;So pack.get(classname) returns null, and 
&lt;br&gt;&amp;gt; subsequently null.isUseJavaDocs() throws the NPE.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Further details will be made available if required.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Many thanks, Robin.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My binding constructs are (these are just extracts):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapping name=&amp;quot;pointer&amp;quot; 
&lt;br&gt;&amp;gt; class=&amp;quot;net.uk.roos.configurator.server.domain.Pointer&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value name=&amp;quot;name&amp;quot; field=&amp;quot;name&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;revIdAttributionList&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;structure name=&amp;quot;revId&amp;quot; 
&lt;br&gt;&amp;gt; type=&amp;quot;net.uk.roos.configurator.server.domain.RevIdAttribution&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value name=&amp;quot;workstream&amp;quot; field=&amp;quot;workstream&amp;quot; 
&lt;br&gt;&amp;gt; style=&amp;quot;attribute&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;value field=&amp;quot;revisionIdString&amp;quot; 
&lt;br&gt;&amp;gt; style=&amp;quot;text&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/structure&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/collection&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapping name=&amp;quot;configurator&amp;quot; 
&lt;br&gt;&amp;gt; class=&amp;quot;net.uk.roos.configurator.server.domain.Configurator&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;environments&amp;quot; name=&amp;quot;environments&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;workstreams&amp;quot; name=&amp;quot;workstreams&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;pointers&amp;quot; name=&amp;quot;pointers&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;issues&amp;quot; name=&amp;quot;issues&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;workstreamConfig&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;structure name=&amp;quot;revisions&amp;quot; &amp;nbsp;
&lt;br&gt;&amp;gt; type=&amp;quot;net.uk.roos.configurator.server.domain.WorkstreamSpecificConfiguration&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value name=&amp;quot;workstream&amp;quot; field=&amp;quot;workstreamName&amp;quot; 
&lt;br&gt;&amp;gt; style=&amp;quot;attribute&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;revisions&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/structure&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/collection&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And the NPEs are thrown during processing of the RevIdAttribution 
&lt;br&gt;&amp;gt; and WorkstreamspecificConfiguration classes.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My command-line arguments to SchemaGen are:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -n uri=&lt;a href=&quot;http://net.uk.roos.configurator.schema.1.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://net.uk.roos.configurator.schema.1.0&lt;/a&gt;&amp;nbsp;-s 
&lt;br&gt;&amp;gt; C:\projects\configurator\configurator\configurator-server\src\main\java 
&lt;br&gt;&amp;gt; -v 
&lt;br&gt;&amp;gt; C:\projects\configurator\configurator\configurator-server\src\main\config\binding.xml
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The console output and exception is as follows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Using class loading paths:
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;lt;snip&amp;gt;
&lt;br&gt;&amp;gt; Using source loading paths:
&lt;br&gt;&amp;gt; &amp;nbsp;C:\projects\configurator\configurator\configurator-server\src\main\java
&lt;br&gt;&amp;gt; Starting from classes:
&lt;br&gt;&amp;gt; &amp;nbsp;C:\projects\configurator\configurator\configurator-server\src\main\config\binding.xml
&lt;br&gt;&amp;gt; Output to directory .
&lt;br&gt;&amp;gt; Exception in thread &amp;quot;main&amp;quot; java.lang.NullPointerException
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.setDocumentation(SchemaGen.java:234)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.addItemDocumentation(SchemaGen.java:283)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.fillAttributes(SchemaGen.java:804)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.buildElement(SchemaGen.java:508)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.buildCompositor(SchemaGen.java:609)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.buildCompositor(SchemaGen.java:621)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.buildComplexType(SchemaGen.java:896)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.addMapping(SchemaGen.java:1024)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.generate(SchemaGen.java:1061)
&lt;br&gt;&amp;gt; 	at org.jibx.schema.generator.SchemaGen.main(SchemaGen.java:1193)
&lt;br&gt;&amp;gt; Disconnected from the target VM, address: '127.0.0.1:3774', 
&lt;br&gt;&amp;gt; transport: 'socket'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Process finished with exit code 1
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510933&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510933&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NPE-when-running-SchemaGen-against-a-hand-written-binding-tp26435874p26510933.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510822</id>
	<title>Re: Converted DTD to XSD - Codegen producing two bindingfiles.</title>
	<published>2009-11-25T02:56:21Z</published>
	<updated>2009-11-25T02:56:21Z</updated>
	<author>
		<name>Ben Davies-4</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot; xmlns:p=&quot;urn:schemas-microsoft-com:office:powerpoint&quot; xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot; xmlns:dt=&quot;uuid:C2F41010-65B3-11d1-A29F-00AA00C14882&quot; xmlns:s=&quot;uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882&quot; xmlns:rs=&quot;urn:schemas-microsoft-com:rowset&quot; xmlns:Z=&quot;urn:schemas-microsoft-com:&quot; xmlns:b=&quot;urn:schemas-microsoft-com:office:publisher&quot; xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot; xmlns:c=&quot;urn:schemas-microsoft-com:office:component:spreadsheet&quot; xmlns:odc=&quot;urn:schemas-microsoft-com:office:odc&quot; xmlns:oa=&quot;urn:schemas-microsoft-com:office:activation&quot; xmlns:html=&quot;http://www.w3.org/TR/REC-html40&quot; xmlns:q=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:rtc=&quot;http://microsoft.com/officenet/conferencing&quot; xmlns:D=&quot;DAV:&quot; xmlns:Repl=&quot;http://schemas.microsoft.com/repl/&quot; xmlns:mt=&quot;http://schemas.microsoft.com/sharepoint/soap/meetings/&quot; xmlns:x2=&quot;http://schemas.microsoft.com/office/excel/2003/xml&quot; xmlns:ppda=&quot;http://www.passport.com/NameSpace.xsd&quot; xmlns:ois=&quot;http://schemas.microsoft.com/sharepoint/soap/ois/&quot; xmlns:dir=&quot;http://schemas.microsoft.com/sharepoint/soap/directory/&quot; xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot; xmlns:dsp=&quot;http://schemas.microsoft.com/sharepoint/dsp&quot; xmlns:udc=&quot;http://schemas.microsoft.com/data/udc&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:sub=&quot;http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/&quot; xmlns:ec=&quot;http://www.w3.org/2001/04/xmlenc#&quot; xmlns:sp=&quot;http://schemas.microsoft.com/sharepoint/&quot; xmlns:sps=&quot;http://schemas.microsoft.com/sharepoint/soap/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:udcs=&quot;http://schemas.microsoft.com/data/udc/soap&quot; xmlns:udcxf=&quot;http://schemas.microsoft.com/data/udc/xmlfile&quot; xmlns:udcp2p=&quot;http://schemas.microsoft.com/data/udc/parttopart&quot; xmlns:wf=&quot;http://schemas.microsoft.com/sharepoint/soap/workflow/&quot; xmlns:dsss=&quot;http://schemas.microsoft.com/office/2006/digsig-setup&quot; xmlns:dssi=&quot;http://schemas.microsoft.com/office/2006/digsig&quot; xmlns:mdssi=&quot;http://schemas.openxmlformats.org/package/2006/digital-signature&quot; xmlns:mver=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns:mrels=&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot; xmlns:spwp=&quot;http://microsoft.com/sharepoint/webpartpages&quot; xmlns:ex12t=&quot;http://schemas.microsoft.com/exchange/services/2006/types&quot; xmlns:ex12m=&quot;http://schemas.microsoft.com/exchange/services/2006/messages&quot; xmlns:pptsl=&quot;http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/&quot; xmlns:spsl=&quot;http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService&quot; xmlns:st=&quot;&amp;#1;&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-GB link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#1F497D'&gt;Any chance of some advice on
this?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#1F497D'&gt;This is currently stopping me
using jibx.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#1F497D'&gt;Cheers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:
&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span lang=EN-US style='font-size:10.0pt;
font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt; Ben Davies [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510822&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ben.Davies@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; 16 November 2009 12:22&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510822&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; [jibx-users] Converted DTD to XSD - Codegen producing two
bindingfiles.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Hello,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I&amp;#8217;ve done my best to convert the DTD&amp;#8217;s listed on this page:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;a href=&quot;http://www.bbc.co.uk/travelnews/xml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bbc.co.uk/travelnews/xml/&lt;/a&gt;
(entities and sample feeds are here also)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;to a Schema for use with JiBX.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Here is the XSD:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;a href=&quot;http://pastebin.com/fde02b4b&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/fde02b4b&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;which was produced via XMLSpy with some manual post editing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;However, when I run this schema through CodeGen, there are
two binding files produced, possibly something to do with odd namespacing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;NB: This was run through CodeGen in the 1.2.2 snapshot.
1.2.1 produced a NullPointerException.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Any clues as to why this is happening, and how to correct
the schema would be much appreciated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Many thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Ben&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510822&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Converted-DTD-to-XSD---Codegen-producing-two-binding-files.-tp26371007p26510822.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510700</id>
	<title>Re: Binding - Tools?</title>
	<published>2009-11-25T02:46:46Z</published>
	<updated>2009-11-25T02:46:46Z</updated>
	<author>
		<name>DSosnoski</name>
	</author>
	<content type="html">Hi Whiz,
&lt;br&gt;&lt;br&gt;Nothing like that which I'm aware of, though it looks pretty simple.
&lt;br&gt;&lt;br&gt;But you say &amp;quot;the mappings are not one-to-one java class to xml&amp;quot;, yet it 
&lt;br&gt;sounds like you're working with generated mappings. Can you explain what 
&lt;br&gt;you're doing in more detail? It might be possible for you to adjust the 
&lt;br&gt;code generation to better match your needs, or perhaps I can suggest 
&lt;br&gt;another way of working around the issues.
&lt;br&gt;&lt;br&gt;&amp;nbsp; - Dennis
&lt;br&gt;&lt;br&gt;Dennis M. Sosnoski
&lt;br&gt;XML and Web Services in Java
&lt;br&gt;Training and Consulting
&lt;br&gt;&lt;a href=&quot;http://www.sosnoski.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.com&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.sosnoski.co.nz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.co.nz&lt;/a&gt;&lt;br&gt;Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Whiz wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Does JiBX has a tool similar to O2XMapper for Castor 
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://o2xmapper.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://o2xmapper.sourceforge.net/&lt;/a&gt;)? The screen shot 
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://o2xmapper.sourceforge.net/screenshot.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://o2xmapper.sourceforge.net/screenshot.html&lt;/a&gt;) at the site gives a 
&lt;br&gt;&amp;gt; basic idea of the tool function.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Since the mappings are not one-to-one java class to xml, we will not 
&lt;br&gt;&amp;gt; be able to use the generated mappings and will have to hand code 
&lt;br&gt;&amp;gt; mappings. Trying to figure out if there is a tool that helps build 
&lt;br&gt;&amp;gt; these mappings instead of getting down to nitty gritty details of the 
&lt;br&gt;&amp;gt; binding xml. We will have to create mappings for several hundreds of 
&lt;br&gt;&amp;gt; classes.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Thoughts?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510700&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510700&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Binding---Tools--tp26499840p26510700.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510674</id>
	<title>Re: filtered marshalling - serialize only if certain condition is met</title>
	<published>2009-11-25T02:43:36Z</published>
	<updated>2009-11-25T02:43:36Z</updated>
	<author>
		<name>DSosnoski</name>
	</author>
	<content type="html">Hi Bogdan,
&lt;br&gt;&lt;br&gt;It's easy to filter a collection, though you need to write your own 
&lt;br&gt;collection load/store methods to do it. Easiest is to define an Iterator 
&lt;br&gt;for going through the items of the collection, returning only those 
&lt;br&gt;which match your criteria. This means the hasNext() method of the 
&lt;br&gt;Iterator has to check if the current match has been read yet (using 
&lt;br&gt;next()), and if so check to see if there's another match in the 
&lt;br&gt;collection. Then use the &amp;lt;collection&amp;gt; iter-method attribute in the 
&lt;br&gt;binding to specify the method returning the Iterator, and an add-method 
&lt;br&gt;for adding items to the collection (if you're unmarshalling as well as 
&lt;br&gt;marshalling). So basically you're hiding the actual Collection object, 
&lt;br&gt;and instead using the method pair for all access to the collection.
&lt;br&gt;&lt;br&gt;- Dennis
&lt;br&gt;&lt;br&gt;Dennis M. Sosnoski
&lt;br&gt;XML and Web Services in Java
&lt;br&gt;Training and Consulting
&lt;br&gt;&lt;a href=&quot;http://www.sosnoski.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.com&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.sosnoski.co.nz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.co.nz&lt;/a&gt;&lt;br&gt;Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Bogdan Tanasa wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there any way to perform some filtering while marshalling? Say I 
&lt;br&gt;&amp;gt; have a main object, instance of class A with a collection of child 
&lt;br&gt;&amp;gt; objects, instances of B – out of all child objects I would like to 
&lt;br&gt;&amp;gt; serialize only those that match a certain condition.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I know I could
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -have B derive from a MyMarshallable class that exposes a property I 
&lt;br&gt;&amp;gt; can set if I want the object to be serialized
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -add a get-method in class A and verify the child property – if it 
&lt;br&gt;&amp;gt; indicates serializing should not be performed for the child, return null
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But it seems more convenient to me to implement certain methods in the 
&lt;br&gt;&amp;gt; B class itself and also take advantage of a IMarshallingContext 
&lt;br&gt;&amp;gt; argument that would allow me further access to UserContext. That could 
&lt;br&gt;&amp;gt; even be accomplished with a Boolean ‘pre-get’ method – if it returns 
&lt;br&gt;&amp;gt; false skip the marshalling.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; *Bogdan *
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510674&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510674&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/filtered-marshalling---serialize-only-if-certain-condition-is-met-tp26501894p26510674.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503307</id>
	<title>[jira] Created: (JIBX-348) codegen - generating &lt;collection&gt; in binding xml without usage=optional with minOccurs=0</title>
	<published>2009-11-24T13:08:55Z</published>
	<updated>2009-11-24T13:08:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">codegen - generating &amp;lt;collection&amp;gt; in binding xml without usage=optional with minOccurs=0
&lt;br&gt;----------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JIBX-348
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JIBX-348&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JIBX-348&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JiBX
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: CodeGen
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JiBX 1.2.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Arnabkanti
&lt;br&gt;&lt;br&gt;&lt;br&gt;codegen is generating binding xml with &amp;lt;collection&amp;gt; element having no usage=optional even when the minOccurs is set to zero (maxOccurs=unbounded)
&lt;br&gt;&lt;br&gt;XSD Snippet:
&lt;br&gt;&amp;lt;xsd:complexType name=&amp;quot;ABC&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsd:sequence&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsd:element type=&amp;quot;test:xxT&amp;quot; name=&amp;quot;xx&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minOccurs=&amp;quot;0&amp;quot; maxOccurs=&amp;quot;unbounded&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/xsd:sequence&amp;gt;
&lt;br&gt;&amp;lt;/xsd:complexType&amp;gt;
&lt;br&gt;&lt;br&gt;binding Xml:
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;lt;collection get-method=&amp;quot;getXxs&amp;quot; set-method=&amp;quot;setXxs&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;structure map-as=&amp;quot;ns2:xxT&amp;quot; name=&amp;quot;xx&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/collection&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Arnab
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-devs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503307&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-devs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-devs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-devs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-devs-f4286.html&quot; embed=&quot;fixTarget[4286]&quot; target=&quot;_top&quot; &gt;jibx-devs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JIBX-348%29-codegen---generating-%3Ccollection%3E-in-binding-xml-without-usage%3Doptional-with-minOccurs%3D0-tp26503307p26503307.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26501894</id>
	<title>filtered marshalling - serialize only if certain condition is met</title>
	<published>2009-11-24T11:12:23Z</published>
	<updated>2009-11-24T11:12:23Z</updated>
	<author>
		<name>Bogdan Tanasa-2</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi
there,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is
there any way to perform some filtering while marshalling? Say I have a main
object, instance of class A with a collection of child objects, instances of B &amp;#8211;
out of all child objects I would like to serialize only those that match a certain
condition. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I know I could &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;-have B derive from a MyMarshallable class that exposes a
property I can set if I want the object to be serialized&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;-add a get-method in class A and verify the child property &amp;#8211;
if it indicates serializing should not be performed for the child, return null&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But
it seems more convenient to me to implement certain methods in the B class itself
and also take advantage of a IMarshallingContext argument that would allow me
further access to UserContext. That could even be accomplished with a Boolean &amp;#8216;pre-get&amp;#8217;
method &amp;#8211; if it returns false skip the marshalling.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Best Regards, &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;Bogdan &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501894&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/filtered-marshalling---serialize-only-if-certain-condition-is-met-tp26501894p26501894.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499840</id>
	<title>Binding - Tools?</title>
	<published>2009-11-24T09:12:20Z</published>
	<updated>2009-11-24T09:12:20Z</updated>
	<author>
		<name>Whiz-2</name>
	</author>
	<content type="html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;&lt;DIV&gt;Does JiBX has a tool similar to O2XMapper for Castor (&lt;A href=&quot;http://o2xmapper.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://o2xmapper.sourceforge.net/&lt;/A&gt;)? The screen shot (&lt;A href=&quot;http://o2xmapper.sourceforge.net/screenshot.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://o2xmapper.sourceforge.net/screenshot.html&lt;/A&gt;) at the site gives a basic idea of the tool function. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Since the mappings are not one-to-one java class to xml, we will not be able to use the generated mappings and will have to hand code mappings. Trying to figure out if there is a tool that helps build these mappings instead of getting down to nitty gritty details of the binding xml.&amp;nbsp;We will have to create&amp;nbsp;mappings for several hundreds of classes.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thoughts?&lt;/DIV&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;

&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499840&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Binding---Tools--tp26499840p26499840.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26458731</id>
	<title>Re: Enumeration Code generation Issue</title>
	<published>2009-11-21T09:50:40Z</published>
	<updated>2009-11-21T09:50:40Z</updated>
	<author>
		<name>anshuk_geronimo</name>
	</author>
	<content type="html">Hello Dennis,
&lt;br&gt;&lt;br&gt;Created the jira issue for the same.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://jira.codehaus.org/browse/JIBX-347&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://jira.codehaus.org/browse/JIBX-347&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Anshuk Pal Chaudhuri
&lt;br&gt;________________________________________
&lt;br&gt;From: Dennis Sosnoski [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458731&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dms@...&lt;/a&gt;]
&lt;br&gt;Sent: Saturday, November 14, 2009 3:21 AM
&lt;br&gt;To: JiBX users
&lt;br&gt;Subject: Re: [jibx-users] Enumeration Code generation Issue
&lt;br&gt;&lt;br&gt;Hi Anshuk,
&lt;br&gt;&lt;br&gt;Could you try using the 1.2.2 test build at
&lt;br&gt;&lt;a href=&quot;http://www.jibx.org/jibx_1_2_2-SNAPSHOT.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jibx.org/jibx_1_2_2-SNAPSHOT.zip&lt;/a&gt;&amp;nbsp;If that doesn't handle your
&lt;br&gt;enumerations properly, please create a Jira and attach a sample project
&lt;br&gt;to demonstrate the problem.
&lt;br&gt;&lt;br&gt;Thanks, and sorry for the delayed response.
&lt;br&gt;&lt;br&gt;&amp;nbsp; - Dennis
&lt;br&gt;&lt;br&gt;Dennis M. Sosnoski
&lt;br&gt;XML and Web Services in Java
&lt;br&gt;Training and Consulting
&lt;br&gt;&lt;a href=&quot;http://www.sosnoski.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.com&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.sosnoski.co.nz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.co.nz&lt;/a&gt;&lt;br&gt;Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Anshuk Pal Chaudhuri wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Helo Dennis,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dou you think that I should put this as a jira bug ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; Infosys Technologies Ltd.
&lt;br&gt;&amp;gt; ________________________________________
&lt;br&gt;&amp;gt; From: Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; Sent: Tuesday, November 03, 2009 4:41 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458731&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dms@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: FW: Enumeration Code generation Issue
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello Dennis,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any pointers for the below mentioned issue.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; ________________________________________
&lt;br&gt;&amp;gt; From: Anshuk Pal Chaudhuri [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458731&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Anshuk_Chaudhuri@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Monday, November 02, 2009 9:26 PM
&lt;br&gt;&amp;gt; To: JiBX users
&lt;br&gt;&amp;gt; Subject: Re: [jibx-users] Enumeration Code generation Issue
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Did anybody find any workaround for the below mentioned piece. I am still stuck with the same.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; ________________________________________
&lt;br&gt;&amp;gt; From: Anshuk Pal Chaudhuri [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458731&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Anshuk_Chaudhuri@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Thursday, October 29, 2009 8:22 PM
&lt;br&gt;&amp;gt; To: JiBX users
&lt;br&gt;&amp;gt; Subject: [jibx-users] Enumeration Code generation Issue
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using the jibx 1.2.1 for code generation from xml schema. There are two different simple types defined for which the enumeration is also there. When I am generating the code, one enum class is generating completely fine, with the toString and convert and all the relevant enum values.
&lt;br&gt;&amp;gt; The other enum class is generated but with no values/convert &amp; tostring methods.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Has anyone faced a similar issue like this earlier.
&lt;br&gt;&amp;gt; Please let me know for any workarounds.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; **************** CAUTION - Disclaimer *****************
&lt;br&gt;&amp;gt; This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
&lt;br&gt;&amp;gt; for the use of the addressee(s). If you are not the intended recipient, please
&lt;br&gt;&amp;gt; notify the sender by e-mail and delete the original message. Further, you are not
&lt;br&gt;&amp;gt; to copy, disclose, or distribute this e-mail or its contents to any other person and
&lt;br&gt;&amp;gt; any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
&lt;br&gt;&amp;gt; every reasonable precaution to minimize this risk, but is not liable for any damage
&lt;br&gt;&amp;gt; you may sustain as a result of any virus in this e-mail. You should carry out your
&lt;br&gt;&amp;gt; own virus checks before opening the e-mail or attachment. Infosys reserves the
&lt;br&gt;&amp;gt; right to monitor and review the content of all messages sent to or from this e-mail
&lt;br&gt;&amp;gt; address. Messages sent to or from this e-mail address may be stored on the
&lt;br&gt;&amp;gt; Infosys e-mail system.
&lt;br&gt;&amp;gt; ***INFOSYS******** End of Disclaimer ********INFOSYS***
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;&amp;gt; is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;&amp;gt; developing skills, take BlackBerry mobile applications to market and stay
&lt;br&gt;&amp;gt; ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458731&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;&amp;gt; is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;&amp;gt; developing skills, take BlackBerry mobile applications to market and stay
&lt;br&gt;&amp;gt; ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458731&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458731&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458731&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458731&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Enumeration-Code-generation-Issue-tp26114620p26458731.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26458712</id>
	<title>[jira] Created: (JIBX-347) Enumeration Code generation Issue</title>
	<published>2009-11-21T09:49:55Z</published>
	<updated>2009-11-21T09:49:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Enumeration Code generation Issue
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JIBX-347
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JIBX-347&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JIBX-347&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JiBX
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: CodeGen
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JiBX 1.2.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: windows xp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Anshuk Pal Chaudhuri
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attachments: enum-genration.zip
&lt;br&gt;&lt;br&gt;Using the jibx 1.2.1 for code generation from xml schema. There are four different simple types defined for which the enumeration is also there. When I am generating the code, two enum class is generating completely fine, with the toString and convert and all the relevant enum values.
&lt;br&gt;The other enum classes is generated but with no values/convert &amp; tostring methods.
&lt;br&gt;&lt;br&gt;Also, tried the same thing with the latest snapshot of 1.2.2, but the same issue.
&lt;br&gt;&lt;br&gt;Attaching the sample schema, and the generated java code &amp; binding.xml.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-devs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458712&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-devs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-devs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-devs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-devs-f4286.html&quot; embed=&quot;fixTarget[4286]&quot; target=&quot;_top&quot; &gt;jibx-devs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JIBX-347%29-Enumeration-Code-generation-Issue-tp26458712p26458712.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26455728</id>
	<title>AUTO: Jeff Wallace is out of the office. (returning 11/30/2009)</title>
	<published>2009-11-21T03:35:59Z</published>
	<updated>2009-11-21T03:35:59Z</updated>
	<author>
		<name>Jeff Wallace-3</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;I am out of the office until 11/30/2009.&lt;br&gt;
&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;
&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;I will respond to your message when I return.&lt;br&gt;
&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;
&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;
&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;#808080&quot;&gt;Note: This is an automated response to your message  &amp;quot;&lt;/font&gt;&lt;b&gt;&lt;font size=&quot;2&quot;&gt;jibx-users Digest, Vol 42, Issue 8&amp;quot;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot; color=&quot;#808080&quot;&gt; sent on &lt;/font&gt;&lt;b&gt;&lt;font size=&quot;2&quot;&gt;11/21/09 2:06:58&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot; color=&quot;#808080&quot;&gt;. &lt;br&gt;
&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;#808080&quot;&gt;&lt;br&gt;
&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;#808080&quot;&gt;This is the only notification you will receive while this person is away.&lt;/font&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26455728&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AUTO%3A-Jeff-Wallace-is-out-of-the-office.-%28returning-11-30-2009%29-tp26455728p26455728.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26454781</id>
	<title>Re: Factorization properties of XML</title>
	<published>2009-11-21T01:06:33Z</published>
	<updated>2009-11-21T01:06:33Z</updated>
	<author>
		<name>s b-4</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;Thank you!&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;We will try that.&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Best regards,&lt;br&gt;Serge&lt;/div&gt;&lt;div&gt;&lt;br&gt;Le Nov 13, 2009 à 22:02, &quot;Caristi, Joe&quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454781&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jcaristi@...&lt;/a&gt;&amp;gt; a écrit&amp;nbsp;:&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;
&lt;div class=&quot;Section1&quot;&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:
10.0pt;font-family:Arial;color:navy&quot;&gt;This would require a custom marshaller and unmarshaller, since the class and XML structures are significantly different. Look here:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:
10.0pt;font-family:Arial;color:navy&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:
10.0pt;font-family:Arial;color:navy&quot;&gt;&lt;a href=&quot;http://jibx.sourceforge.net/tutorial/binding-custom.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;a href=&quot;http://jibx.sourceforge.net/tutorial/binding-custom.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jibx.sourceforge.net/tutorial/binding-custom.html&lt;/a&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:
10.0pt;font-family:Arial;color:navy&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; align=&quot;center&quot; style=&quot;text-align:center&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;
&lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot; tabindex=&quot;-1&quot;&gt;
&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Tahoma&quot;&gt;&lt;span style=&quot;font-size:10.0pt;
font-family:Tahoma;font-weight:bold&quot;&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot; face=&quot;Tahoma&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Tahoma&quot;&gt; s b [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454781&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sb7206@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Friday, November 13, 2009 11:32 AM&lt;br&gt;
&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454781&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;&lt;/a&gt;&lt;br&gt;
&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; [jibx-users] Factorization properties of XML&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size:
12.0pt&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size:
12.0pt&quot;&gt;Hello,&lt;br&gt;
&lt;br&gt;
We are currently trying to use JiBX&lt;br&gt;
&lt;br&gt;
The problem is that we want to use the factorization properties of XML without having to create ArrayLists in our binded classes. Here is an example:&lt;br&gt;
&lt;br&gt;
We have the following XML:&lt;br&gt;
&amp;lt;cities&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;area zone=&quot;1&quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;country code=&quot;FR&quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;NCE&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;06000&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;PAR&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;75000&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/country&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;country code=&quot;DE&quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;BER&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;123456&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/country&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/area&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;area zone=&quot;2&quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;country code=&quot;US&quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;NYC&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;111111&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;LAX&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;222222&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/country&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/area&amp;gt;&lt;br&gt;
&amp;lt;/cities&amp;gt;&lt;br&gt;
&lt;br&gt;
Areas, countries and cities can all be repeated.&lt;br&gt;
We would like to map this XML into the following class:&lt;br&gt;
&lt;br&gt;
public class City {&lt;br&gt;
&amp;nbsp;&amp;nbsp; public int Zone;&lt;br&gt;
&amp;nbsp;&amp;nbsp; public String Country;&lt;br&gt;
&amp;nbsp;&amp;nbsp; public int Zipcode;&lt;br&gt;
&amp;nbsp;&amp;nbsp; public String Code;&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
The example would then produce a cities class having an arraylist of City objects as follows:&lt;br&gt;
City object 1 : Zone=1, Country=FR, Zipcode=06000, Code=NCE&lt;br&gt;
City object 2 : Zone=1, Country=FR, Zipcode=75000, Code=PAR&lt;br&gt;
City object 3 : Zone=1, Country=DE, Zipcode=123456, Code=BER&lt;br&gt;
City object 4 : Zone=2, Country=US, Zipcode=111111, Code=NYC&lt;br&gt;
City object 5 : Zone=2, Country=US, Zipcode=222222, Code=LAX&lt;br&gt;
&lt;br&gt;
We haven't found a basic way to do this. What we can do easily is to create a cities class with an ArrayList of areas, having themselves an arraylist of countries...&lt;br&gt;
Is there a direct way to get City objects as described ?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks in advance and best regards,&lt;br&gt;
Serge&lt;br&gt;
&lt;br&gt;
PS: this message has already been posted 2 days ago but didn't appear on the list. Sorry if this message is a duplicate.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;hr&gt;
&lt;font face=&quot;Arial&quot; color=&quot;Gray&quot; size=&quot;1&quot;&gt;STATEMENT OF CONFIDENTIALITY:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
The information contained in this electronic message and any attachments to&lt;br&gt;
this message are intended for the exclusive use of the addressee(s) and may&lt;br&gt;
contain confidential or privileged information. If you are not the intended&lt;br&gt;
recipient, please notify WHI Solutions immediately at &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454781&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gc@...&lt;/a&gt;,&lt;br&gt;
and destroy all copies of this message and any attachments.&lt;br&gt;
&lt;/font&gt;


&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;span&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;br&gt;&lt;span&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day &lt;/span&gt;&lt;br&gt;&lt;span&gt;trial. Simplify your report design, integration and deployment - and focus on &lt;/span&gt;&lt;br&gt;&lt;span&gt;what you do best, core application coding. Discover what's new with&lt;/span&gt;&lt;br&gt;&lt;span&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;span&gt;_______________________________________________&lt;/span&gt;&lt;br&gt;&lt;span&gt;jibx-users mailing list&lt;/span&gt;&lt;br&gt;&lt;span&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454781&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454781&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Factorization-properties-of-XML-tp26339424p26454781.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443711</id>
	<title>Re: NPE when running SchemaGen against a hand-written binding</title>
	<published>2009-11-20T05:32:24Z</published>
	<updated>2009-11-20T05:32:24Z</updated>
	<author>
		<name>Robin M. Roos</name>
	</author>
	<content type="html">Perhaps there is an easier way...
&lt;br&gt;&lt;br&gt;...I dropped an instance document into XMLSpy and asked it to 
&lt;br&gt;generate the XMLSchema and I now have a workable .XSD.
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443711&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NPE-when-running-SchemaGen-against-a-hand-written-binding-tp26435874p26443711.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443063</id>
	<title>Re: NPE when running SchemaGen against a hand-written binding</title>
	<published>2009-11-20T05:10:36Z</published>
	<updated>2009-11-20T05:10:36Z</updated>
	<author>
		<name>Robin M. Roos</name>
	</author>
	<content type="html">I tried a brute-force approach in which I trapped the two calls to 
&lt;br&gt;PackageCustom.getClassCustomization(String name) for the cases 
&lt;br&gt;which I knew would return null, and at that point invoked 
&lt;br&gt;PackageCustom.addClassCustomization(String name) and set 
&lt;br&gt;m_useJavadoc=new Boolean(false) before letting each invocation 
&lt;br&gt;return. &amp;nbsp;So the NPE was suppressed and execution continued.
&lt;br&gt;&lt;br&gt;I now see three types of log message:
&lt;br&gt;&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 3, col 43, in binding.xml)
&lt;br&gt;&lt;br&gt;This occurs for every &amp;lt;collection&amp;gt; element, even though a 
&lt;br&gt;&amp;lt;mapping&amp;gt; element is present with class set to the type of the 
&lt;br&gt;collection, e.g.
&lt;br&gt;&lt;br&gt;2 &amp;lt;mapping name=&amp;quot;repository&amp;quot; 
&lt;br&gt;class=&amp;quot;net.uk.roos.configurator.server.domain.Repository&amp;quot;&amp;gt;
&lt;br&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;applications&amp;quot;/&amp;gt;
&lt;br&gt;4 &amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;5
&lt;br&gt;6 &amp;nbsp; &amp;nbsp; &amp;lt;mapping name=&amp;quot;application&amp;quot; 
&lt;br&gt;class=&amp;quot;net.uk.roos.configurator.server.domain.Application&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;!-- value mappings defined here --&amp;gt;
&lt;br&gt;9 &amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;&lt;br&gt;In this case, line 3 refers to an attribute of class Repository 
&lt;br&gt;which is of type ArrayList&amp;lt;Application&amp;gt;, and a mapping for class 
&lt;br&gt;Application is defined at line 6.
&lt;br&gt;&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;Warning: No schema equivalent known for type - treating as string; 
&lt;br&gt;on value element at (line 62, col 81, in binding.xml)
&lt;br&gt;&lt;br&gt;62 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;value style=&amp;quot;attribute&amp;quot; name=&amp;quot;issueRef&amp;quot; 
&lt;br&gt;field=&amp;quot;issue&amp;quot; ident=&amp;quot;ref&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;This defines an attribute the value of which must be separately 
&lt;br&gt;declared in a different XML element. &amp;nbsp;I'm happy for that to be 
&lt;br&gt;treated as unconstrained text in the .XSD if there is no 
&lt;br&gt;equivalent in XML Schema.
&lt;br&gt;&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;Error: Unsupported component; on value element at (line 52, col 
&lt;br&gt;72, in binding.xml)
&lt;br&gt;&lt;br&gt;49 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;collection field=&amp;quot;revIdAttributionList&amp;quot;&amp;gt;
&lt;br&gt;50 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;structure name=&amp;quot;revId&amp;quot; 
&lt;br&gt;type=&amp;quot;net.uk.roos.configurator.server.domain.RevIdAttribution&amp;quot;&amp;gt;
&lt;br&gt;51 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;value name=&amp;quot;workstream&amp;quot; field=&amp;quot;workstream&amp;quot; 
&lt;br&gt;style=&amp;quot;attribute&amp;quot;/&amp;gt;
&lt;br&gt;52 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value field=&amp;quot;revisionIdString&amp;quot; 
&lt;br&gt;style=&amp;quot;text&amp;quot;/&amp;gt;
&lt;br&gt;53 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/structure&amp;gt;
&lt;br&gt;54 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/collection&amp;gt;
&lt;br&gt;55 &amp;nbsp; &amp;nbsp;&amp;lt;/mapping&amp;gt;
&lt;br&gt;&lt;br&gt;Line 52 is defining the text element content for one of the two 
&lt;br&gt;&amp;quot;structures within a collection&amp;quot; for which I had to force my way 
&lt;br&gt;past the NPE, so it does not surprise me that there should be 
&lt;br&gt;further trouble here.
&lt;br&gt;&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;I think you'll all agree there is little point my continuing at 
&lt;br&gt;this stage. &amp;nbsp;But if anyone has further suggestions, or if it is 
&lt;br&gt;conceivable that SchemaGen could easily be extended to accommodate 
&lt;br&gt;these binding constructs and at least generate a viable (albeit 
&lt;br&gt;sub-optimal) .XSD then that would be great.
&lt;br&gt;&lt;br&gt;Cheers, Robin.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Using class loading paths:
&lt;br&gt;&amp;lt;snip&amp;gt;
&lt;br&gt;Using source loading paths:
&lt;br&gt;&amp;nbsp;C:\projects\configurator\configurator\configurator-server\src\main\java
&lt;br&gt;Starting from classes:
&lt;br&gt;&amp;nbsp;C:\projects\configurator\configurator\configurator-server\src\main\config\binding.xml
&lt;br&gt;Output to directory .
&lt;br&gt;Errors in binding:
&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 3, col 43, in binding.xml)
&lt;br&gt;Error: Unsupported component; on value element at (line 52, col 
&lt;br&gt;72, in binding.xml)
&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 75, col 83, in binding.xml)
&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 76, col 78, in binding.xml)
&lt;br&gt;Error: Unsupported component; on value element at (line 63, col 
&lt;br&gt;54, in binding.xml)
&lt;br&gt;Warning: No schema equivalent known for type - treating as string; 
&lt;br&gt;on value element at (line 62, col 81, in binding.xml)
&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 65, col 57, in binding.xml)
&lt;br&gt;Warning: No schema equivalent known for type - treating as string; 
&lt;br&gt;on value element at (line 60, col 62, in binding.xml)
&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 14, col 63, in binding.xml)
&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 15, col 61, in binding.xml)
&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 16, col 55, in binding.xml)
&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 17, col 51, in binding.xml)
&lt;br&gt;Warning: Handling not implemented for unspecified mapping; on 
&lt;br&gt;collection element at (line 21, col 48, in binding.xml)
&lt;br&gt;Exception in thread &amp;quot;main&amp;quot; java.lang.RuntimeException: Errors 
&lt;br&gt;found in bindings
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.generate(SchemaGen.java:1076)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jibx.schema.generator.SchemaGen.main(SchemaGen.java:1193)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu Nov 19 16:50:01 CST 2009, &amp;quot;Robin M. Roos&amp;quot; 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443063&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;robin@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Dennis
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I thought I'd try to get JiBX to generate a .XSD file from my 
&lt;br&gt;&amp;gt; binding. &amp;nbsp; I understand SchemaGen can sometimes accomplish this, 
&lt;br&gt;&amp;gt; but is not supported for all user-defined bindings. &amp;nbsp;I the 
&lt;br&gt;&amp;gt; NullPointerException below in case it is easily resolved.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have two instances in my binding where a &amp;lt;collection&amp;gt; contains 
&lt;br&gt;&amp;gt; a &amp;lt;structure&amp;gt;. &amp;nbsp;In each of these cases I get an NPE at at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.setDocumentation(SchemaGen.java:234). 
&lt;br&gt;&amp;gt; &amp;nbsp;It occurs because the domain class to which the &amp;lt;structure&amp;gt; is 
&lt;br&gt;&amp;gt; mapped does not appear in the Map m_classmap within class 
&lt;br&gt;&amp;gt; PackageCustom. &amp;nbsp;So pack.get(classname) returns null, and 
&lt;br&gt;&amp;gt; subsequently null.isUseJavaDocs() throws the NPE.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Further details will be made available if required.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Many thanks, Robin.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My binding constructs are (these are just extracts):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;mapping name=&amp;quot;pointer&amp;quot; 
&lt;br&gt;&amp;gt; class=&amp;quot;net.uk.roos.configurator.server.domain.Pointer&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value name=&amp;quot;name&amp;quot; field=&amp;quot;name&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;revIdAttributionList&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;structure name=&amp;quot;revId&amp;quot; 
&lt;br&gt;&amp;gt; type=&amp;quot;net.uk.roos.configurator.server.domain.RevIdAttribution&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value name=&amp;quot;workstream&amp;quot; field=&amp;quot;workstream&amp;quot; 
&lt;br&gt;&amp;gt; style=&amp;quot;attribute&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;value field=&amp;quot;revisionIdString&amp;quot; 
&lt;br&gt;&amp;gt; style=&amp;quot;text&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/structure&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/collection&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;mapping name=&amp;quot;configurator&amp;quot; 
&lt;br&gt;&amp;gt; class=&amp;quot;net.uk.roos.configurator.server.domain.Configurator&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;environments&amp;quot; name=&amp;quot;environments&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;workstreams&amp;quot; name=&amp;quot;workstreams&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;pointers&amp;quot; name=&amp;quot;pointers&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;issues&amp;quot; name=&amp;quot;issues&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;workstreamConfig&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;structure name=&amp;quot;revisions&amp;quot; &amp;nbsp;
&lt;br&gt;&amp;gt; type=&amp;quot;net.uk.roos.configurator.server.domain.WorkstreamSpecificConfiguration&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value name=&amp;quot;workstream&amp;quot; field=&amp;quot;workstreamName&amp;quot; 
&lt;br&gt;&amp;gt; style=&amp;quot;attribute&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;revisions&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/structure&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/collection&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And the NPEs are thrown during processing of the RevIdAttribution 
&lt;br&gt;&amp;gt; and WorkstreamspecificConfiguration classes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My command-line arguments to SchemaGen are:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -n uri=&lt;a href=&quot;http://net.uk.roos.configurator.schema.1.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://net.uk.roos.configurator.schema.1.0&lt;/a&gt;&amp;nbsp;-s 
&lt;br&gt;&amp;gt; C:\projects\configurator\configurator\configurator-server\src\main\java 
&lt;br&gt;&amp;gt; -v 
&lt;br&gt;&amp;gt; C:\projects\configurator\configurator\configurator-server\src\main\config\binding.xml
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The console output and exception is as follows:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Using class loading paths:
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;lt;snip&amp;gt;
&lt;br&gt;&amp;gt; Using source loading paths:
&lt;br&gt;&amp;gt; &amp;nbsp;C:\projects\configurator\configurator\configurator-server\src\main\java
&lt;br&gt;&amp;gt; Starting from classes:
&lt;br&gt;&amp;gt; &amp;nbsp;C:\projects\configurator\configurator\configurator-server\src\main\config\binding.xml
&lt;br&gt;&amp;gt; Output to directory .
&lt;br&gt;&amp;gt; Exception in thread &amp;quot;main&amp;quot; java.lang.NullPointerException
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.setDocumentation(SchemaGen.java:234)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.addItemDocumentation(SchemaGen.java:283)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.fillAttributes(SchemaGen.java:804)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.buildElement(SchemaGen.java:508)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.buildCompositor(SchemaGen.java:609)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.buildCompositor(SchemaGen.java:621)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.buildComplexType(SchemaGen.java:896)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.addMapping(SchemaGen.java:1024)
&lt;br&gt;&amp;gt; 	at 
&lt;br&gt;&amp;gt; org.jibx.schema.generator.SchemaGen.generate(SchemaGen.java:1061)
&lt;br&gt;&amp;gt; 	at org.jibx.schema.generator.SchemaGen.main(SchemaGen.java:1193)
&lt;br&gt;&amp;gt; Disconnected from the target VM, address: '127.0.0.1:3774', 
&lt;br&gt;&amp;gt; transport: 'socket'
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Process finished with exit code 1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 
&lt;br&gt;&amp;gt; 2008 30-Day trial. Simplify your report design, integration and 
&lt;br&gt;&amp;gt; deployment - and focus on what you do best, core application 
&lt;br&gt;&amp;gt; coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;_______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443063&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443063&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NPE-when-running-SchemaGen-against-a-hand-written-binding-tp26435874p26443063.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26435874</id>
	<title>NPE when running SchemaGen against a hand-written binding</title>
	<published>2009-11-19T14:50:01Z</published>
	<updated>2009-11-19T14:50:01Z</updated>
	<author>
		<name>Robin M. Roos</name>
	</author>
	<content type="html">Hi Dennis
&lt;br&gt;&lt;br&gt;I thought I'd try to get JiBX to generate a .XSD file from my 
&lt;br&gt;binding. &amp;nbsp; I understand SchemaGen can sometimes accomplish this, 
&lt;br&gt;but is not supported for all user-defined bindings. &amp;nbsp;I the 
&lt;br&gt;NullPointerException below in case it is easily resolved.
&lt;br&gt;&lt;br&gt;I have two instances in my binding where a &amp;lt;collection&amp;gt; contains a 
&lt;br&gt;&amp;lt;structure&amp;gt;. &amp;nbsp;In each of these cases I get an NPE at at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.setDocumentation(SchemaGen.java:234). 
&lt;br&gt;&amp;nbsp;It occurs because the domain class to which the &amp;lt;structure&amp;gt; is 
&lt;br&gt;mapped does not appear in the Map m_classmap within class 
&lt;br&gt;PackageCustom. &amp;nbsp;So pack.get(classname) returns null, and 
&lt;br&gt;subsequently null.isUseJavaDocs() throws the NPE.
&lt;br&gt;&lt;br&gt;Further details will be made available if required.
&lt;br&gt;&lt;br&gt;Many thanks, Robin.
&lt;br&gt;&lt;br&gt;&lt;br&gt;My binding constructs are (these are just extracts):
&lt;br&gt;&lt;br&gt;&amp;lt;mapping name=&amp;quot;pointer&amp;quot; 
&lt;br&gt;class=&amp;quot;net.uk.roos.configurator.server.domain.Pointer&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value name=&amp;quot;name&amp;quot; field=&amp;quot;name&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;revIdAttributionList&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;structure name=&amp;quot;revId&amp;quot; 
&lt;br&gt;type=&amp;quot;net.uk.roos.configurator.server.domain.RevIdAttribution&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value name=&amp;quot;workstream&amp;quot; field=&amp;quot;workstream&amp;quot; 
&lt;br&gt;style=&amp;quot;attribute&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;value field=&amp;quot;revisionIdString&amp;quot; 
&lt;br&gt;style=&amp;quot;text&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/structure&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/collection&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;mapping name=&amp;quot;configurator&amp;quot; 
&lt;br&gt;class=&amp;quot;net.uk.roos.configurator.server.domain.Configurator&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;environments&amp;quot; name=&amp;quot;environments&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;workstreams&amp;quot; name=&amp;quot;workstreams&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;pointers&amp;quot; name=&amp;quot;pointers&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;issues&amp;quot; name=&amp;quot;issues&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;workstreamConfig&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;structure name=&amp;quot;revisions&amp;quot; &amp;nbsp;
&lt;br&gt;type=&amp;quot;net.uk.roos.configurator.server.domain.WorkstreamSpecificConfiguration&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value name=&amp;quot;workstream&amp;quot; field=&amp;quot;workstreamName&amp;quot; 
&lt;br&gt;style=&amp;quot;attribute&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;collection field=&amp;quot;revisions&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/structure&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/collection&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;&lt;br&gt;And the NPEs are thrown during processing of the RevIdAttribution 
&lt;br&gt;and WorkstreamspecificConfiguration classes.
&lt;br&gt;&lt;br&gt;My command-line arguments to SchemaGen are:
&lt;br&gt;&lt;br&gt;-n uri=&lt;a href=&quot;http://net.uk.roos.configurator.schema.1.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://net.uk.roos.configurator.schema.1.0&lt;/a&gt;&amp;nbsp;-s 
&lt;br&gt;C:\projects\configurator\configurator\configurator-server\src\main\java 
&lt;br&gt;-v 
&lt;br&gt;C:\projects\configurator\configurator\configurator-server\src\main\config\binding.xml
&lt;br&gt;&lt;br&gt;The console output and exception is as follows:
&lt;br&gt;&lt;br&gt;Using class loading paths:
&lt;br&gt;&amp;nbsp;&amp;lt;snip&amp;gt;
&lt;br&gt;Using source loading paths:
&lt;br&gt;&amp;nbsp;C:\projects\configurator\configurator\configurator-server\src\main\java
&lt;br&gt;Starting from classes:
&lt;br&gt;&amp;nbsp;C:\projects\configurator\configurator\configurator-server\src\main\config\binding.xml
&lt;br&gt;Output to directory .
&lt;br&gt;Exception in thread &amp;quot;main&amp;quot; java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.setDocumentation(SchemaGen.java:234)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.addItemDocumentation(SchemaGen.java:283)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.fillAttributes(SchemaGen.java:804)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.buildElement(SchemaGen.java:508)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.buildCompositor(SchemaGen.java:609)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.buildCompositor(SchemaGen.java:621)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.buildComplexType(SchemaGen.java:896)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.addMapping(SchemaGen.java:1024)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at 
&lt;br&gt;org.jibx.schema.generator.SchemaGen.generate(SchemaGen.java:1061)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jibx.schema.generator.SchemaGen.main(SchemaGen.java:1193)
&lt;br&gt;Disconnected from the target VM, address: '127.0.0.1:3774', 
&lt;br&gt;transport: 'socket'
&lt;br&gt;&lt;br&gt;Process finished with exit code 1
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26435874&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NPE-when-running-SchemaGen-against-a-hand-written-binding-tp26435874p26435874.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26419472</id>
	<title>Chameleon namespaces and CodeGen</title>
	<published>2009-11-18T17:27:07Z</published>
	<updated>2009-11-18T17:27:07Z</updated>
	<author>
		<name>ctg-2</name>
	</author>
	<content type="html">I am trying to generate code from a fairly complex schema, and I'm having
&lt;br&gt;difficulties because (I think) of its use of chameleon namespaces. It
&lt;br&gt;seems to be unable to locate the types defined in the chameleon schemas.
&lt;br&gt;&lt;br&gt;The structure of the schema files is:
&lt;br&gt;&lt;br&gt;dirA/
&lt;br&gt;&amp;nbsp; a1.xsd
&lt;br&gt;&amp;nbsp; b3.xsd
&lt;br&gt;dirB/
&lt;br&gt;&amp;nbsp; b1.xsd
&lt;br&gt;&amp;nbsp; b2.xsd
&lt;br&gt;&amp;nbsp; c1.xsd
&lt;br&gt;&amp;nbsp; c2.xsd
&lt;br&gt;&lt;br&gt;a1 is the main schema I am trying to generate, in namespace A. It includes
&lt;br&gt;b1, b2 and b3, which are in a different namespace B. b1 includes c1 and
&lt;br&gt;c2, which are chameleons (no namespace). The other curly bit is that b3
&lt;br&gt;includes b2, although b2 references types that are declared in b3 (yes,
&lt;br&gt;really).
&lt;br&gt;&lt;br&gt;The errors indicate that types in c1, c2 and b3 are not being picked up.
&lt;br&gt;&lt;br&gt;I have tried using customization to force c1 and c2 to be in the correct
&lt;br&gt;namespace, but that doesn't seem to work. Shouldn't it just process the
&lt;br&gt;types from the chameleons as if they belong to the target namespace of the
&lt;br&gt;schema that includes them?
&lt;br&gt;&lt;br&gt;Is there anything else I can do? I'm can't change the schema, so I need to
&lt;br&gt;find a way to convince CodeGen to process it properly.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message has been scanned for viruses and
&lt;br&gt;dangerous content by MailScanner, and is
&lt;br&gt;believed to be clean.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26419472&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Chameleon-namespaces-and-CodeGen-tp26419472p26419472.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26377840</id>
	<title>Re: JiBX Artifacts missing from mvnrepository</title>
	<published>2009-11-16T11:21:46Z</published>
	<updated>2009-11-16T11:21:46Z</updated>
	<author>
		<name>Nigel Charman</name>
	</author>
	<content type="html">I just noticed that these artifacts are now appearing in mvnrepository (but not mvnbrowser).
&lt;br&gt;&lt;br&gt;The xbis-jibx artifact is not in the Maven repo, and should be added. I'll try and get this done with the JiBX 1.2.2 release uploads.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Nigel Charman wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi
&lt;br&gt;&lt;br&gt;Please would you help us determine why only a subset of the org.jibx artifacts are appearing on the list at mvnrepository.com?
&lt;br&gt;&lt;br&gt;The main Maven repo at &lt;a href=&quot;http://repo2.maven.org/maven2/org/jibx/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo2.maven.org/maven2/org/jibx/&lt;/a&gt;&amp;nbsp;has artifacts:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;jibx-bind
&lt;br&gt;&amp;nbsp; &amp;nbsp;jibx-extras
&lt;br&gt;&amp;nbsp; &amp;nbsp;jibx-run
&lt;br&gt;&amp;nbsp; &amp;nbsp;jibx-schema
&lt;br&gt;&amp;nbsp; &amp;nbsp;jibx-tools
&lt;br&gt;&amp;nbsp; &amp;nbsp;jibx-ws
&lt;br&gt;&amp;nbsp; &amp;nbsp;maven-jibx-plugin
&lt;br&gt;&lt;br&gt;whereas mvnrepository only has:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;jibx-bind
&lt;br&gt;&amp;nbsp; &amp;nbsp;jibx-extras
&lt;br&gt;&amp;nbsp; &amp;nbsp;jibx-run
&lt;br&gt;&amp;nbsp; &amp;nbsp;maven-jibx-plugin
&lt;br&gt;&lt;br&gt;and it doesn't show the latest versions of these artifacts either.
&lt;br&gt;&lt;br&gt;If it helps, we are deploying the artifacts to the JiBX sourceforge 
&lt;br&gt;maven2 repository using mvn deploy:deployfile, for example:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; mvn deploy:deploy-file -Dversion=1.2.1 -Dfile=../../lib/jibx-run.jar
&lt;br&gt;&amp;nbsp; &amp;nbsp; -DpomFile=jibx-run.pom -Dpackaging=jar
&lt;br&gt;&amp;nbsp; &amp;nbsp; -DrepositoryId=sourceforge.net -DgeneratePom=true
&lt;br&gt;&amp;nbsp; &amp;nbsp; -Durl=scp://web.sourceforge.net/home/groups/j/ji/jibx/htdocs/maven2
&lt;br&gt;&lt;br&gt;&lt;br&gt;from where they are automatically replicated to the central Maven 
&lt;br&gt;repository.
&lt;br&gt;&lt;br&gt;Would you be able to advise how we can get the extra artifacts added to 
&lt;br&gt;mvnrepository, or whether there is something wrong with our deployment 
&lt;br&gt;that is stopping them from appearing?
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;Nigel Charman
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-devs mailing list
&lt;br&gt;jibx-devs@lists.sourceforge.net
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-devs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-devs&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-devs-f4286.html&quot; embed=&quot;fixTarget[4286]&quot; target=&quot;_top&quot; &gt;jibx-devs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JiBX-Artifacts-missing-from-mvnrepository-tp25840663p26377840.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26371007</id>
	<title>Converted DTD to XSD - Codegen producing two binding files.</title>
	<published>2009-11-16T04:22:03Z</published>
	<updated>2009-11-16T04:22:03Z</updated>
	<author>
		<name>Ben Davies-4</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-GB link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;Hello,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I&amp;#8217;ve done my best to convert the DTD&amp;#8217;s listed on
this page:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;a href=&quot;http://www.bbc.co.uk/travelnews/xml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bbc.co.uk/travelnews/xml/&lt;/a&gt;
(entities and sample feeds are here also)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;to a Schema for use with JiBX.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Here is the XSD:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;a href=&quot;http://pastebin.com/fde02b4b&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/fde02b4b&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;which was produced via XMLSpy with some manual post editing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;However, when I run this schema through CodeGen, there are
two binding files produced, possibly something to do with odd namespacing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;NB: This was run through CodeGen in the 1.2.2 snapshot.
1.2.1 produced a NullPointerException.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Any clues as to why this is happening, and how to correct the
schema would be much appreciated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Many thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Ben&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26371007&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Converted-DTD-to-XSD---Codegen-producing-two-binding-files.-tp26371007p26371007.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26344328</id>
	<title>Re: Codegen fails with NullPointerException</title>
	<published>2009-11-13T14:07:07Z</published>
	<updated>2009-11-13T14:07:07Z</updated>
	<author>
		<name>DSosnoski</name>
	</author>
	<content type="html">I just tried this with the latest code, and although the problem you're 
&lt;br&gt;encountering with 1.2.1 has been fixed there's still another issue. I'll 
&lt;br&gt;get that fixed today and have it in place for the 1.2.2 release next week.
&lt;br&gt;&lt;br&gt;That's my least-favorite schema style, by the way, with all the global 
&lt;br&gt;element definitions. Makes a good test case, but you'll probably want to 
&lt;br&gt;tell CodeGen to inline everything except the elements actually used as 
&lt;br&gt;document roots so that you don't end up with dozens of classes 
&lt;br&gt;consisting only of a single String (or BigInt, or Date) value.
&lt;br&gt;&lt;br&gt;&amp;nbsp; - Dennis
&lt;br&gt;&lt;br&gt;Dennis M. Sosnoski
&lt;br&gt;XML and Web Services in Java
&lt;br&gt;Training and Consulting
&lt;br&gt;&lt;a href=&quot;http://www.sosnoski.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.com&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.sosnoski.co.nz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.co.nz&lt;/a&gt;&lt;br&gt;Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Whiz wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Sorry folks.. Just noticed the extra space in the link for xsd. The 
&lt;br&gt;&amp;gt; correct URL is: &lt;a href=&quot;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&lt;/a&gt;&lt;br&gt;&amp;gt; Could someone please suggest why JiBX cannot gen code for this xsd?
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt; --- On *Fri, 11/13/09, Whiz /&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344328&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vyakaranam_2004@...&lt;/a&gt;&amp;gt;/* wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; From: Whiz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344328&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vyakaranam_2004@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Subject: Re: [jibx-users] Codegen fails with NullPointerException
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344328&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Date: Friday, November 13, 2009, 10:06 AM
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I had posted that xsd resulting in a NullPointerException to
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; internet at &lt;a href=&quot;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; From: Whiz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344328&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vyakaranam_2004@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Subject: Codegen fails with NullPointerException
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344328&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date: Friday, November 13, 2009, 9:17 AM
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Hi All,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; When attempting to generate code from a xsd, I am &amp;nbsp;getting a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NullPointerException as pasted in the end below. Generated a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug jibx log, and it appears like it logs almost til the end
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; of the xsd with just 2 more simpleType's left to go. Zero
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; source code files are generated.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INFO codegen.CodeGen - After inlining and classification for
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; complexType TRANS_SUBTYPE_CODES (XTbML2.21.00:674):
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; definition with 1 references (inlining blocked), and class
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name TRANSSUBTYPECODES (not all items optional): complexType
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TRANS_SUBTYPE_CODES (XTbML2.21.00:674)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inlined group with class name String and value name string
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (all items optional): extension (XTbML2.21.00:676)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .value of type java.lang.String with value name string:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; extension (XTbML2.21.00:676)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inlined group with class name Tc and value name tc (not all
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; items optional): attribute tc (XTbML2.21.00:676)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .value of type java.math.BigInteger with value name null:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; attribute tc (XTbML2.21.00:676)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; No source files are eventually generated.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Based on limitations of codegen found on website, made sure
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xs:any&amp;gt; is last in sequece and &amp;lt;xs:anyAttribute&amp;gt; does not exist
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Know that this is the first time we are using jibx to gen real
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; code after going thro' docs and running some samples.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; What are we missing? Help!
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C:\workspaces\CheckItOut\codegenjibx\jibx\dwcode2&amp;gt;java -cp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .;..\lib\jibx-tools.j
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ar org.jibx.schema.codegen.CodeGen -t gen\src -w -v
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *XTbML2.21.00.xsd*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Output to directory gen\src
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Loaded and validated 1 specified schema(s):
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;top-level schema XTbML2.21.00.xsd
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Exception in thread &amp;quot;main&amp;quot; *java.lang.NullPointerException*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.jibx.schema.codegen.ClassHolder$DataNode.&amp;lt;init&amp;gt;(ClassHolder.java:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 815)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.jibx.schema.codegen.StructureClassHolder.addToTree(StructureClass
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Holder.java:281)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.jibx.schema.codegen.StructureClassHolder.addToTree(StructureClass
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Holder.java:214)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.jibx.schema.codegen.StructureClassHolder.buildDataStructure(Struc
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tureClassHolder.java:309)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.jibx.schema.codegen.CodeGen.generate(CodeGen.java:1383)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1652)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -----Inline Attachment Follows-----
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Let Crystal Reports handle the reporting - Free Crystal Reports
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 2008 30-Day
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; trial. Simplify your report design, integration and deployment -
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; and focus on
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -----Inline Attachment Follows-----
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; _______________________________________________
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; jibx-users mailing list
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344328&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://us.mc382.mail.yahoo.com/mc/compose?to=jibx-users@lists.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://us.mc382.mail.yahoo.com/mc/compose?to=jibx-users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344328&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344328&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Codegen-fails-with-NullPointerException-tp26338254p26344328.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26344126</id>
	<title>Re: Enumeration Code generation Issue</title>
	<published>2009-11-13T13:51:24Z</published>
	<updated>2009-11-13T13:51:24Z</updated>
	<author>
		<name>DSosnoski</name>
	</author>
	<content type="html">Hi Anshuk,
&lt;br&gt;&lt;br&gt;Could you try using the 1.2.2 test build at 
&lt;br&gt;&lt;a href=&quot;http://www.jibx.org/jibx_1_2_2-SNAPSHOT.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jibx.org/jibx_1_2_2-SNAPSHOT.zip&lt;/a&gt;&amp;nbsp;If that doesn't handle your 
&lt;br&gt;enumerations properly, please create a Jira and attach a sample project 
&lt;br&gt;to demonstrate the problem.
&lt;br&gt;&lt;br&gt;Thanks, and sorry for the delayed response.
&lt;br&gt;&lt;br&gt;&amp;nbsp; - Dennis
&lt;br&gt;&lt;br&gt;Dennis M. Sosnoski
&lt;br&gt;XML and Web Services in Java
&lt;br&gt;Training and Consulting
&lt;br&gt;&lt;a href=&quot;http://www.sosnoski.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.com&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.sosnoski.co.nz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.co.nz&lt;/a&gt;&lt;br&gt;Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Anshuk Pal Chaudhuri wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Helo Dennis,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dou you think that I should put this as a jira bug ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; Infosys Technologies Ltd.
&lt;br&gt;&amp;gt; ________________________________________
&lt;br&gt;&amp;gt; From: Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; Sent: Tuesday, November 03, 2009 4:41 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344126&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dms@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: FW: Enumeration Code generation Issue
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello Dennis,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any pointers for the below mentioned issue.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; ________________________________________
&lt;br&gt;&amp;gt; From: Anshuk Pal Chaudhuri [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344126&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Anshuk_Chaudhuri@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Monday, November 02, 2009 9:26 PM
&lt;br&gt;&amp;gt; To: JiBX users
&lt;br&gt;&amp;gt; Subject: Re: [jibx-users] Enumeration Code generation Issue
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Did anybody find any workaround for the below mentioned piece. I am still stuck with the same.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; ________________________________________
&lt;br&gt;&amp;gt; From: Anshuk Pal Chaudhuri [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344126&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Anshuk_Chaudhuri@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Thursday, October 29, 2009 8:22 PM
&lt;br&gt;&amp;gt; To: JiBX users
&lt;br&gt;&amp;gt; Subject: [jibx-users] Enumeration Code generation Issue
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using the jibx 1.2.1 for code generation from xml schema. There are two different simple types defined for which the enumeration is also there. When I am generating the code, one enum class is generating completely fine, with the toString and convert and all the relevant enum values.
&lt;br&gt;&amp;gt; The other enum class is generated but with no values/convert &amp; tostring methods.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Has anyone faced a similar issue like this earlier.
&lt;br&gt;&amp;gt; Please let me know for any workarounds.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Anshuk Pal Chaudhuri
&lt;br&gt;&amp;gt; **************** CAUTION - Disclaimer *****************
&lt;br&gt;&amp;gt; This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
&lt;br&gt;&amp;gt; for the use of the addressee(s). If you are not the intended recipient, please
&lt;br&gt;&amp;gt; notify the sender by e-mail and delete the original message. Further, you are not
&lt;br&gt;&amp;gt; to copy, disclose, or distribute this e-mail or its contents to any other person and
&lt;br&gt;&amp;gt; any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
&lt;br&gt;&amp;gt; every reasonable precaution to minimize this risk, but is not liable for any damage
&lt;br&gt;&amp;gt; you may sustain as a result of any virus in this e-mail. You should carry out your
&lt;br&gt;&amp;gt; own virus checks before opening the e-mail or attachment. Infosys reserves the
&lt;br&gt;&amp;gt; right to monitor and review the content of all messages sent to or from this e-mail
&lt;br&gt;&amp;gt; address. Messages sent to or from this e-mail address may be stored on the
&lt;br&gt;&amp;gt; Infosys e-mail system.
&lt;br&gt;&amp;gt; ***INFOSYS******** End of Disclaimer ********INFOSYS***
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;&amp;gt; is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;&amp;gt; developing skills, take BlackBerry mobile applications to market and stay
&lt;br&gt;&amp;gt; ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344126&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;&amp;gt; is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;&amp;gt; developing skills, take BlackBerry mobile applications to market and stay
&lt;br&gt;&amp;gt; ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344126&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344126&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344126&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Enumeration-Code-generation-Issue-tp26114620p26344126.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26343633</id>
	<title>Re: Codegen fails with NullPointerException</title>
	<published>2009-11-13T13:11:07Z</published>
	<updated>2009-11-13T13:11:07Z</updated>
	<author>
		<name>Whiz-2</name>
	</author>
	<content type="html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;&lt;DIV&gt;Sorry folks.. Just noticed the extra space in the&amp;nbsp;link for&amp;nbsp;xsd. The correct URL is: &lt;A href=&quot;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&lt;/A&gt;&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;Could someone please suggest why JiBX cannot gen code for this xsd?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks!&lt;BR&gt;--- On &lt;B&gt;Fri, 11/13/09, Whiz &lt;I&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343633&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vyakaranam_2004@...&lt;/a&gt;&amp;gt;&lt;/I&gt;&lt;/B&gt; wrote:&lt;BR&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid&quot;&gt;&lt;BR&gt;From: Whiz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343633&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vyakaranam_2004@...&lt;/a&gt;&amp;gt;&lt;BR&gt;Subject: Re: [jibx-users] Codegen fails with NullPointerException&lt;BR&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343633&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;&lt;BR&gt;Date: Friday, November 13, 2009, 10:06 AM&lt;BR&gt;&lt;BR&gt;
&lt;DIV id=yiv1623159492&gt;
&lt;TABLE cellSpacing=0 cellPadding=0 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top&gt;
&lt;DIV&gt;I had posted that xsd&amp;nbsp;resulting in a NullPointerException to internet at&amp;nbsp;&lt;A href=&quot;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&lt;/A&gt;&amp;nbsp;&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;BR&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid&quot;&gt;&lt;BR&gt;From: Whiz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343633&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vyakaranam_2004@...&lt;/a&gt;&amp;gt;&lt;BR&gt;Subject: Codegen fails with NullPointerException&lt;BR&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343633&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;&lt;BR&gt;Date: Friday, November 13, 2009, 9:17 AM&lt;BR&gt;&lt;BR&gt;
&lt;DIV id=yiv1758809833&gt;
&lt;TABLE cellSpacing=0 cellPadding=0 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top&gt;
&lt;DIV id=yiv450273310&gt;
&lt;DIV id=yiv1789026344&gt;
&lt;DIV id=yiv294126890&gt;Hi All,&lt;BR&gt;
&lt;DIV id=yiv1085577231&gt;
&lt;TABLE cellSpacing=0 cellPadding=0 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top&gt;
&lt;DIV id=yiv418463282&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;When attempting to generate code&amp;nbsp;from a xsd, I am &amp;nbsp;getting a NullPointerException as pasted&amp;nbsp;in the end below. Generated a debug jibx log, and it appears like it&amp;nbsp;logs almost til the end of the xsd&amp;nbsp;with just 2 more simpleType's left to go.&amp;nbsp;Zero source code files are generated.&lt;/DIV&gt;&lt;SPAN lang=EN&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;INFO codegen.CodeGen - After inlining and classification for complexType TRANS_SUBTYPE_CODES (XTbML2.21.00:674):&lt;/DIV&gt;
&lt;DIV&gt;definition with 1 references (inlining blocked), and class name TRANSSUBTYPECODES (not all items optional): complexType TRANS_SUBTYPE_CODES (XTbML2.21.00:674)&lt;/DIV&gt;
&lt;DIV&gt;inlined group with class name String and value name string (all items optional): extension (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;.value of type java.lang.String with value name string: extension (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;inlined group with class name Tc and value name tc (not all items optional): attribute tc (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;.value of type java.math.BigInteger with value name null: attribute tc (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN lang=EN&gt;No&amp;nbsp;source files are eventually generated. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN lang=EN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN lang=EN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/SPAN&gt;
&lt;DIV&gt;Based on limitations of codegen found on website, made sure &amp;lt;xs:any&amp;gt; is last in sequece and &amp;lt;xs:anyAttribute&amp;gt; does not exist&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Know that this is the first time we are&amp;nbsp;using jibx to gen real code after going thro' docs and running some samples. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;What&amp;nbsp;are we&amp;nbsp;missing? Help!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;C:\workspaces\CheckItOut\codegenjibx\jibx\dwcode2&amp;gt;java -cp .;..\lib\jibx-tools.j&lt;BR&gt;ar org.jibx.schema.codegen.CodeGen -t gen\src -w -v &lt;STRONG&gt;XTbML2.21.00.xsd&lt;/STRONG&gt;&lt;BR&gt;Output to directory gen\src&lt;BR&gt;Loaded and validated 1 specified schema(s):&lt;BR&gt;&amp;nbsp;top-level schema XTbML2.21.00.xsd&lt;BR&gt;Exception in thread &quot;main&quot; &lt;STRONG&gt;java.lang.NullPointerException&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.ClassHolder$DataNode.&amp;lt;init&amp;gt;(ClassHolder.java:&lt;BR&gt;815)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.StructureClassHolder.addToTree(StructureClass&lt;BR&gt;Holder.java:281)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.StructureClassHolder.addToTree(StructureClass&lt;BR&gt;Holder.java:214)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at
 org.jibx.schema.codegen.StructureClassHolder.buildDataStructure(Struc&lt;BR&gt;tureClassHolder.java:309)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.CodeGen.generate(CodeGen.java:1383)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1652)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;BR&gt;-----Inline Attachment Follows-----&lt;BR&gt;&lt;BR&gt;
&lt;DIV class=plainMail&gt;------------------------------------------------------------------------------&lt;BR&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day &lt;BR&gt;trial. Simplify your report design, integration and deployment - and focus on &lt;BR&gt;what you do best, core application coding. Discover what's new with&lt;BR&gt;Crystal Reports now.&amp;nbsp; &lt;A href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/A&gt;&lt;/DIV&gt;&lt;BR&gt;-----Inline Attachment Follows-----&lt;BR&gt;&lt;BR&gt;
&lt;DIV class=plainMail&gt;_______________________________________________&lt;BR&gt;jibx-users mailing list&lt;BR&gt;&lt;A href=&quot;http://us.mc382.mail.yahoo.com/mc/compose?to=jibx-users@lists.sourceforge.net&quot; ymailto=&quot;mailto:jibx-users@lists.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/A&gt;&lt;BR&gt;&lt;A href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=_blank rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/A&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;

&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343633&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Codegen-fails-with-NullPointerException-tp26338254p26343633.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26343520</id>
	<title>Re: Factorization properties of XML</title>
	<published>2009-11-13T13:02:09Z</published>
	<updated>2009-11-13T13:02:09Z</updated>
	<author>
		<name>jcaristi</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;/head&gt;
&lt;body lang=&quot;EN-US&quot; link=&quot;blue&quot; vlink=&quot;purple&quot;&gt;
&lt;div class=&quot;Section1&quot;&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:
10.0pt;font-family:Arial;color:navy&quot;&gt;This would require a custom marshaller and unmarshaller, since the class and XML structures are significantly different. Look here:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:
10.0pt;font-family:Arial;color:navy&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:
10.0pt;font-family:Arial;color:navy&quot;&gt;&lt;a href=&quot;http://jibx.sourceforge.net/tutorial/binding-custom.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jibx.sourceforge.net/tutorial/binding-custom.html&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:
10.0pt;font-family:Arial;color:navy&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; align=&quot;center&quot; style=&quot;text-align:center&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;
&lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot; tabindex=&quot;-1&quot;&gt;
&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Tahoma&quot;&gt;&lt;span style=&quot;font-size:10.0pt;
font-family:Tahoma;font-weight:bold&quot;&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot; face=&quot;Tahoma&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Tahoma&quot;&gt; s b [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343520&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sb7206@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Friday, November 13, 2009 11:32 AM&lt;br&gt;
&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343520&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; [jibx-users] Factorization properties of XML&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size:
12.0pt&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size:
12.0pt&quot;&gt;Hello,&lt;br&gt;
&lt;br&gt;
We are currently trying to use JiBX&lt;br&gt;
&lt;br&gt;
The problem is that we want to use the factorization properties of XML without having to create ArrayLists in our binded classes. Here is an example:&lt;br&gt;
&lt;br&gt;
We have the following XML:&lt;br&gt;
&amp;lt;cities&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;area zone=&amp;quot;1&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;country code=&amp;quot;FR&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;NCE&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;06000&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;PAR&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;75000&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/country&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;country code=&amp;quot;DE&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;BER&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;123456&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/country&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/area&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;area zone=&amp;quot;2&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;country code=&amp;quot;US&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;NYC&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;111111&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;LAX&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zipcode&amp;gt;222222&amp;lt;/zipcode&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/city&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/country&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/area&amp;gt;&lt;br&gt;
&amp;lt;/cities&amp;gt;&lt;br&gt;
&lt;br&gt;
Areas, countries and cities can all be repeated.&lt;br&gt;
We would like to map this XML into the following class:&lt;br&gt;
&lt;br&gt;
public class City {&lt;br&gt;
&amp;nbsp;&amp;nbsp; public int Zone;&lt;br&gt;
&amp;nbsp;&amp;nbsp; public String Country;&lt;br&gt;
&amp;nbsp;&amp;nbsp; public int Zipcode;&lt;br&gt;
&amp;nbsp;&amp;nbsp; public String Code;&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
The example would then produce a cities class having an arraylist of City objects as follows:&lt;br&gt;
City object 1 : Zone=1, Country=FR, Zipcode=06000, Code=NCE&lt;br&gt;
City object 2 : Zone=1, Country=FR, Zipcode=75000, Code=PAR&lt;br&gt;
City object 3 : Zone=1, Country=DE, Zipcode=123456, Code=BER&lt;br&gt;
City object 4 : Zone=2, Country=US, Zipcode=111111, Code=NYC&lt;br&gt;
City object 5 : Zone=2, Country=US, Zipcode=222222, Code=LAX&lt;br&gt;
&lt;br&gt;
We haven't found a basic way to do this. What we can do easily is to create a cities class with an ArrayList of areas, having themselves an arraylist of countries...&lt;br&gt;
Is there a direct way to get City objects as described ?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks in advance and best regards,&lt;br&gt;
Serge&lt;br&gt;
&lt;br&gt;
PS: this message has already been posted 2 days ago but didn't appear on the list. Sorry if this message is a duplicate.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;hr&gt;
&lt;font face=&quot;Arial&quot; color=&quot;Gray&quot; size=&quot;1&quot;&gt;STATEMENT OF CONFIDENTIALITY:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
The information contained in this electronic message and any attachments to&lt;br&gt;
this message are intended for the exclusive use of the addressee(s) and may&lt;br&gt;
contain confidential or privileged information. If you are not the intended&lt;br&gt;
recipient, please notify WHI Solutions immediately at &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343520&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gc@...&lt;/a&gt;,&lt;br&gt;
and destroy all copies of this message and any attachments.&lt;br&gt;
&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343520&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Factorization-properties-of-XML-tp26339424p26343520.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26339424</id>
	<title>Factorization properties of XML</title>
	<published>2009-11-13T08:31:32Z</published>
	<updated>2009-11-13T08:31:32Z</updated>
	<author>
		<name>s b-4</name>
	</author>
	<content type="html">Hello,&lt;br&gt;&lt;br&gt;We are currently trying to use JiBX&lt;br&gt;&lt;br&gt;The problem is that we want to use the factorization properties of XML without having to create ArrayLists in our binded classes. Here is an example:&lt;br&gt;&lt;br&gt;We have the following XML:&lt;br&gt;
&amp;lt;cities&amp;gt;&lt;br&gt;   &amp;lt;area zone=&amp;quot;1&amp;quot;&amp;gt;&lt;br&gt;      &amp;lt;country code=&amp;quot;FR&amp;quot;&amp;gt;&lt;br&gt;         &amp;lt;city&amp;gt;&lt;br&gt;            &amp;lt;code&amp;gt;NCE&amp;lt;/code&amp;gt;&lt;br&gt;            &amp;lt;zipcode&amp;gt;06000&amp;lt;/zipcode&amp;gt;&lt;br&gt;
         &amp;lt;/city&amp;gt;&lt;br&gt;         &amp;lt;city&amp;gt;&lt;br&gt;            &amp;lt;code&amp;gt;PAR&amp;lt;/code&amp;gt;&lt;br&gt;            &amp;lt;zipcode&amp;gt;75000&amp;lt;/zipcode&amp;gt;&lt;br&gt;         &amp;lt;/city&amp;gt;&lt;br&gt;      &amp;lt;/country&amp;gt;&lt;br&gt;      &amp;lt;country code=&amp;quot;DE&amp;quot;&amp;gt;&lt;br&gt;
         &amp;lt;city&amp;gt;&lt;br&gt;            &amp;lt;code&amp;gt;BER&amp;lt;/code&amp;gt;&lt;br&gt;            &amp;lt;zipcode&amp;gt;123456&amp;lt;/zipcode&amp;gt;&lt;br&gt;         &amp;lt;/city&amp;gt;&lt;br&gt;      &amp;lt;/country&amp;gt;&lt;br&gt;   &amp;lt;/area&amp;gt;&lt;br&gt;   &amp;lt;area zone=&amp;quot;2&amp;quot;&amp;gt;&lt;br&gt;
      &amp;lt;country code=&amp;quot;US&amp;quot;&amp;gt;&lt;br&gt;         &amp;lt;city&amp;gt;&lt;br&gt;            &amp;lt;code&amp;gt;NYC&amp;lt;/code&amp;gt;&lt;br&gt;            &amp;lt;zipcode&amp;gt;111111&amp;lt;/zipcode&amp;gt;&lt;br&gt;         &amp;lt;/city&amp;gt;&lt;br&gt;         &amp;lt;city&amp;gt;&lt;br&gt;            &amp;lt;code&amp;gt;LAX&amp;lt;/code&amp;gt;&lt;br&gt;
            &amp;lt;zipcode&amp;gt;222222&amp;lt;/zipcode&amp;gt;&lt;br&gt;         &amp;lt;/city&amp;gt;&lt;br&gt;      &amp;lt;/country&amp;gt;&lt;br&gt;   &amp;lt;/area&amp;gt;&lt;br&gt;&amp;lt;/cities&amp;gt;&lt;br&gt;&lt;br&gt;Areas, countries and cities can all be repeated.&lt;br&gt;We would like to map this XML into the following class:&lt;br&gt;
&lt;br&gt;public class City {&lt;br&gt;   public int Zone;&lt;br&gt;   public String Country;&lt;br&gt;   public int Zipcode;&lt;br&gt;   public String Code;&lt;br&gt;}&lt;br&gt;&lt;br&gt;The example would then produce a cities class having an arraylist of City objects as follows:&lt;br&gt;
City object 1 : Zone=1, Country=FR, Zipcode=06000, Code=NCE&lt;br&gt;City object 2 : Zone=1, Country=FR, Zipcode=75000, Code=PAR&lt;br&gt;City object 3 : Zone=1, Country=DE, Zipcode=123456, Code=BER&lt;br&gt;City object 4 : Zone=2, Country=US, Zipcode=111111, Code=NYC&lt;br&gt;
City object 5 : Zone=2, Country=US, Zipcode=222222, Code=LAX&lt;br&gt;&lt;br&gt;We haven&amp;#39;t found a basic way to do this. What we can do easily is to create a cities class with an ArrayList of areas, having themselves an arraylist of countries...&lt;br&gt;
Is there a direct way to get City objects as described ?&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks in advance and best regards,&lt;br&gt;Serge&lt;br&gt;&lt;br&gt;PS: this message has already been posted 2 days ago but didn&amp;#39;t appear on the list. Sorry if this message is a duplicate.&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339424&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Factorization-properties-of-XML-tp26339424p26339424.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26339022</id>
	<title>Re: Codegen fails with NullPointerException</title>
	<published>2009-11-13T08:06:25Z</published>
	<updated>2009-11-13T08:06:25Z</updated>
	<author>
		<name>Whiz-2</name>
	</author>
	<content type="html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;&lt;DIV&gt;I had posted that xsd&amp;nbsp;resulting in a NullPointerException to internet at&amp;nbsp;&lt;A href=&quot;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.google.com/View?id=d4dhmdm_17x7wrdf9&lt;/A&gt;&amp;nbsp;&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;BR&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid&quot;&gt;&lt;BR&gt;From: Whiz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339022&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vyakaranam_2004@...&lt;/a&gt;&amp;gt;&lt;BR&gt;Subject: Codegen fails with NullPointerException&lt;BR&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339022&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;&lt;BR&gt;Date: Friday, November 13, 2009, 9:17 AM&lt;BR&gt;&lt;BR&gt;
&lt;DIV id=yiv1758809833&gt;
&lt;TABLE cellSpacing=0 cellPadding=0 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top&gt;
&lt;DIV id=yiv450273310&gt;
&lt;DIV id=yiv1789026344&gt;
&lt;DIV id=yiv294126890&gt;Hi All,&lt;BR&gt;
&lt;DIV id=yiv1085577231&gt;
&lt;TABLE cellSpacing=0 cellPadding=0 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top&gt;
&lt;DIV id=yiv418463282&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;When attempting to generate code&amp;nbsp;from a xsd, I am &amp;nbsp;getting a NullPointerException as pasted&amp;nbsp;in the end below. Generated a debug jibx log, and it appears like it&amp;nbsp;logs almost til the end of the xsd&amp;nbsp;with just 2 more simpleType's left to go.&amp;nbsp;Zero source code files are generated.&lt;/DIV&gt;&lt;SPAN lang=EN&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;INFO codegen.CodeGen - After inlining and classification for complexType TRANS_SUBTYPE_CODES (XTbML2.21.00:674):&lt;/DIV&gt;
&lt;DIV&gt;definition with 1 references (inlining blocked), and class name TRANSSUBTYPECODES (not all items optional): complexType TRANS_SUBTYPE_CODES (XTbML2.21.00:674)&lt;/DIV&gt;
&lt;DIV&gt;inlined group with class name String and value name string (all items optional): extension (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;.value of type java.lang.String with value name string: extension (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;inlined group with class name Tc and value name tc (not all items optional): attribute tc (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;.value of type java.math.BigInteger with value name null: attribute tc (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN lang=EN&gt;No&amp;nbsp;source files are eventually generated. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN lang=EN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN lang=EN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/SPAN&gt;
&lt;DIV&gt;Based on limitations of codegen found on website, made sure &amp;lt;xs:any&amp;gt; is last in sequece and &amp;lt;xs:anyAttribute&amp;gt; does not exist&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Know that this is the first time we are&amp;nbsp;using jibx to gen real code after going thro' docs and running some samples. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;What&amp;nbsp;are we&amp;nbsp;missing? Help!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;C:\workspaces\CheckItOut\codegenjibx\jibx\dwcode2&amp;gt;java -cp .;..\lib\jibx-tools.j&lt;BR&gt;ar org.jibx.schema.codegen.CodeGen -t gen\src -w -v &lt;STRONG&gt;XTbML2.21.00.xsd&lt;/STRONG&gt;&lt;BR&gt;Output to directory gen\src&lt;BR&gt;Loaded and validated 1 specified schema(s):&lt;BR&gt;&amp;nbsp;top-level schema XTbML2.21.00.xsd&lt;BR&gt;Exception in thread &quot;main&quot; &lt;STRONG&gt;java.lang.NullPointerException&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.ClassHolder$DataNode.&amp;lt;init&amp;gt;(ClassHolder.java:&lt;BR&gt;815)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.StructureClassHolder.addToTree(StructureClass&lt;BR&gt;Holder.java:281)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.StructureClassHolder.addToTree(StructureClass&lt;BR&gt;Holder.java:214)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at
 org.jibx.schema.codegen.StructureClassHolder.buildDataStructure(Struc&lt;BR&gt;tureClassHolder.java:309)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.CodeGen.generate(CodeGen.java:1383)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1652)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;

&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339022&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Codegen-fails-with-NullPointerException-tp26338254p26339022.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26338254</id>
	<title>Codegen fails with NullPointerException</title>
	<published>2009-11-13T07:17:48Z</published>
	<updated>2009-11-13T07:17:48Z</updated>
	<author>
		<name>Whiz-2</name>
	</author>
	<content type="html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;&lt;DIV id=yiv450273310&gt;
&lt;DIV id=yiv1789026344&gt;
&lt;DIV id=yiv294126890&gt;Hi All,&lt;BR&gt;
&lt;DIV id=yiv1085577231&gt;
&lt;TABLE cellSpacing=0 cellPadding=0 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top&gt;
&lt;DIV id=yiv418463282&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;When attempting to generate code&amp;nbsp;from a xsd, I am &amp;nbsp;getting a NullPointerException as pasted&amp;nbsp;in the end below. Generated a debug jibx log, and it appears like it&amp;nbsp;logs almost til the end of the xsd&amp;nbsp;with just 2 more simpleType's left to go.&amp;nbsp;Zero source code files are generated.&lt;/DIV&gt;&lt;SPAN lang=EN&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;INFO codegen.CodeGen - After inlining and classification for complexType TRANS_SUBTYPE_CODES (XTbML2.21.00:674):&lt;/DIV&gt;
&lt;DIV&gt;definition with 1 references (inlining blocked), and class name TRANSSUBTYPECODES (not all items optional): complexType TRANS_SUBTYPE_CODES (XTbML2.21.00:674)&lt;/DIV&gt;
&lt;DIV&gt;inlined group with class name String and value name string (all items optional): extension (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;.value of type java.lang.String with value name string: extension (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;inlined group with class name Tc and value name tc (not all items optional): attribute tc (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;.value of type java.math.BigInteger with value name null: attribute tc (XTbML2.21.00:676)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN lang=EN&gt;No&amp;nbsp;source files are eventually generated. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN lang=EN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN lang=EN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/SPAN&gt;
&lt;DIV&gt;Based on limitations of codegen found on website, made sure &amp;lt;xs:any&amp;gt; is last in sequece and &amp;lt;xs:anyAttribute&amp;gt; does not exist&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Know that this is the first time we are&amp;nbsp;using jibx to gen real code after going thro' docs and running some samples. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;What&amp;nbsp;are we&amp;nbsp;missing? Help!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;C:\workspaces\CheckItOut\codegenjibx\jibx\dwcode2&amp;gt;java -cp .;..\lib\jibx-tools.j&lt;BR&gt;ar org.jibx.schema.codegen.CodeGen -t gen\src -w -v &lt;STRONG&gt;XTbML2.21.00.xsd&lt;/STRONG&gt;&lt;BR&gt;Output to directory gen\src&lt;BR&gt;Loaded and validated 1 specified schema(s):&lt;BR&gt;&amp;nbsp;top-level schema XTbML2.21.00.xsd&lt;BR&gt;Exception in thread &quot;main&quot; &lt;STRONG&gt;java.lang.NullPointerException&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.ClassHolder$DataNode.&amp;lt;init&amp;gt;(ClassHolder.java:&lt;BR&gt;815)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.StructureClassHolder.addToTree(StructureClass&lt;BR&gt;Holder.java:281)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.StructureClassHolder.addToTree(StructureClass&lt;BR&gt;Holder.java:214)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at
 org.jibx.schema.codegen.StructureClassHolder.buildDataStructure(Struc&lt;BR&gt;tureClassHolder.java:309)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.CodeGen.generate(CodeGen.java:1383)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1652)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;

&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26338254&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Codegen-fails-with-NullPointerException-tp26338254p26338254.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323536</id>
	<title>[jira] Created: (JIBX-346) String conversion support is incomplete - add a new serializer/deserializer that handles all characters</title>
	<published>2009-11-12T10:09:56Z</published>
	<updated>2009-11-12T10:09:56Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">String conversion support is incomplete - add a new serializer/deserializer that handles all characters
&lt;br&gt;-------------------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JIBX-346
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JIBX-346&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JIBX-346&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JiBX
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: core
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JiBX 1.2.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Archie Cobbs
&lt;br&gt;&lt;br&gt;&lt;br&gt;There are some valid Java strings that JiBX fails to encode. For example any string containing {{\u0000}}:
&lt;br&gt;&lt;br&gt;{noformat}
&lt;br&gt;&amp;nbsp; java.lang.RuntimeException: java.io.IOException: Illegal character code 0x0 in content text
&lt;br&gt;{noformat}
&lt;br&gt;&lt;br&gt;JIBX-149 reports this problem but is resolved &amp;quot;won't fix&amp;quot; because &amp;quot;XML doesn't support those characters&amp;quot;.
&lt;br&gt;&lt;br&gt;I would respectfully argue that this response completely misses the point and lacks imagination. By the same logic, there should be no encoding for java.util.Date, because XML doesn't support direct encoding of java.util.Date. Yet we somehow find a way to encode it into a sequence of characters that XML will accept, right? Certainly we can do the same for java.lang.String!
&lt;br&gt;&lt;br&gt;The solution is to encode the java.lang.String in two steps: first, define an escape character (such as backslash) and use it to escape the original Java string into a new Java string that has all XML-invalid characters replaced by escapes of the form {{\uNNNN}}, etc. Second, encode that string into XML. When unmarshalling, do the reverse.
&lt;br&gt;&lt;br&gt;Of course, this is an incompatible change with existing code. Therefore, probably the right thing to do is to provide an alternate serializer/deserializer pair that properly handles *all* Java strings.
&lt;br&gt;&lt;br&gt;I didn't see mention of any existing such code on the web site, so here is the one that I wrote (along with a TestNG unit test). Feel free to steal these for use in JiBX if you want them:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://sidekar.googlecode.com/svn/trunk/src/java/org/dellroad/sidekar/xml/StringEncoder.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sidekar.googlecode.com/svn/trunk/src/java/org/dellroad/sidekar/xml/StringEncoder.java&lt;/a&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://sidekar.googlecode.com/svn/trunk/src/test/org/dellroad/sidekar/xml/StringEncoderTest.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sidekar.googlecode.com/svn/trunk/src/test/org/dellroad/sidekar/xml/StringEncoderTest.java&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-devs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323536&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-devs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-devs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-devs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-devs-f4286.html&quot; embed=&quot;fixTarget[4286]&quot; target=&quot;_top&quot; &gt;jibx-devs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JIBX-346%29-String-conversion-support-is-incomplete---add-a-new-serializer-deserializer-that-handles-all-characters-tp26323536p26323536.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26313024</id>
	<title>Re: Enumeration Code generation Issue</title>
	<published>2009-11-11T19:48:42Z</published>
	<updated>2009-11-11T19:48:42Z</updated>
	<author>
		<name>anshuk_geronimo</name>
	</author>
	<content type="html">Helo Dennis,
&lt;br&gt;&lt;br&gt;Dou you think that I should put this as a jira bug ?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Anshuk Pal Chaudhuri
&lt;br&gt;Infosys Technologies Ltd.
&lt;br&gt;________________________________________
&lt;br&gt;From: Anshuk Pal Chaudhuri
&lt;br&gt;Sent: Tuesday, November 03, 2009 4:41 AM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313024&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dms@...&lt;/a&gt;
&lt;br&gt;Subject: FW: Enumeration Code generation Issue
&lt;br&gt;&lt;br&gt;Hello Dennis,
&lt;br&gt;&lt;br&gt;Any pointers for the below mentioned issue.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Anshuk Pal Chaudhuri
&lt;br&gt;________________________________________
&lt;br&gt;From: Anshuk Pal Chaudhuri [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313024&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Anshuk_Chaudhuri@...&lt;/a&gt;]
&lt;br&gt;Sent: Monday, November 02, 2009 9:26 PM
&lt;br&gt;To: JiBX users
&lt;br&gt;Subject: Re: [jibx-users] Enumeration Code generation Issue
&lt;br&gt;&lt;br&gt;Did anybody find any workaround for the below mentioned piece. I am still stuck with the same.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Anshuk Pal Chaudhuri
&lt;br&gt;________________________________________
&lt;br&gt;From: Anshuk Pal Chaudhuri [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313024&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Anshuk_Chaudhuri@...&lt;/a&gt;]
&lt;br&gt;Sent: Thursday, October 29, 2009 8:22 PM
&lt;br&gt;To: JiBX users
&lt;br&gt;Subject: [jibx-users] Enumeration Code generation Issue
&lt;br&gt;&lt;br&gt;Hello All,
&lt;br&gt;&lt;br&gt;I am using the jibx 1.2.1 for code generation from xml schema. There are two different simple types defined for which the enumeration is also there. When I am generating the code, one enum class is generating completely fine, with the toString and convert and all the relevant enum values.
&lt;br&gt;The other enum class is generated but with no values/convert &amp; tostring methods.
&lt;br&gt;&lt;br&gt;Has anyone faced a similar issue like this earlier.
&lt;br&gt;Please let me know for any workarounds.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Anshuk Pal Chaudhuri
&lt;br&gt;**************** CAUTION - Disclaimer *****************
&lt;br&gt;This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
&lt;br&gt;for the use of the addressee(s). If you are not the intended recipient, please
&lt;br&gt;notify the sender by e-mail and delete the original message. Further, you are not
&lt;br&gt;to copy, disclose, or distribute this e-mail or its contents to any other person and
&lt;br&gt;any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
&lt;br&gt;every reasonable precaution to minimize this risk, but is not liable for any damage
&lt;br&gt;you may sustain as a result of any virus in this e-mail. You should carry out your
&lt;br&gt;own virus checks before opening the e-mail or attachment. Infosys reserves the
&lt;br&gt;right to monitor and review the content of all messages sent to or from this e-mail
&lt;br&gt;address. Messages sent to or from this e-mail address may be stored on the
&lt;br&gt;Infosys e-mail system.
&lt;br&gt;***INFOSYS******** End of Disclaimer ********INFOSYS***
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313024&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313024&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313024&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Enumeration-Code-generation-Issue-tp26114620p26313024.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26308821</id>
	<title>Re: deploy wsdl and get to it from webapp</title>
	<published>2009-11-11T13:08:45Z</published>
	<updated>2009-11-11T13:08:45Z</updated>
	<author>
		<name>jmpgate-tech</name>
	</author>
	<content type="html">Returned to work today, only to find there's been meeting with customer and &amp;nbsp;solution to problem has changed. &amp;nbsp;The client piece (that needed the wsdl in the first place) has disappeared. &amp;nbsp;Hence, I believe I no longer care about lack of wsdl from web service. &amp;nbsp;(Ready, fire, aim) 
&lt;br&gt;&lt;br&gt;Nigel, I'm sorry to have exercised you in this matter.
&lt;br&gt;&lt;br&gt;James
&lt;br&gt;&lt;br&gt;PS
&lt;br&gt;&amp;gt; I was meaning dynamic generation of WSDL by JiBX/WS (basically building jibx2wsdl into JiBX/WS)
&lt;br&gt;FYI, I like your generation of wsdl at runtime over my streaming content of static wsdl file idea. &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308821&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-deploy-wsdl-and-get-to-it-from-webapp-tp26308821p26308821.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26301933</id>
	<title>[jira] Created: (JIBX-345) Add a command line parameter for CodeGen that tells it to effectively include every schema you tell it to generate in every other schema</title>
	<published>2009-11-11T05:45:55Z</published>
	<updated>2009-11-11T05:45:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Add a command line parameter for CodeGen that tells it to effectively include every schema you tell it to generate in every other schema 
&lt;br&gt;-----------------------------------------------------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JIBX-345
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/JIBX-345&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/JIBX-345&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JiBX
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: New Feature
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: CodeGen
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JiBX 1.2.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Todd Gould
&lt;br&gt;&lt;br&gt;&lt;br&gt;Please add a command line parameter to CodeGen to handle the issue in the following thread so that 3rd party provided schemas can be compiled without modification.
&lt;br&gt;&lt;br&gt;----
&lt;br&gt;&lt;br&gt;&lt;br&gt;The schema recommendation is very loose on how things fit together, and 
&lt;br&gt;doesn't require that definitions be &amp;quot;visible&amp;quot; from the point of use. But 
&lt;br&gt;CodeGen was constructed based on the assumption that the definitions 
&lt;br&gt;would be available from &amp;lt;xsd:include&amp;gt; or &amp;lt;xsd:import&amp;gt;, which makes it 
&lt;br&gt;difficult to handle this type of case.
&lt;br&gt;&lt;br&gt;It should be possible to add a command line parameter for CodeGen that 
&lt;br&gt;tells it to effectively include every schema you tell it to generate in 
&lt;br&gt;every other schema, so that as long as you generate all these schemas at 
&lt;br&gt;the same time it'll find all the definitions. If you add a Jira 
&lt;br&gt;improvement request for this I'll try to add the feature, though 
&lt;br&gt;probably not in time for 1.2.2.
&lt;br&gt;&lt;br&gt;&amp;nbsp; - Dennis
&lt;br&gt;&lt;br&gt;Dennis M. Sosnoski
&lt;br&gt;XML and Web Services in Java
&lt;br&gt;Training and Consulting
&lt;br&gt;&lt;a href=&quot;http://www.sosnoski.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.com&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.sosnoski.co.nz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.co.nz&lt;/a&gt;&lt;br&gt;Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26301933&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The QB schemas use a lot of unqualified references (i.e. they 
&lt;br&gt;&amp;gt; do not define the includes for elements that are in the same 
&lt;br&gt;&amp;gt; default namespace). &amp;nbsp;For example the qbxmlops70.xsd contains:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;xsd:element name=&amp;quot;SubscriberID&amp;quot; type=&amp;quot;GUIDTYPE&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This references the GUIDTYPE defined in qbxmltypes70.xsd as:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;xsd:element name=&amp;quot;SubscriberID&amp;quot; type=&amp;quot;GUIDTYPE&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Both xsd files are defined to be in the same default namespace,
&lt;br&gt;&amp;gt; xmlns:xsd=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema&lt;/a&gt;&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, the original files from QB do NOT include any 
&lt;br&gt;&amp;gt; xsd:include statements to make the above reference explicit. &amp;nbsp;
&lt;br&gt;&amp;gt; Unless I add the below &amp;lt;xsd:include&amp;gt; statements to explicitly 
&lt;br&gt;&amp;gt; define all of these references, then the codegen operation 
&lt;br&gt;&amp;gt; fails. &amp;nbsp;I needed to add:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;xsd:include schemaLocation=&amp;quot;qbxmltypes70.xsd&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;xsd:include schemaLocation=&amp;quot;qbxml70.xsd&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;xsd:include schemaLocation=&amp;quot;qbxmlso70.xsd&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When I compile the same schemas with XMLBeans, I do not need to 
&lt;br&gt;&amp;gt; add the &amp;lt;xsd:include&amp;gt; statements. &amp;nbsp;I understand that it 
&lt;br&gt;&amp;gt; is 'clearer' with them added, but these are Intuit provided 
&lt;br&gt;&amp;gt; schemas that I do not feel comfortable changing in any way.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Should this work (without the includes I manually added) in 
&lt;br&gt;&amp;gt; codegen as all are in the same namespace? If not, why does this 
&lt;br&gt;&amp;gt; work for other tools?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; TIA!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-devs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26301933&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-devs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-devs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-devs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-devs-f4286.html&quot; embed=&quot;fixTarget[4286]&quot; target=&quot;_top&quot; &gt;jibx-devs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JIBX-345%29-Add-a-command-line-parameter-for-CodeGen-that-tells-it-to-effectively-include-every-schema-you-tell-it-to-generate-in-every-other-schema-tp26301933p26301933.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26295918</id>
	<title>Re: What is the binding definition for a top level element containing the value?</title>
	<published>2009-11-10T20:27:42Z</published>
	<updated>2009-11-10T20:27:42Z</updated>
	<author>
		<name>DSosnoski</name>
	</author>
	<content type="html">Hi Erik,
&lt;br&gt;&lt;br&gt;The &amp;lt;mapping&amp;gt; element in a binding definition applies to a class as a 
&lt;br&gt;whole, so you can't use a field=&amp;quot;...&amp;quot; attribute directly on this 
&lt;br&gt;element. You'd instead need to use this type of binding:
&lt;br&gt;&lt;br&gt;&amp;lt;binding&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;namespace uri=&amp;quot;&lt;a href=&quot;http://www.fao.org/fi/domain/flattener&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.fao.org/fi/domain/flattener&lt;/a&gt;&amp;quot; 
&lt;br&gt;prefix=&amp;quot;fact&amp;quot; default=&amp;quot;elements&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mapping 
&lt;br&gt;class=&amp;quot;org.fao.figis.flattener.domain.service.Get3AlphaCodeRequest&amp;quot; 
&lt;br&gt;name=&amp;quot;Get3AlphaCodeRequest&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value field=&amp;quot;speciesID&amp;quot; style=&amp;quot;text&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;&amp;lt;/binding&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; - Dennis
&lt;br&gt;&lt;br&gt;Dennis M. Sosnoski
&lt;br&gt;XML and Web Services in Java
&lt;br&gt;Training and Consulting
&lt;br&gt;&lt;a href=&quot;http://www.sosnoski.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.com&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.sosnoski.co.nz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sosnoski.co.nz&lt;/a&gt;&lt;br&gt;Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;VanIngen, Erik (FIES) wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi mailinglist!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What is the binding definition for a top level element containing the 
&lt;br&gt;&amp;gt; value?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is the* xml* which I would like to marshall/unmarshall:
&lt;br&gt;&amp;gt; &amp;lt;?xml version=/&amp;quot;1.0&amp;quot;/ encoding=/&amp;quot;UTF-8&amp;quot;/?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;fact:Get3AlphaCodeRequest 
&lt;br&gt;&amp;gt; xmlns:fact=/&amp;quot;&lt;a href=&quot;http://www.fao.org/fi/domain/flattener&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.fao.org/fi/domain/flattener&lt;/a&gt;&amp;quot;/&amp;gt;fakeValue&amp;lt;/fact:Get3AlphaCodeRequest&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is my failing attempt for a* binding definition*:
&lt;br&gt;&amp;gt; &amp;lt;?xml version=/&amp;quot;1.0&amp;quot;/ encoding=/&amp;quot;UTF-8&amp;quot;/?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;binding&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;namespace uri=/&amp;quot;&lt;a href=&quot;http://www.fao.org/fi/domain/flattener&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.fao.org/fi/domain/flattener&lt;/a&gt;&amp;quot;/ 
&lt;br&gt;&amp;gt; prefix=/&amp;quot;fact&amp;quot;/ default=/&amp;quot;elements&amp;quot;/ /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mapping 
&lt;br&gt;&amp;gt; class=/&amp;quot;org.fao.figis.flattener.domain.service.Get3AlphaCodeRequest&amp;quot;/ 
&lt;br&gt;&amp;gt; style=/&amp;quot;element&amp;quot;/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name=/&amp;quot;Get3AlphaCodeRequest&amp;quot;/ field=/&amp;quot;speciesID&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/mapping&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/binding&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; jibx-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295918&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jibx-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295918&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jibx-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jibx-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jibx-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/jibx-users-f4287.html&quot; embed=&quot;fixTarget[4287]&quot; target=&quot;_top&quot; &gt;jibx-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-is-the-binding-definition-for-a-top-level-element-containing-the-value--tp26193954p26295918.html" />
</entry>

</feed>
