You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Heath Kesler (JIRA)" <ji...@apache.org> on 2012/08/14 07:03:38 UTC

[jira] [Updated] (KARAF-1066) make features xml parser more forgiving

     [ https://issues.apache.org/jira/browse/KARAF-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heath Kesler updated KARAF-1066:
--------------------------------

    Attachment: karaf-3.0_1066.diff

the repo parsing now removes all white space and newline/endline using regexp "\\s".

I don't think we can have URI's with spaces, but I could be wrong. 

I implemented a test also that exercised the issue using a repo2.xml file.  
                
> make features xml parser more forgiving
> ---------------------------------------
>
>                 Key: KARAF-1066
>                 URL: https://issues.apache.org/jira/browse/KARAF-1066
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>            Reporter: Andrei Pozolotin
>         Attachments: karaf-3.0_1066.diff
>
>
> features-maven-plugin:2.2.4:add-features-to-repo
> 1) currently, an entry in features.xml like this works fine:
> <repository>mvn:org.apache.karaf.assemblies.features/standard/2.2.4/xml/features</repository>
> 2) but plugin blows up with exception, if format is like this
> <repository>
> mvn:org.apache.karaf.assemblies.features/standard/2.2.4/xml/features
> </repository>
> "Error populating repository: Illegal character in scheme name at index 0:"
> 3) I suggest to make features xml parser more forgiving

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira