You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/03/09 17:19:00 UTC

[jira] [Commented] (JCRVLT-609) Package specific validator settings rely on colon which is not allowed in XML names

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

Konrad Windszus commented on JCRVLT-609:
----------------------------------------

In order to be as backward compatible as possible the package restriction should still be a suffix of the validator id. In order to always work correctly it needs to rely on a separator character which is
# valid in XML
# invalid to use in package group and package name
# invalid to use as validator id

> Package specific validator settings rely on colon which is not allowed in XML names
> -----------------------------------------------------------------------------------
>
>                 Key: JCRVLT-609
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-609
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: package maven plugin
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: package-maven-plugin-1.3.0
>
>
> As the colon cannot be used for XML element names (https://www.w3.org/TR/REC-xml/#sec-common-syn) except for namespaces another syntax must be established to apply settings only to specific package ids instead of the suffix format {{:<package group>:<package name>}} (described in https://github.com/apache/jackrabbit-filevault-package-maven-plugin/blob/36aeeb9ba39dbc1c683bad659fd0d1d9983dcd54/src/site/markdown/validators.md#configuration)



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