Issue with SVN Checkout Due to Malformed XML Response

2024-09-10 Thread 耗子
Dear Subversion Development Team,
I hope this message finds you well.
I am encountering a critical issue when attempting to check out a specific 
revision from the WordPress SVN repository. The command I used is:
svn checkout -r 2983085 
https://plugins.svn.wordpress.org/acymailing-integration-for-memberpress 

 However, this results in the following error: 
svn: E175009: The XML response contains invalid XML
svn: E130003: Malformed XML: not well-formed (invalid token) at line 55
Upon investigation, I suspect that the issue lies in the tags section, 
specifically with the 2.2 tag, which might contain special characters that are 
causing this problem. The full URL for reference is:
https://plugins.svn.wordpress.org/!svn/bc/2983085/acymailing-integration-for-memberpress/tags/
 

I have reviewed the SVN issue tracker and searched for similar issues online, 
but I have not found any reports of this particular problem. Additionally, this 
issue also prevents me from using svnsync to mirror the entire repository, 
resulting in similar XML-related errors.
Would it be possible for the development team to investigate this issue, or 
could you provide any guidance on how to resolve this malformed XML error?
Thank you for your attention to this matter. I look forward to your feedback.
Best regards,
HaoZi
Local Manager of WordPress China


Re: Issue with SVN Checkout Due to Malformed XML Response

2024-09-10 Thread Daniel Sahlberg
Den tis 10 sep. 2024 kl 22:20 skrev 耗子 :

> Dear Subversion Development Team,
> I hope this message finds you well.
> I am encountering a critical issue when attempting to check out a specific
> revision from the WordPress SVN repository. The command I used is:
>
> svn checkout -r 2983085
> https://plugins.svn.wordpress.org/acymailing-integration-for-memberpress
>

Your server seems to be running version 1.9.5. That is out of support since
many years. Can you update and check if the problem reproduces under
Subversion 1.14?

However, this results in the following error:
>
> svn: E175009: The XML response contains invalid XML
> svn: E130003: Malformed XML: not well-formed (invalid token) at line 55
>
> Upon investigation, I suspect that the issue lies in the tags section,
> specifically with the 2.2 tag, which might contain special characters that
> are causing this problem. The full URL for reference is:
>
>
> https://plugins.svn.wordpress.org/!svn/bc/2983085/acymailing-integration-for-memberpress/tags/
>
> I have reviewed the SVN issue tracker and searched for similar issues
> online, but I have not found any reports of this particular problem.
> Additionally, this issue also prevents me from using svnsync to mirror the
> entire repository, resulting in similar XML-related errors.
> Would it be possible for the development team to investigate this issue,
> or could you provide any guidance on how to resolve this malformed XML
> error?
> Thank you for your attention to this matter. I look forward to your
> feedback.
>

Agreed. It seems that the tag is named %1B%5BC2.2 (url-encoded). I assume
0x1B 0x5B is some unicode character. I can't determine if it is correct
that the tag should be named this way. But before spending more time, can
you please investigate if you can reproduce the issue with the latest
version?

Kind regards,
Daniel