Forum Stats

  • 3,814,617 Users
  • 2,258,892 Discussions


Oracle OSB 12C XSD 1.1

Jack Issac
Jack Issac Member Posts: 78 Blue Ribbon
edited Dec 12, 2019 3:14AM in SOA Suite Discusssions

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:element name="ID" minOccurs="0">
                          <xs:extension base="xs:string">
                              <xs:assert test="$value > 500"/>


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

Expected elements '[email protected]:// [email protected]:// [email protected]:// [email protected]://' instead of '[email protected]://' here in element [email protected]

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



Martien van den Akker

Best Answer

  • Martien van den Akker
    Martien van den Akker Member Posts: 2,776 Bronze Crown
    edited Dec 11, 2019 6:44AM Answer ✓

    Hi Jack,

    As far as I know, this is not supported by OSB and/or SOA Suite. I'd validate these kinds of rules using XSLT. Create an XSD that can contain a list of messages and create an XSLT or XQuery that transforms from your xsd to the error-messages.xsd. Use if's and/or chooses to do the validations. If there are no messages then the xml is valid.

    Kind regards,

    Jack Issac