Ok, now my schema declare element "node" of type Node

<?xml version="1.0" encoding="UTF-8"?>

<schema xmlns="http://www.w3.org/2001/XMLSchema";>
  <complexType name="Node">
    <sequence>
      <element name="element_a" type="string"/>
      <choice>
    <sequence>
       <element name="element_b" type="string"/>
       <choice>
            <element name="element_c" type="string"/>
            <element name="element_d" type="string"/>
            <element name="childNode" type="Node"/>
          </choice>
        </sequence>
        <element name="childNode" type="Node"/>
      </choice>
    </sequence>
  </complexType>
  <element name="node" type="Node"/>
</schema>

XML :

<?xml version="1.0" encoding="UTF-8"?>

<node>
 <element_a>any_string_1</element_a>
 <childNode>
  <element_a>any_string_2</element_a>
  <element_b>any_string_3</element_b>
  <element_c>any_string_4</element_c>
 <childNode>
</node>

and XML is valid. I've just downloaded latest CVS snapshot (13.06.2004),
built jar and still getting the same StackOverflowError...
Is it a new bug or I did sth wrong ??
Thanks again
Adrian



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

Reply via email to