Re: [jibx-users] Recommended JIBX issue policy

2024-05-09 Thread Archie Cobbs
Hi Daniel, On Wed, May 8, 2024 at 10:35 AM Daniel Krügler via jibx-users < jibx-users@lists.sourceforge.net> wrote: > Is this the right approach? > That is the right approach - and the same one I used to fix the same problem with plain text (my apologies for missing the attribute version of the

[jibx-users] Recommended JIBX issue policy

2024-05-08 Thread Daniel Krügler via jibx-users
Hi all! We use since years successfully JIBX to marshall and unmarshall XML documents. We recently observed an issue with characters in XML attributes from the Unicode supplementary plane. I naively opened a corresponding github issue in the affected jibx/core project,

[jibx-users] CodeGen able to generate read-only Java interface

2023-07-29 Thread Vjeran Marcinko
Hi, I'm having a situation where I want to expose some XML data defined using complex XSD as Java interface, but this is supposed to be a read-only piece of data, so I would prefer it to be exposed as a read-only Java interface or class. Is it possible to generate such read-only Java interface or

[jibx-users] JiBX 1.4.2 Released

2022-09-08 Thread Don Corley
JiBX 1.4.2 has been released. This release includes the following changes: 1. ant updated to remove vulnerability. 2. Fix handling of special characters You can find the release file here: https://sourceforge.net/projects/jibx/files/ Maven artifacts are available in maven central. You can find

[jibx-users] JiBX 1.4.1 Released

2022-08-13 Thread Don Corley
JiBX 1.4.1 has been released. This release includes the following changes: 1. Dependencies updated, such as joda-time. 2. log4j updated to 2.18.0 to remove vulnerability warning. You can find the release file here: https://sourceforge.net/projects/jibx/files/ Maven artifacts are available in

Re: [jibx-users] Jibx 1.3.3 binding compliler with JDK 1.8 generating classes in single package

2022-04-01 Thread Archie Cobbs
Hi Dickson, On Fri, Apr 1, 2022 at 4:24 PM Dickson Rodrigues < rodrigues.dick...@gmail.com> wrote: > However when I introduced a second bindings file with a separate package > mentioned in both bindings.xml files. The access classes for both bindings > are generated in the package mentioned in

Re: [jibx-users] Jibx 1.3.3 binding compliler with JDK 1.8 generating classes in single package

2022-04-01 Thread Dickson Rodrigues
Hi Archie, For a single binding file it works fine, JIBX_*.access class file is generated in the package mentioned in the bindings.xml file. However when I introduced a second bindings file with a separate package mentioned in both bindings.xml files. The access classes for both bindings are

Re: [jibx-users] Jibx 1.3.3 binding compliler with JDK 1.8 generating classes in single package

2022-04-01 Thread Archie Cobbs
Hi Dickson, On Fri, Apr 1, 2022 at 1:51 PM Dickson Rodrigues < rodrigues.dick...@gmail.com> wrote: > Will you please take a look at the attached project and see why we get the > access files generated in the billing package? I am using ant 1.9.14 and > running it on mac. > Hang on - the

Re: [jibx-users] Jibx 1.3.3 binding compliler with JDK 1.8 generating classes in single package

2022-04-01 Thread Archie Cobbs
Hi Dickson, Happy to help. Of course now I'm curious what the key difference is... keep us posted. -Archie On Fri, Apr 1, 2022 at 11:08 AM Dickson Rodrigues < rodrigues.dick...@gmail.com> wrote: > Hi Archie, > > Thanks a lot for your response and spending time on this. > > I created a new

Re: [jibx-users] Jibx 1.3.3 binding compliler with JDK 1.8 generating classes in single package

2022-04-01 Thread Dickson Rodrigues
Hi Archie, Thanks a lot for your response and spending time on this. I created a new sample project just like you did and it worked for me as well. However when I try the same configuration in my project it doesn't seem to work. I will continue to debug and keep you posted on how it goes.

Re: [jibx-users] Jibx 1.3.3 binding compliler with JDK 1.8 generating classes in single package

2022-03-31 Thread Archie Cobbs
Not sure why but I was unable to reproduce your issue using a slightly modified version of your files. Here's a shell script trace: $ tree . ├── binding.xml ├── build.xml ├── lib │ ├── jibx-bind-1.3.3.jar │ └── jibx-run-1.3.3.jar └── src └── java └── com └── blahblah

Re: [jibx-users] Jibx 1.3.3 binding compliler with JDK 1.8 generating classes in single package

2022-03-31 Thread Dickson Rodrigues
Hi Archie, Thanks for responding. Please see the details below, Build.xml Jars included - ant-1.8.4.jar ant-launcher-1.8.4.jar bcel-6.4.1.jar jibx-bind-1.3.3.jar jibx-run-1.3.3.jar joda-time-2.10.5.jar xpp3-1.1.3.4.O.jar jibx-extras-1.3.3.jar Removed the old jibx jars

Re: [jibx-users] Jibx 1.3.3 binding compliler with JDK 1.8 generating classes in single package

2022-03-31 Thread Archie Cobbs
Can you create and post a *minimal* test case Maven project demonstrating the problem? On Thu, Mar 31, 2022 at 10:35 AM Dickson Rodrigues < rodrigues.dick...@gmail.com> wrote: > Hi, > > I am facing the same issue as few others who have reported those here. >

[jibx-users] Jibx 1.3.3 binding compliler with JDK 1.8 generating classes in single package

2022-03-31 Thread Dickson Rodrigues
Hi, I am facing the same issue as few others who have reported those here. https://sourceforge.net/p/jibx/mailman/message/35070901/ and https://sourceforge.net/p/jibx/mailman/message/35115289/ I have added the dependency jars, updated the classpath to include those jars. I have tried giving the

[jibx-users] java.lang.IllegalAccessError after upgrade to java 8 and Jibx 1.3.3 (from 1.2.1)

2022-02-25 Thread Medan Gavril via jibx-users
Hi community , We upgraded our project to java 8 and encountered several errors related to jibx.  First we  got: Causedby: java.lang.VerifyError: Expecting a stackmap frame at branch target 12 ExceptionDetails:  Location:    

[jibx-users] log4j vulnerability does not apply to JiBX

2022-02-15 Thread Don Corley
Sujatha, The log4j vulnerability only applies to Log4J versions 2.x. JiBX uses Log4J 1.2.17, so you are okay. Cheers, Don Corley ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users

[jibx-users] Log4J issue - vulnarability

2022-02-04 Thread Sujatha Kotte
Hi Team, Can someone pls tell me if there is any updated version of jibx with new log4j changes. I tried to get the latest jibx tools code and made the changes as per log4j2 and made it as jar using ANT. When I am using this jar, but getting the following exception, echo] Running Jibx2Wsdl tool

[jibx-users] Jibx : Ignoring unknown elements within an unordered group on a soap response

2021-01-22 Thread Karoui nessrine
Hello, I want to ignore the unknown elements I receive from the response of api soap. So I added these attributes flexible = true and odred = false in the binding file on the mapping of the element. Extract from the binding file : When i try to unmarshal the

[jibx-users] java.lang.VerifyError: Expecting a stackmap frame and Error: Conflicting element namespaces;

2020-09-08 Thread SriRam
Hi Team, We are migrating our application jdk version from jdk 1.6 to jdk1.8 and we are using jibx 1.2.2 in our application. But Jibx compilation failed with below error, [bind] Running binding compiler version jibx_1_2_2 [bind] Error running binding compiler [bind]

[jibx-users] aixs2 to jibx client run time error No mapping defined for element

2020-08-08 Thread suresh mani
Hello Dennis, My current project using axis2 to XMLBeans binding, so we were trying to integrate axis2 jibx binding I have used jibx CodeGen to generate the objects & the binding file from the schema, then trying to generate stub class using org.apache.axis2.wsdl.WSDL2Java -uri Service.wsdl -d

Re: [jibx-users] jibx-users Digest, Vol 111, Issue 1

2020-03-22 Thread Don Corley
Sridhar, Thanks for your bug report. I've entered a new issue in github: https://github.com/jibx/jibx/issues/14 Active maintenance of JiBX is on hold. If you would like to create a pull request, I can assess the code. Remember, dom4j is only a compile-time dependency. dom4j does not need to be

[jibx-users] Need to update dom4j in JIBX

2020-03-19 Thread Sridhar Kumar
Hello, I am a new user of JIBX plugin. Thank you much for the great plugin. Currently I am using jibx-extras version 1.3.3 as dependency. I see that there is a compile dependency on dom4j:jar:1.6.1 from JIBX side. Same dom4j version is listed in dependencies page as well.

Re: [jibx-users] JiBX 1.3.3

2020-01-27 Thread Archie Cobbs
Hi Don, Just wanted to say thank you! I'm still using JiBX in several projects and it continues to work beautifully for my purposes. Glad it's going to continue to be usable for a long time. -Archie On Mon, Jan 27, 2020 at 10:09 AM Don Corley wrote: > JiBX 1.3.3 has been released. > > This

[jibx-users] JiBX 1.3.3

2020-01-27 Thread Don Corley
JiBX 1.3.3 has been released. This release includes the following changes: 1. Dependencies updated, such as joda-time and BCEL. 2. maven-jibx-plugin has been renamed to jibx-maven-plugin to comply with plugin naming rules. 3. Compatibility with Java 6, 7, 8, 9, 10, 11, 12, and 13+. You can find

Re: [jibx-users] JIBX marshalling truncating namespaces intermittently

2018-04-27 Thread Archie Cobbs
I've never encountered any problem like that with JiBX. My guess is that there is some buffering bug in a lower layer of your I/O pipeline. -Archie On Fri, Apr 27, 2018 at 1:46 PM, Vadheraju, Rajeshwar wrote: > When we do marshalling of object into XML, the

[jibx-users] JIBX marshalling truncating namespaces intermittently

2018-04-27 Thread Vadheraju, Rajeshwar
When we do marshalling of object into XML, the name spaces are being truncated intermittently. We could not reproduce the issue consistently all the time but it is happening pretty much every day in the production. And the issue goes away when we recycle JVMs. We checked code and there is

Re: [jibx-users] Java 9

2018-03-30 Thread Frank Mena
Sadly, after using Jibx since 2004, I have finally given up on it. Even though Jibx itself works with Java 8, The Eclipse plugin does not work and has not been updated in quite awhile. I’ve asked a couple of times about this and have gotten responses about it, but nothing has ben done. We have

[jibx-users] Java 9

2018-03-29 Thread Pexer via jibx-users
Is JIBX a dead project?  I have not seen any development on it for over a year.  I am asking because we use JIBX and are looking to upgrade to Java 9.  JIBX is preventing us from doing so.  If there are plans, awesome!  What is the schedule?  If JIBX is going by the way side; it would be good

[jibx-users] Java 9

2018-02-19 Thread Eric Helfrich
I was wondering if there were any plans to port jibx to java 9 (asking for a friend). -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

[jibx-users] Error while calling https Webservice

2017-05-15 Thread Mahendra Patel
I am getting below error while calling Webservice over Https at java.io.FilterInputStream.read(FilterInputStream.java:127) at org.jibx.ws.io.CopiedInputStream.read(CopiedInputStream.java:68) at org.jibx.runtime.impl.InByteBuffer.fillBuffer(InByteBuffer.java:112)

Re: [jibx-users] JiBX 1.3.1 released

2016-12-28 Thread Frank Mena
Are you going to release the Eclipse plugin for 1.3.1? The current one does not work for 1.3.1, nor does it work on Eclipse Neon 2. Thank you, Frank Mena On Sat, Nov 26, 2016 at 3:58 AM, Don Corley wrote: > JiBX 1.3.1 has been released. > > Thanks to the new BCEL release,

[jibx-users] JiBX 1.3.1 released

2016-11-26 Thread Don Corley
JiBX 1.3.1 has been released. Thanks to the new BCEL release, JiBX is now compatible with JDK 1.6, 1.7, and 1.8. You can find the jar file here: https://sourceforge.net/projects/jibx/files/jibx/jibx-1.3.1/jibx_1_3_1.zip/download The maven artifacts are available in maven central. You can find

[jibx-users] JiBX 1.3.0-SNAPSHOT released

2016-11-08 Thread Don Corley
JiBX 1.3.0-SNAPSHOT has been released. Thanks to the new BCEL release, JiBX is now compatible with JDK 1.6, 1.7, and 1.8. You can find the jar file here: https://sourceforge.net/projects/jibx/files/jibx/jibx-1.3.0-SNAPSHOT/jibx_1_3_0_SNAPSHOT.zip The snapshot is in the maven central snapshot

Re: [jibx-users] java.lang.IllegalStateException: Error loading class java.lang.CharSequence

2016-06-07 Thread Bhowmik, Bindul
Varun, Short answer BECL 5.x is not compatible with Java 1.8 class file structure. See the BCEL website or the Apache Commons development mailing list archives for more details. Bindul On Tue, Jun 7, 2016 at 9:36 PM, Varun Bhat wrote: > Hello, > > I am migrating my

[jibx-users] JiBX Binding 1.2.6 generated JiBX*_access classes are put into the same package as the first binding file processed

2016-05-25 Thread Alex Pang
Hi, it seems I'm running into the same problem that Edgar Avila had in https://sourceforge.net/p/jibx/mailman/message/35070901/ I'm using jibx-bind-1.2.6 - tested with the gradle jibx plugin with JDK8 (I modified it to use 1.2.6 and BCEL-6.0-SNAPSHOT) and the maven jibx plugin with JDK 7. I have

Re: [jibx-users] Jibx 1.2.5 binding compiler with JAVA 7 pushes all generated code in a single package

2016-05-07 Thread Archie Cobbs
I've never seen that problem. And you are specifying the package in your binding files like this? ... FYI version 1.2.6 is the latest. -Archie On Sat, May 7, 2016 at 10:43 AM, Avila, Edgar wrote: > Hi, , I have not been able to find information out there

[jibx-users] Jibx 1.2.5 binding compiler with JAVA 7 pushes all generated code in a single package

2016-05-07 Thread Avila, Edgar
Hi, , I have not been able to find information out there on the web nor other means to determine whether there is a fix or work around for an issue my team ran into when running JiBX binding compiler version 1.2.5 and Java 7. The issue is as follows. When JiBX binding compiler is run with JAVA

Re: [jibx-users] Issues faced in running compile-bind on jibx source code using jdk1.8

2016-03-02 Thread Varun Bhat
a very gentle reminder please On Wed, Feb 24, 2016 at 6:38 PM, Varun Bhat wrote: > hi, > > I am facing issues in running "ant compile-bind" command using jdk 1.8 and > ant 1.6.1 and i am getting below error: > > [java] Error running binding compiler > [java]

[jibx-users] Issue with compiler version used to generate jibx*.class files

2016-02-23 Thread Varun Bhat
Hello, I was trying to run sample bindgen application in “jibx1.2.6.zip” file I downloaded from sourceforge website. I built jibx source code using jdk1.6 which generated jibx-bind.jar, jibx-run.jar, jibx-tools.jar, jibx-schema.jar. Using these jar files I executed bindgen example using

Re: [jibx-users] org.jibx.runtime.JiBXException: Duplicate element "{http://www.pcats.org/schema/naxml/loyalty/v01}Promotion"(line 1, col 1059)

2016-02-10 Thread Archie Cobbs
You have: wrapper, but your XML has them "inline" with no wrapper. Try removing name="Promotion" from the collection? -Archie On Wed, Feb 10, 2016 at 1:12 AM, PS Govind wrote: > Could anyone please assist me in resolving the Duplicate element error? > Any help would

[jibx-users] org.jibx.runtime.JiBXException: Duplicate element "{http://www.pcats.org/schema/naxml/loyalty/v01}Promotion"(line 1, col 1059)

2016-02-09 Thread PS Govind
Could anyone please assist me in resolving the Duplicate element error? Any help would be greatly appreciated... XMLhttp://www.naxml.org/POSBO/Vocabulary/2003-10-16; xmlns:ns4="http://www.pcats.org/schema/core/v01; xmlns:ns3="http://www.pcats.org/schema/naxml/loyalty/v01;>

[jibx-users] Binding.xml is unusable because of validation errors - JIBX 1.2.5 version

2016-01-18 Thread Ravi Kumar Polani, HCL-Industry Solutions
Hi Team, I am new to Jibx and I am facing problem during migration project from WAS 7 to WAS 8.5.5.4, where java VERSION is upgraded from IBM Java 1.6 to IBM Java 1.7 Requirement: To Generate Globalfiles.jar, in which we require to generate JiBX_binding_access.class files using jibx.jar.

[jibx-users] Not to include namespace prefix for few fields

2016-01-06 Thread PS Govind
How can I change the binding definition so that it doesn't add name space prefix for a few fields? XML http://www.pcats.org/schema/naxml/loyalty/v01; xmlns:ns2="http://www.naxml.org/POSBO/Vocabulary/2003-10-16; xmlns:ns4="http://www.pcats.org/schema/core/v01; >

Re: [jibx-users] org.jibx.runtime.JiBXException: Duplicate element error

2015-12-03 Thread PS Govind
The original schema is very complex (include many other schemas) and I only need to process a few elements from it. That is why I tried the structure approach. Why was I getting the Duplicate element error in my original approach? What does the "No way to load prior value - new instance will

Re: [jibx-users] org.jibx.runtime.JiBXException: Duplicate element error

2015-12-03 Thread Bhowmik, Bindul
Govind, In the mapping you have pasted, I don't see a ns3:Description format element defined, so where are you referring it from. Also, I am not sure you can use ':' in the format label (have never used it myself). Regards, Bindul On Thu, Dec 3, 2015 at 6:56 AM, PS Govind

Re: [jibx-users] org.jibx.runtime.JiBXException: Duplicate element error

2015-12-02 Thread Bhowmik, Bindul
Govind, Have you looked at using the mapping element (see [1] and [2]), rather than relying on alone? Regards, Bindul [1] http://jibx.sourceforge.net/binding/tutorial/binding-collects.html [2] http://jibx.sourceforge.net/binding/collection-element.html Bindul Bhowmik On Tue, Dec 1, 2015 at

Re: [jibx-users] How to solve org.jibx.runtime.JiBXException: No unmarshaller for element error

2015-12-01 Thread PS Govind
I have changed the binding like this and it is working now... http://www.pcats.org/schema/naxml/loyalty/v01; class="org.pcats.schema.naxml.loyalty.v01.LoyaltyOnlineStatusRequest" flexible="true" ordered="false">

[jibx-users] org.jibx.runtime.JiBXException: Duplicate element error

2015-12-01 Thread PS Govind
I am getting org.jibx.runtime.JiBXException: Duplicate element "{http://www.pcats.org/schema/naxml/loyalty/v01}TransactionLine; when trying to load this xml into java. I see the set-method="addTransactionLine" method being called for the first TransactionLine element. How can I resolve this

Re: [jibx-users] serialization of choice containing int, long so on

2015-11-25 Thread Sven Krause
Hi there, any ideas for the issue? Should I file a bug? Or should I attach a POC source package? Cheers, Sven > Hi, > > I've generated data classes based on a predefined xsd. One of the > types defines a choice of various base types. So far so good. But If > the data type is a atomar java data

[jibx-users] Package name and binding copiler issue

2015-11-25 Thread Arian Mohlmann
Hi All, Does anyone have a solution regarding package names and root element directly referring to a type? I use a set of schema 's downloaded from http://www.shortseaxml.org/SiteAssets/SitePages/Booking/Booking.zip Which is a set of xsd's to exechange booking information for Ferry

Re: [jibx-users] jibx-users Digest, Vol 98, Issue 2

2015-11-24 Thread Eric Helfrich
Thought you might be able to use this at your new job. On Nov 24, 2015 2:27 PM, wrote: > Send jibx-users mailing list submissions to > jibx-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit >

[jibx-users] How to solve org.jibx.runtime.JiBXException: No unmarshaller for element error

2015-11-24 Thread PS Govind
Hi, I am getting "org.jibx.runtime.JiBXException: No unmarshaller for element" error when trying unmarshel the xml file given below. The input xml file, binding definition, Java source and unmarshelling code are given below. Any help will be truly appreciated... org.jibx.runtime.JiBXException:

Re: [jibx-users] How to solve org.jibx.runtime.JiBXException: No unmarshaller for element error

2015-11-24 Thread Bhowmik, Bindul
Hello, I do not believe your name mapping is correct. As per JiBX documentation [1]; the /@name attribute should be the local (unqualified) name of the element or attribute. If you need to add a namespace, you need to use the /@ns attribute. You cannot use prefixes in your mapping outside the

[jibx-users] JiBX and Java 8

2015-11-11 Thread Don Corley
Archie, We're ready to go with the Java 8 compatible version of JiBX. I'll we need is the BCEL 6.0 release. We can't release a version of JiBX that has a dependency on a RC version. Thanks, Don > > FYI, > > A co-worker has tried JiBX with the latest BCEL release (BCEL_6_0_RC4) and > claims

Re: [jibx-users] JiBX and Java 8

2015-11-11 Thread Archie Cobbs
Hi Don, Understood. In the meantime, we've been using JiBX 1.2.6 successfully with BCEL 6.0-20150726.24-123. Presumably once BCEL 6.0 is actually released it will work also. Here's the Ivy RoundUp details:

[jibx-users] serialization of choice containing int, long so on

2015-11-11 Thread Sven Krause
Hi, I've generated data classes based on a predefined xsd. One of the types defines a choice of various base types. So far so good. But If the data type is a atomar java data type (int, long, byte etc) and the value is '0', the xml element created while serialization remains empty. instead of 0

Re: [jibx-users] JiBX 1.2.6 released

2015-09-03 Thread Archie Cobbs
FYI, A co-worker has tried JiBX with the latest BCEL release (BCEL_6_0_RC4) and claims that this combination works on Java 8. I have not tried this myself yet. I'd be interested to hear others' experiences if you do. -Archie On Fri, Mar 27, 2015 at 9:40 AM, Archie Cobbs

[jibx-users] JiBx code-gen tool creating class for List type.

2015-07-29 Thread Siva
Hi - The problem I am seeing is, JiBx code gen tool creates a class to hold list. For example if we have xsd with sequence of items, for Fruits, it creates FruitList.java class and inside it will create a property ListString fruits, and then supplies FruitList as property in the parent object.

[jibx-users] Referring to an xsd in a jar via import

2015-07-29 Thread Giriraj Bhojak
Hello, I have seen couple of posts in this forum where folks had issues doing xsd import for an xsd in a jar file. I went through the base-binding-test on github. In those examples, the xsd imports had the schema locations pointed to a web URL, meaning the xsds are available over the internet. I

Re: [jibx-users] Sourceforge is still down

2015-07-22 Thread Martin Hermosilla
Github? using the wiki On Jul 21, 2015, at 9:27 AM, Don Corley d...@donandann.com wrote: JiBX users, You may have noticed that jibx.org http://jibx.org/ has been down for almost a week. Don't worry, everything is fine with the JiBX project. Sourceforge's site hosting service crashed

[jibx-users] pls unsubscribe as there are more not of much use mails rather rthan problem solving

2015-07-22 Thread Vaibhav Avadhani
Regards, Vaibhav Avadhani 1001-1002| Unique Towers | 10th Floor | Behind SRL Diagnostic, Near Patel Petrol Pump |SV Road |Goregoan- West | Mumbai -400062 http://www.jrtechnologies.com/ www.jrtechnologies.com

Re: [jibx-users] Sourceforge is still down

2015-07-22 Thread Nigel Charman
+1 for Github We recently ported the concordion.org domain to Github Pages, and everything transferred across smoothly. We started with just the plain HTML and are slowly moving to using some Jekyll features for templating. It's useful to be able to have people fork the website and submit

[jibx-users] Sourceforge is still down

2015-07-21 Thread Don Corley
JiBX users, You may have noticed that jibx.org has been down for almost a week. Don't worry, everything is fine with the JiBX project. Sourceforge's site hosting service crashed and they can't seem to get it going again. Any ideas where we can move our site? Thanks for your patience, Don

Re: [jibx-users] Sourceforge is still down

2015-07-21 Thread Thomas Jones-Low
On 7/21/2015 9:27 AM, Don Corley wrote: JiBX users, You may have noticed that jibx.org http://jibx.org has been down for almost a week. Don't worry, everything is fine with the JiBX project. Sourceforge's site hosting service crashed and they can't seem to get it going again. Any ideas

[jibx-users] xsd in jar?

2015-06-19 Thread Marvin Wolfthal
Is there a way to reference an XSD in a jar when generating code? Marvin Wolfthal email: m...@weichi.com -- ___ jibx-users mailing list jibx-users@lists.sourceforge.net

Re: [jibx-users] bug

2015-06-07 Thread Marvin Wolfthal
Excuse my idiocy, of course you can't generate a package name with a Java keyword in it. Any idea why this would cause the maven plugin to fail code-gen? It doesn't like import. If I change it to impor it works. xmlns:exp= http://www.xyz.org/utils/dbsvn/config/schema/import

[jibx-users] fixed attributes

2015-06-05 Thread Marvin Wolfthal
When an attribute is declared as xs:attribute name=x fixed=y/ Shouldn't we get only the accessor: public String getX(){ return y; } ? Marvin Wolfthal email: m...@weichi.com --

[jibx-users] customize method names

2015-05-23 Thread Marvin Wolfthal
The following declaration xs:complexType name=Statement xs:simpleContent xs:extension base=xs:string xs:attribute name=name type=xs:string/ ... ... /xs:extension /xs:simpleContent /xs:complexType produces a class Statement where the

[jibx-users] custom mapping to Properties

2015-05-21 Thread Marvin Wolfthal
Given a name-value pair element: xs:complexType name=NVP xs:attribute name=name type=xs:string use=required/ xs:attribute name=value type=xs:string use=required/ /xs:complexType and a collection: xs:complexType name=Variables xs:sequence xs:element name=Variable

[jibx-users] Jibx binding with Java Generics

2015-05-10 Thread Mohamed Osman Elgamal
Dear all, I have the following java class structure: public abstract class RequestMessage MBC extends MessageBodyCore extends MessageRequestMessageHeader, RequestMessageBodyMBC { public RequestMessage() { this.setMessageHeader(new RequestMessageHeader());

[jibx-users] JiBX_bindingFactory / spring JiBX Marshaller

2015-04-02 Thread Martin Hermosilla
Hello Guys, I’m playing around with org.springframework.oxm.jibx.JibxMarshaller the thing is when I’m generating code from XSD files, the binding factory class file “JiBX_bindinFactory.class” is being created with empty package. I have different packages on the XSD let’s say:

Re: [jibx-users] JiBX 1.2.6 released

2015-03-27 Thread Archie Cobbs
Thanks Don. From that patch, it appears that no changes to JiBX 1.2.6 are needed. In other words, simply swapping in the newer BCEL 6.0 snapshot JAR makes it work with JDK 8. Is that correct? That seems to contradict the original poster's complaint: Using 1.2.6 + BCEL 6-SNAPSHOT, I was unable

Re: [jibx-users] Two classes have the same XML type name

2015-03-27 Thread Andrew Eross
Hi guys, I wanted to answer my own question here in case anyone else makes the same mistake. I was basically mixing up tutorials and at the time I didn't understand the real difference between JAXB and JiBX, and I was mistakenly trying to unmarshal data using JAXB with JiBX generated classes,

Re: [jibx-users] XSD Catalog or similar

2015-03-25 Thread Don Corley
Martin, Why don't you start by using one of our examples. There is a basic example in our repo at: https://github.com/jibx/maven-plugin/tree/master/test-suite/base-binding-test that shows how to share a schema binding with your other modules. I hope this helps. Don On Mon, Mar 23, 2015 at

[jibx-users] XSD Catalog or similar

2015-03-23 Thread Martin Hermosilla
Hi, It’s been frustrating trying to use JiBX on my project. I have the following configuration: Maven mutimodule project: parent-project +——model-projectThis project will have the common domain objects defined on XSD files +——message-project This project will contain the

Re: [jibx-users] XSD Catalog or similar

2015-03-23 Thread Martin Hermosilla
Update: Finally I was able to generate the java source code with the desired references to module-package using JiBX customizations and maven copy files. The only problem that now I am facing is that both modules model-project and message-project are generating the person object. Let's say

[jibx-users] Two classes have the same XML type name

2015-03-20 Thread Andrew Eross
Hi guys, I've been fighting with this error, and I've researched it on Google, but I can't really find a solution, and it's driving me a bit nuts. My XSD is attached. The CodeGen process using this XSD works just fine and generates the java classes, binding.xml, etc, no worries. I'm doing this

Re: [jibx-users] anyType and anySimpleType code generation

2015-03-01 Thread Vaibhav Avadhani
Thx for reply: After some struggle I found out that jibx does not directly support id and idref i.e it treats it as a string. But the xml contains a lot of these . Your founder agreed that the support for jibx is costly but the problems is that there is no proper example workaround to force

[jibx-users] anyType and anySimpleType code generation

2015-02-27 Thread James Cowan
Hi The Jibx XSD compiler converts an anySimpleType element into a Java String and it appears to ignore anyType elements. Is there any way in Jibx (e.g. via a customization) to change this behaviour - e.g. map anySimpleType to a Java object. James

Re: [jibx-users] JiBX 1.2.6 released

2015-01-07 Thread Steve Quirk
On Sun, 4 Jan 2015, Don Corley wrote: JiBX 1.2.6 has been released. We're excited about the recent work on the BCEL project. When the next version of BCEL is released, we will release a new JIBX version that will be compatible with JDK 8. Currently JiBX runtimes work fine with JDK 8,

[jibx-users] problem with codegen and UTF-8 characters

2015-01-06 Thread Christophe Robine
Hello, On a project, we are using xml schema files with UTF-8 encoding (special French characters inside). When generating java file from schema with Maven, the generated classes is not UTF-8 encoded, and can not be compiled. I've found JIBX-434 bugs, with is exactly the same problem. It

[jibx-users] JiBX 1.2.6 released

2015-01-04 Thread Don Corley
JiBX 1.2.6 has been released. This is a cleanup release. Some of the dependencies have been updated and the maven build configurations have been streamlined. We're excited about the recent work on the BCEL project. When the next version of BCEL is released, we will release a new JIBX version

Re: [jibx-users] JiBX 1.2.6 released

2015-01-04 Thread Ben McCann
Fantastic. Can't wait for the next BCEL release. I've sent a patch https://issues.apache.org/jira/browse/BCEL-186 to resolve the release blocking issue brought up in the last vote http://apache-commons.680414.n4.nabble.com/VOTE-Release-BCEL-6-0-based-on-RC3-td4667129.html . On Sun, Jan 4, 2015 at

[jibx-users] Unmarshalling attributes of child element to a collection

2014-08-29 Thread Bhowmik, Bindul
​Hello, ​ ​I am trying to use JiBX to parse a larger XML, which includes a structure similar to the ones noted below: Schema: xs:complexType name=Parent xs:sequence xs:element name=ChildElem maxOccurs=unbounded xs:complexType xs:attribute

Re: [jibx-users] Unmarshalling attributes of child element to a collection

2014-08-29 Thread Darin Clark
You might try something like collection create-type=”java.util.ArrayList” field=”childElems” structure name=”ChildElem”value name=”ChildElemValue” style=”attribute” type=”java.lang.String”//structure /collection That is, the collection has no name, in particular, but is composed of a bunch of

[jibx-users] issue using code gen with imported schemas

2014-07-11 Thread BURNS1
I get the following error when trying to generate code a xsd that has an import from a non local xsd. Any suggestions would be greatly appreciated.thanks ?xml version=1.0 encoding=UTF-8? xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:bf=

[jibx-users] Issue with xsd:unsignedByte

2014-06-03 Thread Vipul Bahuguna
Hi, I have an XSD which has a attribute like below - xsd:attribute name=field_id type=xsd:unsignedByte use=optional/ Now in my sample test.xml I have value of 151 or 155 for this attribute field_id. I have written the below piece of code to read the test.xml and convert it to the java object.

[jibx-users] Marshalling xmldsig Signature with JIBX

2014-05-13 Thread Silvia Ramos
Hello all, I'm new to JIBX and I've been stuck with something for quite some time now. Before giving up on the tool I'm hoping I can get some help here. I posted the issue on Stackoverflow a few weeks ago: http://stackoverflow.com/questions/23223286/marshalling-xmldsig-signature-with-jibx

[jibx-users] Passing arguments to marshaller or using generics - is it possible?

2014-05-09 Thread Iacovella, Angelo
Basically I need to do something like this to customize a binding on a collection because of the complexity. structure field=UDAs class=java.util.ArrayList marshaller=com.mckesson.binding.marshalling.UDAMarshaller unmarshaller=com.mckesson.binding.marshalling.UDAMarshaller/ This works fine,

Re: [jibx-users] Java 8 update

2014-05-02 Thread shrikant patel
Dennis,  I am jibx user I really appreciate the framework. And many many other folks\organization use it as well.  I do not know if this was attempted in past, but jibx could use kickstarter (or others) to crowd fund this effort. Put a link on jibx site on top and email the jibx user group. I

Re: [jibx-users] Java 8 update

2014-05-02 Thread Dennis Sosnoski
Thanks for your support, Shri. I've been reluctant to start asking individuals for support, though. JiBX is a project which is largely used in commercial systems, and I'd always hoped that enough of these commercial users would be willing to contribute funding for the project to thrive.

[jibx-users] Java 8 update

2014-05-01 Thread Zachary Lendon
Any update on Java 8 support? Dennis, you had mentioned earlier in April that you had hoped to have something by the end of the month. Have you had good progress? We have an app we're looking to upgrade and are trying to plan what the proper course of action might be.

Re: [jibx-users] Java 8 update

2014-05-01 Thread Dennis Sosnoski
For starters, the BCEL tool used by JiBX is incompatible with Java 8. It looks like there's been some work to address this, but there's no new release of BCEL and no indication when there might be. My preferred approach to solve this would be to replace BCEL with the more-modern and better

[jibx-users] Removing wrapper class during jibx code generation

2014-04-11 Thread Ben McCann
I'm working the the Xero Invoice XML Schema which has an ArrayOfInvoice typehttps://github.com/XeroAPI/XeroAPI-Schemas/blob/master/v2.00/Invoice.xsd . xs:element name=Invoices nillable=true type=ArrayOfInvoice / xs:complexType name=ArrayOfInvoice xs:sequence xs:element minOccurs=0

[jibx-users] JiBX and Java 8 is failing for me too

2014-04-07 Thread Adhamh Findlay
Hello, I'm seeing the same problem as report by Gottfried Theimer. My code that uses JiBX is failing to compile under Java 8 due to java.lang.CharSequence errors. I found this post back from 2005 about kXML. It mentions an incompatibility with JiBX and CharSequence. I'm not sure if its

Re: [jibx-users] JiBX and Java 8 is failing for me too

2014-04-07 Thread Dennis Sosnoski
Hi Adhamh, I am looking into the issues with Java 8, but I'm also swamped with other things right now. I'll have an answer for how to deal with Java 8 support by the end of the month. JiBX is not being actively maintained, but I do provide paid support for clients at a discounted rate. In

Re: [jibx-users] JiBX and Java 8

2014-03-11 Thread Gottfried Theimer
When can we expect a JiBX update that supports Java 8? We would like to use Java 8 as soon as possible, and we would also like to continue to use of JiBX, which has served us well so far. I performed experiments to determine to what extent JiBX 1.2.5 works with Java 7 and 8. I tried the

[jibx-users] Getting unsupported version on JVM 1.4

2014-01-06 Thread Eyal Zfira
Hi, I'm trying to run JiBX on JVM 1.4 and getting the following exception when loading JiBX classes: Unsupported major.minor version 49.0 I'm using the 1.2.5 jars as they are and compiling the project using JDK 1.5 with target 1.4. On my classes I can see the target is correct but the classes

[jibx-users] unsubscribe

2014-01-06 Thread Phillips, Joseph
[Description: colorline] Deven Phillips Senior Developer A Fortune 1000 Company Payment Processing, Payroll Solutions and Rewards P: 1 (888) 798-3133 x1904 1 Heartland Way Jeffersonville, IN 47130 HeartlandPaymentSystems.comhttp://www.heartlandpaymentsystems.com/

[jibx-users] Multiple value elements pointing to the same field

2013-12-12 Thread Vincent Fumo
I've got 2 xml files to unmarshall using jibx. They have identical structure with one exception : one of the elements has a different attribute name for the same property. I'd like to use the same binding but I'm getting behavior that I don't understand. Can anyone help? A Generalization of the

  1   2   3   4   5   6   7   8   9   10   >