Re: Repo-Init: register Namespace with a trailing hashtag (#)

2022-06-30 Thread Andreas Schaefer
I created a simple solution to allow for a hashtag inside the URI with: register namespace (foo2) http://test.com/v/1.0\# The PR link is: https://github.com/apache/sling-org-apache-sling-repoinit-parser/pull/24

Re: Repo-Init: register Namespace with a trailing hashtag (#)

2022-06-29 Thread Andreas Schaefer
I created a ticket for it: https://issues.apache.org/jira/browse/SLING-11427 - Andy > On Jun 28, 2022, at 1:46 PM, Eric Norman wrote: > > Hi Andy, > > I agree that it looks like the grammar for parsing the namespace value is > too strict.

Re: Repo-Init: register Namespace with a trailing hashtag (#)

2022-06-28 Thread Eric Norman
Hi Andy, I agree that it looks like the grammar for parsing the namespace value is too strict. It should accept any string that is a valid URI. Can you open up a bug report with your findings? If you need a temporary workaround, you may also register a namespace using the "register nodetypes"

Repo-Init: register Namespace with a trailing hashtag (#)

2022-06-27 Thread Andreas Schaefer
Hi I wanted to register namespaces with the Repo-Init and it works except for namespaces with a trailing hashtag like: "register namespace (stDim) http://ns.adobe.com/xap/1.0/sType/Dimensions#”, Fails with: 7.06.2022 16:12:41.019 *ERROR* [Apache Sling Repository Startup Thread #1]