Unable To Parse Xsd Schema That Specifies A Pattern Restriction

(Doc ID 1137141.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version: 11.1.1.3.0 to 11.1.1.3.0 - Release: 11gR1 to 11gR1
Information in this document applies to any platform.

Symptoms

In JDeveloper 11g, while creating a BPM Business Object, under the Business Catalog, that is based on an external schema, the following error message is thrown and the schema can't be imported:

Exception: Unable to parse schema some_schema_name.xsd
invalid facet "pattern" for type "simpleType"

The schema is declared as follows:

...
<xsd:simpleType name="PathType">
<xsd:restriction base="xsd:string">
<xsd:pattern value="((file\:|((http|ftp|scp)(s?))\://){1}\S+)"/>
</xsd:restriction>
</xsd:simpleType>
...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms