Skip to Content
avatar image
Former Member

Cannot import XSD with attribute specifying fixed value

I am trying to import a data type from an XSD in Enterprise Services Builder.

However, the import does not seem to like an element defined with a fixed value.

XSDs that cannot be imported...

HardwareStatusChanged could not be saved due to XSD could not be parsed due to Schema to be edited contains a attribute with the fixed value HardwareStatusChanged

The offending line in the XSD seems to be the following:

<xsd:attribute name="EventName" fixed="HardwareStatusChanged" use="required"/>

Is this a restriction in SAP PI? Is there a way around this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 28, 2013 at 11:46 AM

    Hi,

    Maybe you can try putting type in attribute as shown below.

    <xsd:attribute name="EventName"  type="xsd:string"  fixed="HardwareStatusChanged" use="required"/>

    Kind Regards,

    Sumesh K.

    Add comment
    10|10000 characters needed characters exceeded