[Fatal Error] :32:114: The prefix "granite" for attribute "granite:class" associated with an element type "dynamicmediaGroup" is not bound. [ERROR] ValidationViolation: "jackrabbit-docviewparser: Invalid XML found: The prefix "granite" for attribute "granite:class" associated with an element type "dynamicmediaGroup" is not bound.", filePath=jcr_root/apps/zb-corporate/components/content/image/.content.xml, nodePath=/apps/zb-corporate/components/content/image
Can anyone please suggest on how to resolve it ?
Views
Replies
Total Likes
Hi,
Please check
The prefix "granite" for attribute "granite:class" associated with an element type "dynamicmediaGroup" is not bound.
Example of correct XML namespaces
https://github.com/adobe/aem-core-wcm-components/blob/8fbb5674a7170c7caaac1604ac9849eff1ea83a7/conte...
better to share your dialog xml.
Hi,
Thank you all for your supporting comments. But, I can't share my dialog xml due to company privacy policies.
Views
Replies
Total Likes
@DeepikaRoy Their is some error in your xml. So if you can share the content.xml file it would be easy
@DeepikaRoy Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
May be a late reply,
But this could be the issue,
Please check if u have
xmlns:granite="http://www.adobe.com/jcr/granite/1.0"
in the jcr:root tag of content.xml.
This defines the namespaces for the XML file.
for eg: jcr:root tag should be
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0"
xmlns:granite="http://www.adobe.com/jcr/granite/1.0"
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies