RSS feed is not valid according to Power Automate

未關閉
#2,094 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@sy-records 已經在處理了。

開始於 2026年11月20日。

  • #2100 來自 @sy-records —— 未關閉

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
php, xml
領域
backend

研究方向

The affected feed is https://www.php.net/feed.atom; the report points to the “International PHP Conference 2017 Fall - Call for Papers” entry near line 3696. Find the source that generates this entry and compare its Atom content with the correctly wrapped entries. Done means the feed validates and Power Automate can parse it; pull request #2100 is already open for this issue.

由索引模型根據 Issue 內容生成。

描述

Bug Status: Needs Triage
Affected Page URL

https://www.php.net/feed.atom

Describe the bug

Hi,

Unfortunately, PowerAutomate was unable to read the RSS feed, which meant the security notification was not delivered automatically.

Attached, you will find a description of the error, along with Copilot’s analysis regarding the cause and the proposed solution.

Feed URL used: https://www.php.net/feed.atom

Could you please verify this and make the necessary corrections to the feed?
Alternatively, should we modify our PowerAutomate flow?

All other feeds from the various software solutions we use are working without any issues; this problem is specific to the PHP feed.

Error:

Error reading the requested feed information. Details: Unexpected node type Element. The ReadElementString method can only be called on elements with simple or empty content. Line 3696, position 5.

Copilot answer:

The error occurs because the Power Automate RSS trigger encounters an improperly formatted <content type="xhtml"> element when reading the Atom XML file from php.net.
In line 3696 of the feed (within the entry "International PHP Conference 2017 Fall - Call for Papers"), the <div> container—which is strictly required by the Atom standard—is missing immediately beneath the <content type="xhtml"> element:
xml

While we are eagerly waiting for IPC Spring...

(In all other entries, this is correctly formatted as `

...`.) The .NET XML parser used by Power Automate expects either plain text or a valid XHTML wrapper at this point; instead, it encounters the HTML `

` element directly, causing it to fail with an "Unexpected node type Element" error. Since the error originates within the source feed from php.net itself, it cannot be bypassed using the standard RSS trigger.

Steps to reproduce
  1. create a PowerAutomate flow
  2. use the RSS trigger for the mentioned Atom feed
  3. alternatively validate the feed content
Expected behavior

No error, RSS feed successfully parsed.

Screenshots

No response

Additional context

No response

主要語言
PHP
星號
1.1k
分支
648
平均合併
1 天 7 小時
30 天內合併 PR
45

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

php/web-php 的其他 Issue

查看 php/web-php 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。