拡張データ・エレメント述部を指定するイベント・グループを定義しましたが、このイベント・グループを照会しても、予期するイベントが返されません。
イベント・データが有効な XML であっても、Common Base Event 仕様に準拠していない可能性があります。この場合は、エラー・メッセージが表示されずに、予期しない結果が発生することがあります。
<?xml version="1.0" encoding="ASCII"?> <!-- XPath 式 CommonBaseEvent[@globalInstanceId] に一致するイベント --> <CommonBaseEvent xmlns:xsi="http://www.w3.org/TR/xmlschema-1/" xmlns:="http://www.ibm.com/AC/commonbaseevent1_0_1" version="1.0.1" creationTime="2005-10-17T12:00:01Z" severity="10" priority="60" > <situation categoryName="RequestSituation"> <situationType xsi:type="RequestSituation" reasoningScope="INTERNAL" successDisposition="Suceeded" situationQualifier="TEST" /> </situation> <sourceComponentId component="component" subComponent="subcomponent" componentIdType="componentIdType" location="localhost" locationType="Hostname" componentType="sourceComponentType" /> <extendedDataElement name="color" type="string"> <values>red</values> </extendedDataElement> </CommonBaseEvent>このイベントには、1 つの子エレメントを持つ単一の拡張データ・エレメントが含まれます。
CommonBaseEvent[extendedDataElements[@name='color' and @type='string' and @values='red']]イベントの XML 定義にミススペルが含まれているために、このイベント・セレクターはイベントに一致しません。イベント・データで、extendedDataElements エレメントが extendedDataElement と ミススペルされています。これは整形式の XML であるため、エラーが発生せずに any エレメントとして扱われます。このエレメントは検索できません。
送信されるイベントの XML データが Common Base Event 仕様に準拠していることを確認してください。