I'll investigate.
Lisa.

Etienne Roy/Watson/[EMAIL PROTECTED] on 06/15/2001 03:34:20 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Circular definition for group problem.


Hi all,

I have very weird behaviour of Xerces-J today, i'm wondering if anyone had
enounter the same thing.


here is a snippet of my schema:
                    <sequence minOccurs="0">
                        <choice>
                            <group ref="foo:layoutGroup"/>
*******                  <group ref="foo:switchGroup"/>
                        </choice>
                        <group ref="foo:metaGroup" minOccurs="0" maxOccurs
="unbounded"/>
                    </sequence>

and that raises the following errors:
     test1.xml:4:61: Schema error: mg-props-correct: Circular definition
for group switchGroup.
     test1.xml:4:61: Schema error: mg-props-correct: Circular definition
for group switchGroup.
     test1.xml:4:61: Schema error: mg-props-correct: Circular definition
for group switchGroup.

But if I comment out the line with stars, the switchGroup, I have the
folowing errors:
     test1.xml:4:61: Schema error: mg-props-correct: Circular definition
for group contentGroup.
     test1.xml:4:61: Schema error: mg-props-correct: Circular definition
for group switchGroup.
     test1.xml:4:61: Schema error: mg-props-correct: Circular definition
for group contentGroup.

And better still, if I replace the group ref by the group, ie by <choice>
<element ref="foo:switch"/> </choice>,
I have no more error !!!!!!!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to