You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add one or more of the following characters inside the summary and/or description field(s): &, <
Generate and download the app.
xmllint the appinfo/info.xml file: xmllint appinfo/info.xml
Observe the parser errors:
helloworld/appinfo/info.xml:6: parser error : xmlParseEntityRef: no name
<summary>Test & test.</summary>
Expected behaviour
The app generator should generate an info.xml file that does not contain parser errors, regardless of what users fill in the app generator's fields.
Actual behaviour
The info.xml file throws parser errors when using 'illegal' characters. And because of the parser errors, Nextcloud cannot read the info.xml file correctly.
helloworld/appinfo/info.xml:6: parser error : xmlParseEntityRef: no name
<summary>Test & test.</summary>
Potential fix(es)
Someone in the community chat suggested to wrap the summary and description inputs with CDATA.
Jelmerovereem
changed the title
App skeleton generator generates faulty info.xml when using characters like '&, <, >, (, ), {, }'. Parser errors
App skeleton generator generates faulty info.xml when using characters like '&, <,'. Parser errors
Oct 4, 2024
How to use GitHub
Steps to reproduce
xmllint
the appinfo/info.xml file:xmllint appinfo/info.xml
Expected behaviour
The app generator should generate an info.xml file that does not contain parser errors, regardless of what users fill in the app generator's fields.
Actual behaviour
The info.xml file throws parser errors when using 'illegal' characters. And because of the parser errors, Nextcloud cannot read the info.xml file correctly.
Potential fix(es)
CDATA
.The text was updated successfully, but these errors were encountered: