Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enclosure should always contain a length attribute #32

Open
GalacticCheese opened this issue Feb 16, 2022 · 0 comments
Open

Enclosure should always contain a length attribute #32

GalacticCheese opened this issue Feb 16, 2022 · 0 comments

Comments

@GalacticCheese
Copy link

According to the RSS recommendations an enclosure must always contain 3 attributes. When I gave my object a length of 0 (which is recommended if the length cannot be determined) the length tag was omitted.

I see that there is an explicit check in the code to exclude the length attribute if the length is 0 (technically if !true). Why is this the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant