Hello,


I have attempted to use Castor's SourceGenerator for Global Justice XML Data Model Release 3.0
and jvm reports "Exception in thread "main" java.lang.StackOverflowError"
regardless of allocated memory (I'm using option -mx256m )


Following Schema's were used:
Global Justice XML Data Model Release 3.0
http://it.ojp.gov/jxdm/3.0/jxdm-3.0.zip

And "container schema" for JXDM elements:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
           targetNamespace="http://xml.netbeans.org/examples/jxdmcastor";
           xmlns="http://xml.netbeans.org/examples/jxdmcastor";
           xmlns:jxdm="http://www.it.ojp.gov/jxdm/3.0";
           elementFormDefault="unqualified">

<xsd:import schemaLocation='./jxdm/3.0/jxdm.xsd' namespace='http://www.it.ojp.gov/jxdm/3.0' />

<xsd:element name="item">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="TotalElements" type="xsd:integer" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ElementsDescription" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="GJXDMElement" type="jxdm:PersonType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>


</xsd:schema>

Would it be possible for somebody to look at this schema?

Sincerely,

Alex.

_________________________________________________________________
Express yourself with the new version of MSN Messenger! Download today - it's FREE! http://messenger.msn.com/go/onm00200471ave/direct/01/




----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to