Re: Problem with vault validation

2022-01-25 Thread Carsten Ziegeler
JCR requires the namespaces to be registered/known if you use them as part of a node name. A node name like cq:xyz uses the namespace prefix cq, therefore it needs to be known to JCR when creating the node. If you add a namespace definition to the XML file then you implicitely make this namesp

Re: Problem with vault validation

2022-01-25 Thread Roy Teeuwen
Hey Christian, I have the same annoying issue, it seems that when you format the xml file in for example Intellij IDEA, it will delete the cq namespace because there is no property in the xml that starts with cq:, but on the other hand it also seems the validator expects the namespace cq to be

Problem with vault validation

2022-01-24 Thread Christian Schneider
We are trying to use the vault validation to validate content packages via the sling feature analyzer. https://github.com/apache/sling-org-apache-sling-feature-analyser When validating the wknd package we get the below error: [ERROR] Failed to execute goal com.adobe.aem:aemanalyser-maven-plugin:1