[ 
https://issues.apache.org/jira/browse/SLING-10992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17458236#comment-17458236
 ] 

Konrad Windszus commented on SLING-10992:
-----------------------------------------

Yes, indeed it is. Thanks [~rombert]. I added "maven:mount" to the list of 
valid directives in 
https://github.com/apache/sling-org-apache-sling-jcr-contentloader/pull/9/commits/ec8cecf8c8f278ff547f15a04b2f1c8b894f1df3.

> Emit warn in case Sling-Initial-Content header contains unknown directives or 
> attributes
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-10992
>                 URL: https://issues.apache.org/jira/browse/SLING-10992
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: JCR ContentLoader 2.5.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> The Sling-Initial-Content header only supports some directives and no 
> attributes at all according to the [common header 
> grammar|https://docs.osgi.org/specification/osgi.core/7.0.0/framework.module.html#framework.common.header.syntax]
>  and 
> https://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html#initial-content-loading.
> Pretty often directives and attributes are mixed up, therefore it would be 
> good to emit a WARN for every unknown attribute or directive in that header.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to