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
Currently, the package parser will ignore empty YAML documents and those that only contain whitespace. However, it does not accommodate for a YAML document that contains content which is only comments (which is effectively the same as the previous two document scenarios).
How could Crossplane help solve your problem?
We should consider allowing for "comment only" documents in packages and skipping them during parsing.
The text was updated successfully, but these errors were encountered:
@luebken to be clear, this is not due to a leading document header, but rather due to the fact that there is a complete document that only contains comment data. The xpkg specification restricts what can be included in a package. We currently also allow for "empty documents", but a document full of comments is not empty, which is why this scenario results in rejection.
What problem are you facing?
Currently, the package parser will ignore empty YAML documents and those that only contain whitespace. However, it does not accommodate for a YAML document that contains content which is only comments (which is effectively the same as the previous two document scenarios).
How could Crossplane help solve your problem?
We should consider allowing for "comment only" documents in packages and skipping them during parsing.
The text was updated successfully, but these errors were encountered: