Affects Version/s: 6.1.0 CE RC1, 6.2.0 CE M2
When porting a portlet from 6.0 to 6.1, I was getting this error message:
01:59:50,887 WARN [ResourceActionsUtil:895] The community-defaults element is deprecated. Use the site-defaults element instead.
In order to fix it, I went into my resource-actions/default.xml and changed the community-defaults tags to site-defaults. After this, the portlet wouldn't deploy because the resource actions couldn't be validated. I then checked the DTD for 6.1, and found that community-defaults is still in there, but the site-defaults element is not.
There is a discrepancy in the descriptive text that seems to indicate it might have been in there, but the element that follows the descriptive text is site-member-defaults, not site-defaults:
The site-defaults element specifies the actions that site members are
permitted to perform by default.
<!ELEMENT site-member-defaults (action-key*) >
The DTD needs to be fixed for 6.1 so that site-defaults is there and can be used.
Workaround is to used the old community-defaults element in resource actions files.