Skip to content

[Bug] "is invalid XML, likely due to invalid characters. XML error: XML_ERR_NAME_REQUIRED" #7324

@riomccloud

Description

@riomccloud

Describe the bug

I'm trying to add the URL https://www.trendmicro.com/en_us/research.html?category=trend-micro-research:article-type/research to FreshRSS. It does not have a RSS feed available, so I'm using HTML + XPath to create one. However, after setting it up, it returns "This feed is empty. Please verify that it is still maintained."

Image

FreshRSS[101]: FreshRSS uses cache for https://www.trendmicro.com/en_us/research.html?category=trend-micro-research:article-type/research
[Sun Feb 09 17:57:45.862013 2025] [php:notice] [pid 101:tid 101] [client 100.75.65.61:51717] PHP Notice:  is invalid XML, likely due to invalid characters. XML error: XML_ERR_NAME_REQUIRED at line 32, column 39 in /var/www/FreshRSS/lib/simplepie/simplepie/src/SimplePie.php on line 1917

To Reproduce

  1. Add the feed with source type HTML + XPath
  2. Update the feed
  3. See error

Expected behavior

To work as normal

FreshRSS version

1.25.0

System information

  • Database version: built-in SQLite (couldn't find the version number)
  • PHP version: 8.2.26
  • Installation type: Docker
  • Web server type: Apache
  • Device: Desktop PC
  • OS: Windows 10 Enterprise 21H2
  • Browser: Firefox 135.0

Additional context

I configured HTML + XPath feeds on other two websites and they are working fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions