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

List:       jibx-users
Subject:    [jibx-users] Usage of bindgen for generating mappings with
From:       "Spieler, Frank (UIT)" <Frank.Spieler () union-investment ! de>
Date:       2010-04-29 11:31:56
Message-ID: 4FF8EE285EC121489607C6071461BD7C03D65B1E () UIDEFMM361V ! ude ! geno ! lan
[Download RAW message or body]

--===============8089104944398388975==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CAE78F.92C716EC"

This is a multi-part message in MIME format.


Hello everybody,

we trying to use the bindgen utility to generate the binding.xml and the
xsd from the classes. The problem is, that the utility always generates
xs:sequence elements for every mapping. Is there a way to customize the
generation and create xs:all elements instead of xs:sequence ? 

I tried the workaround to generate the binding and then set manual
ordered="false" in every mapping element. After a run of schemagen
everything is ok and it generated xs:all elements. 

Thanks for your help.

Greetings 
Frank Spieler

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Usage of bindgen for generating mappings with \
ordered=&quot;false&quot;</TITLE> </HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P DIR=LTR><SPAN LANG="de"><FONT FACE="Arial">Hello everybody,</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="de"></SPAN><SPAN LANG="en-us"><FONT FACE="Arial">we trying to \
use</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN LANG="en-us"><FONT FACE="Arial"> the \
bindgen utility to</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN LANG="en-us"> <FONT \
FACE="Arial">generate</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN LANG="en-us"><FONT \
FACE="Arial"> the binding.xml and the xsd from the classes. The problem is, that \
the</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN LANG="en-us"> <FONT \
FACE="Arial">utilit</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN LANG="en-us"><FONT \
FACE="Arial">y always generates xs:sequence elements for every</FONT></SPAN><SPAN \
LANG="de"></SPAN><SPAN LANG="en-us"><FONT FACE="Arial"> mapping. Is there a way to \
customize the generation and create xs:all elements instead of xs:sequence \
?</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN LANG="en-us"><FONT \
FACE="Arial"></FONT></SPAN><SPAN LANG="de"></SPAN><SPAN LANG="en-us"> </SPAN></P>

<P DIR=LTR><SPAN LANG="de"></SPAN><SPAN LANG="en-us"></SPAN></P>

<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Arial">I tried the workaround to generate \
the binding and then set manual ordered=</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN \
LANG="en-us"><FONT FACE="Arial">&#8221;</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN \
LANG="en-us"><FONT FACE="Arial">false</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN \
LANG="en-us"><FONT FACE="Arial">&#8221;</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN \
LANG="en-us"><FONT FACE="Arial"> in every mapping element. After a run of schemagen \
everything is ok and it generated xs:all elements.</FONT></SPAN><SPAN \
LANG="de"></SPAN><SPAN LANG="en-us"> </SPAN></P>

<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Arial">Thanks for your \
help.</FONT></SPAN><SPAN LANG="de"></SPAN><SPAN LANG="en-us"></SPAN></P>

<P DIR=LTR><SPAN LANG="de"></SPAN><SPAN LANG="en-us"></SPAN></P>

<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Arial">Greetings </FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Arial">Frank Spieler</FONT></SPAN><SPAN \
LANG="de"></SPAN><SPAN LANG="en-us"></SPAN></P>

</BODY>
</HTML>


[Attachment #4 (--===============8089104944398388975==)]
------------------------------------------------------------------------------


_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


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

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