There have been a number of improvements in the code generation from 
schema since 1.2.1 was released. You can get a recent build in the form 
of jibx-1.2.2SNAPSHOT jars from the Maven repository at 
http://jibx.sourceforge.net/maven/jibx/jars/ This should take care of 
your problem, but if it does not please create a Jira and attach a zip 
including the options you're passing to CodeGen.

After some other distractions I'm now back working on getting the 1.2.2 
release out, so if you can try this soon we can make sure it's working 
in the release.

  - Dennis

Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



yankeevic wrote:
> Hi.
> Running the codegen to get the binding from this schema  
> (http://www.nabble.com/file/p24565473/Facturaev3_2.xsd Facturaev3_2.xsd 
> )everything works fine. But when i run the binding compiler i get a 
> reallypuzzling error and i can´t thing of a way to solve it. Don´t even know 
> wherethe problem is exactly. I have been doing some search but i have not 
> foundanything of value.
>
> The error i get is the one shown bellow. In a zip file i have included decode 
> generated plus a txt file with the compiler trace 
> http://www.nabble.com/file/p24565473/codegen.zip codegen.zip 
> ....
> Error running binding compiler
> *** Error during code generation for file '_2000_09_xmldsigBinding.xml' 
> -please enter a bug report for this error in Jira if the problem is notlisted 
> as fixed on the online status page ***
> org.jibx.runtime.JiBXException: Undefined or unusable 
> namespace"http://www.w3.org/2000/09/xmldsig#";   
> atorg.jibx.binding.def.NameDefinition.fixNamespace(NameDefinition.java:160)   
>   
> atorg.jibx.binding.def.BindingBuilder.unmarshalValue(BindingBuilder.java:684) 
>   
> atorg.jibx.binding.def.BindingBuilder.unmarshalStructureChildren(BindingBuilder.java:994)
>        
> atorg.jibx.binding.def.BindingBuilder.unmarshalMapping(BindingBuilder.java:1799)
>         
> atorg.jibx.binding.def.BindingBuilder.unmarshalMappings(BindingBuilder.java:1128)
>        
> atorg.jibx.binding.def.BindingBuilder.unmarshalBindingDefinition(BindingBuilder.java:2103)
>       at org.jibx.binding.Utility.loadBinding(Utility.java:314)       at 
> org.jibx.binding.Utility.loadFileBinding(Utility.java:431)   at 
> org.jibx.binding.Compile.compile(Compile.java:212)   
> atorg.jibx.eclipse.builder.JibxBindingBuilder.bindAll(JibxBindingBuilder.java:157)
>       
> atorg.jibx.eclipse.builder.JibxBindingBuilder.incrementalBuild(JibxBindingBuilder.java:204)
>      
> atorg.jibx.eclipse.builder.JibxBindingBuilder.build(JibxBindingBuilder.java:98)
>  atorg.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627) 
>    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)  
> atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
>        
> atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
>        
> atorg.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)  
>   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)  
> atorg.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
>        
> atorg.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
>    
> atorg.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)  
>   
> atorg.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
>   at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238) 
>     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> Error running binding compiler
>
> ...
>
> -- View this message in context: 
> http://www.nabble.com/xsd-to-java-binding-compiler-problem-tp24565473p24565473.htmlSent
>  from the jibx-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------Enter
>  the BlackBerry Developer Challenge  This is your chance to win up to 
> $100,000 in prizes! For a limited time, vendors submitting new applications 
> to BlackBerry App World(TM) will havethe opportunity to enter the BlackBerry 
> Developer Challenge. See full prize  details at: 
> http://p.sf.net/sfu/Challenge_______________________________________________jibx-users
>  mailing 
> listjibx-us...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jibx-users
>
>   


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

Reply via email to