Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle OSB 12C XSD 1.1

Jack IssacDec 11 2019 — edited Dec 12 2019

Hi everynone,

We are making assertion in XSD with version 1.1 When we check this schema in Oxygen Application and validation rule is working on it.

<xs:complexType name="BusinessInteractionType">
          <xs:sequence>
              <xs:element name="ID" minOccurs="0">
                  <xs:complexType>
                      <xs:simpleContent>
                          <xs:extension base="xs:string">
                              <xs:assert test="$value > 500"/>
                          </xs:extension>
                      </xs:simpleContent>
                  </xs:complexType>
              </xs:element>

</xs:complexType>

But with OSB 12C schema is not validating with OSB and it is giving following error messages

Expected elements 'annotation@http://www.w3.org/2001/XMLSchema attribute@http://www.w3.org/2001/XMLSchema attributeGroup@http://www.w3.org/2001/XMLSchema anyAttribute@http://www.w3.org/2001/XMLSchema' instead of 'assert@http://www.w3.org/2001/XMLSchema' here in element extension@http://www.w3.org/2001/XMLSchema

So, is XSD version 1.1 supported in OSB 12C or how we can handle this exception in OSB 12C?

Thanks,

Jack.

This post has been answered by Martien van den Akker on Dec 11 2019
Jump to Answer
Comments
Post Details
Added on Dec 11 2019
4 comments
912 views