cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot import XSD with attribute specifying fixed value

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

sumesh_k2
Participant
0 Kudos

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.