Menu

Prefix sling is not bound | AEM Dialog

[ERROR] ValidationViolation: Could not parse FileVault Document View XML: The prefix "sling" for attribute "sling:resourceSuperType" associated with an element type "jcr:root" is not bound. @ jcr_root\apps\wknd\components\banner\.content.xml, line 6, column 42, validator: jackrabbit-docviewparser, JCR node path: /apps/wknd/components/banner, Throwable: The prefix "sling" for attribute "sling:resourceSuperType" associated with an element type "jcr:root" is not bound.


Resolution:

Sling is not added in the xml name space. In jcr:root element add the follwing xmlns. 

xmlns:sling="http://sling.apache.org/jcr/sling/1.0"

No comments:

Post a Comment