Try to validate schema

Hello,

I want to validate a document against a xml schema and I´m getting the error ‘[ISC.0082.9036] Duplicate root element xxx found’. xxx. There is no duplicate element in the schema, where is this fault coming from, has anybody an idea?

Thank you

celoelo

We would need to see the schema to have any meaningful input on this question. In other words, I know of no known issues involving “duplicate root element” errors.

Mark

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:element name="bpID" type="xsd:string"/>
  <xsd:element name="bpName" type="xsd:string"/>
  <xsd:element name="bpRelations">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="bpRelation" nillable="true" minOccurs="0" maxOccurs="unbounded">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="bpID" nillable="true" type="xsd:string"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="bpAddress">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="street" nillable="true" type="xsd:string"/>
        <xsd:element name="city" nillable="true" type="xsd:string"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>

I also started seeing this error after installation of SP2 on our 6.5 IS’s. Fixpack IS_6-5_SP2_WebSvcsXML_Fix14 provided a new setting: watt.core.validation.multipleRoot. Setting this to false resolved the error.

I too have the same issue. Can anyone help.
Cheers,
Ravi