users@jaxb.java.net

RE: Re: Problems parsing the IFX 1.5 Schema

From: Perry, Steve <Steve.Perry_at_fnf.com>
Date: Wed, 6 Oct 2004 22:04:07 -0500

Thanks, Ryan. I was able to get past the "pasring a schema" errors, and now getting a java.lang.OutOfMemory error, regardless of how much memory I give the JVM (I have 1Gbyte on this machine). To bump the JVM memory as you suggested, I modified my local copy of xjc.bat to send the memory parameters to the JVM on startup as you suggested. Rats. Thoughts?

BTW - the same error occurs when I use xjc in its original form when using the IFX DTD and the -dtd option. I.e., I didn't go into xjc.bat and modify the java command line invocation to bump up the memory. Should I try to modify the memory parameters and pass the IFX 1.5 DTD to xjc?

-----Original Message-----
From: Ryan Shoemaker - JavaSoft East [mailto:Ryan.Shoemaker_at_Sun.COM]
Sent: Wed 10/6/2004 11:47 AM
To: users_at_jaxb.dev.java.net
Cc:
Subject: Re: Problems parsing the IFX 1.5 Schema
Ryan Shoemaker - JavaSoft East wrote:
> Perry, Steve wrote:
>
>> Has anyone used JAXB to generate Java classes for IFX? Specifically
>> version 1.5?
>
> Hey Steve,
>
> We run IFX 1.5 in our nightly JAXB unit tests with the attached
> bindings file.
>

I should probably also point out that this binding file was a quick
hack to get things working - I'm sure it doesn't produce the nicest
bindings, but hopefully it will allow you to make progress.

--Ryan

>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="utf-8"?>
> <bindings xmlns="http://java.sun.com/xml/ns/jaxb" version="1.0">
> <bindings schemaLocation="IFX150_XSD.xsd" node="/*">
> <schemaBindings>
> <nameXmlTransform>
> <typeName prefix="T"/>
> <anonymousTypeName prefix="T"/>
> </nameXmlTransform>
> </schemaBindings>
> <globalBindings underscoreBinding="asCharInWord"/>
> </bindings>
> </bindings>
>
>
>
> ------------------------------------------------------------------------
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net