You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2021/10/24 17:33:16 UTC

[GitHub] [sling-org-apache-sling-feature-analyser] kwin edited a comment on pull request #33: SLING-10866 - Support validating content packages using filevault val…

kwin edited a comment on pull request #33:
URL: https://github.com/apache/sling-org-apache-sling-feature-analyser/pull/33#issuecomment-950363108


   > @kwin When testing with my package I hit the expected XML error but also a second error.
   > 
   > ```
   > [main] ERROR org.apache.sling.feature.analyser.task.impl.CheckContentPackages - ValidationViolation: "jackrabbit-filter: 
   > Filter root's ancestor '/apps/cschneidervalidation' is not covered by any of the specified dependencies nor a valid root.", filePath=META-INF/vault/filter.xml
   > [main] ERROR org.apache.sling.feature.analyser.task.impl.CheckContentPackages - ValidationViolation: "jackrabbit-docviewparser: Invalid XML found: The reference to entity "se" must end with the ';' delimiter.", filePath=jcr_root/apps/cschneidervalidation/configs/com.adobe.test.Invalid.xml, nodePath=/apps/cschneidervalidation/configs/com.adobe.test.Invalid
   > ```
   > 
   > Is this expected with my package or am I doing something wrong?
   
   This is expected and a check being performed by `jackrabbit-filter` being described in https://jackrabbit.apache.org/filevault/validation.html#Standard_Validators. The background of this check is that package installation may fail in case the ancestor node already exists with a restricted node type. Therefore it is recommended to enforce node type of ancestor nodes as well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org