확장 데이터 요소 술어를 지정하는 이벤트 그룹을 정의했지만 이벤트 그룹에 대한 조회가 예상된 이벤트를 리턴하지 않습니다.
이벤트 데이터는 유효한 XML일 수 있지만 공통 기본 이벤트 스펙을 준수하지 않습니다. 이로 인해 오류 메시지 없이 예상치 않은 결과가 발생할 수 있습니다.
<?xml version="1.0" encoding="ASCII"?> <!-- Event that will match the XPath expression 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>이 이벤트에는 하나의 하위 요소가 있는 단일 확장 데이터 요소가 포함되어 있습니다.
CommonBaseEvent[extendedDataElements[@name='color' and @type='string' and @values='red']]이벤트의 XML 정의에 잘못된 철자가 포함되어 있기 때문에 이 이벤트 선택기는 이벤트와 일치하지 않습니다. 이벤트 데이터에서 extendedDataElements 요소의 철자가 extendedDataElement로 잘못되었습니다. 그러나 제대로 구성된 XML이므로 오류가 발생하지 않습니다. 대신, 검색 불가능한 any 요소로 간주됩니다.
제출된 이벤트의 XML 데이터가 공통 기본 이벤트 스펙을 준수하는지 확인하십시오.