条件付きで相対 XPATH を使用する XML データソースは、インスタンスのパフォーマンスに影響を与え、一部のレコードを無視する可能性があるIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } 条件付きで相対 XPATH を使用する XML データソースは、インスタンスのパフォーマンスに影響を与え、一部のレコードを無視する可能性があります。 問題 XML 形式のデータ ソースによってインポートされた長い XML ファイルでは、XPATH フィールドが次の形式で設定されている場合、一部のレコードをインポートできません。 //path[condition] 例: //kb_knowledge[kb_knowledge_base='<sys_id>'] まあは //incident[number='INC0010007'] 再現手順 XML タイプのデータソースを実行します。 詳細については、ドキュメントトピック データソースの作成を参照してください。 条件を指定して XPATH を相対パスに設定します。 たとえば、 各行の XPATH を //incident[number='INC0010007'] に設定します すべてのレコードをロード] をクリックします。 レコードはロードされず、データソースに次のメッセージが表示されます。 Relative XPATH expression is not recommended and can impact instance performance Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } XML データソースのインポートでは XMLStreamDocument 関数を使用しますが、特定のケースでは、条件付き相対パスを処理できず、null を返します。また、相対パスを使用すると、関数に余分なオーバーヘッドが伴います。 Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } 検索で日付が欠落しないようにし、相対パスを評価する際のパフォーマンスの問題を回避するには、 /unload/incident[number='INC0010007'] などの絶対パスを使用します。