XML Imports

I’m trying to test the XML import feature, but whatever I try I keep getting an error stating the element is missing from the XML file. We want to be able to parse the XML and provide this as a ServerConnect interface.

We have a file “feature.xml” in the local path. This is configured with the “Import XML File” step as below -:

The first line of the XML starts with -:

<features name="${project.artifactId}-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.3.0">

But when I view this, I get the error -:

{"data":{"xmlImportFeatures":"features is missing in \/customise\/feature.xml"}}

I can’t find any documentation on the XML import so I’m guessing that this is configured correctly. Any help would be appreciated.

Community Page
Last updated: