Hi,

Can anyone help me with the error message given below? The schema in question is attached. I looked through all the documentation and the archives for this list but couldn't find any answers.

"line 114, column 32: Multiple element particles named _choice are contained in a common sequence. (JAXB 1.0, 5.9.7.4.b) Use jaxb:property/@name for customization."

Thanks in advance!

Regards,
Dan


--
Daniel Fleisher
Senior Software Engineer
Children's Progress
108 W 39th St., Suite 1305, New York, NY 10018
Office: 212.730.0905 Ext. 211 | Fax: 212.730.1182
Web: http://www.childrensprogress.com

CONFIDENTIALITY NOTE: The information contained in this e-mail message and any 
attachment is confidential information intended for the use of the individual 
or entity named in this message. This information may be protected by 
attorney/client privilege, work product privilege or other laws, rules, and 
regulations providing for the protection of confidential communications. If you 
are not the intended recipient, you are hereby notified that any retention, 
use, copying or forwarding of this message is prohibited. If you have received 
this e-mail message in error, please contact the sender of this message by 
return e-mail and delete this message and any attachments.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema";
    xmlns:rpt="http://receptor.childrensprogress.com/xReceptor";
    xmlns:rv="http://receptor.childrensprogress.com/xResponse";
    xml:lang="EN"
    targetNamespace="http://receptor.childrensprogress.com/xResponse";
    xmlns="http://receptor.childrensprogress.com/xResponse";
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">

  <xs:annotation>
    <xs:documentation>
      XResponse 1.0 defines the Children's Progress response vector
      parsing languge.

      Namespace = http://receptor.childrensprogress.com/xResponse

      Copyright (c) 2008 Children's Progress, Inc.
      All Rights Reserved.
    </xs:documentation>
  </xs:annotation>


  <!--===========================================================
      AbstractCondition
      ===========================================================-->

  <xs:element name="abstractCondition"
              type="XAbstractCondition"
              abstract="true">
    <xs:annotation>
      <xs:documentation>
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="XAbstractCondition"
                  abstract="true">
  </xs:complexType>



  <!--===========================================================
      Choice
      ===========================================================-->

  <xs:element name="choice"
              type="XChoice"
              substitutionGroup="abstractCondition">
    <xs:annotation>
      <xs:documentation>
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="XChoice">
    <xs:sequence>
      <xs:element ref="when" minOccurs="1" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element ref="otherwise" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <!--===========================================================
      AbstractChoiceElement
      ===========================================================-->

  <xs:element name="abstractChoiceElement"
              type="XAbstractChoiceElement"
              substitutionGroup="abstractCondition"
              abstract="true">
    <xs:annotation>
      <xs:documentation>
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="XAbstractChoiceElement"
                  abstract="true">
    <xs:complexContent>
      <xs:extension base="XAbstractCondition">
        <xs:sequence>
          <xs:element ref="abstractCondition" minOccurs="1" maxOccurs="1">
            <xs:annotation>
              <xs:documentation>
              </xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>


  <!--===========================================================
      When
      ===========================================================-->

  <xs:element name="when"
              type="XWhen"
              substitutionGroup="abstractChoiceElement">
    <xs:annotation>
      <xs:documentation>
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="XWhen">
    <complexContent>
      <xs:extension base="XAbstractChoiceElement">
        <xs:sequence>
          <xs:element ref="abstractCondition" minOccurs="1" maxOccurs="1">
            <xs:annotation>
              <xs:documentation>
              </xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </complexContent>
  </xs:complexType>

  <!--===========================================================
      Otherwise
      ===========================================================-->

  <xs:element name="otherwise"
              type="XOtherwise"
              substitutionGroup="abstractChoiceElement">
    <xs:annotation>
      <xs:documentation>
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="XOtherwise">
    <complexContent>
      <xs:extension base="XAbstractChoiceElement">
        <xs:sequence>
          <xs:element ref="value" minOccurs="1" maxOccurs="1">
            <xs:annotation>
              <xs:documentation>
              </xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </complexContent>
  </xs:complexType>

  <!--===========================================================
      Value
      ===========================================================-->

  <xs:element name="value"
              type="XValue">
    <xs:annotation>
      <xs:documentation>
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="XValue">
    <simpleContent>
      <xs:extension base="xs:decimal">
      </xs:extension>
    </simpleContent>
  </xs:complexType>




</xs:schema>
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscr...@ws.apache.org
For additional commands, e-mail: jaxme-dev-h...@ws.apache.org

Reply via email to