Re: "schemaLocation... must have even number of URI's." in example feature.xml files

2023-01-21 Thread Jean-Baptiste Onofré
Hi Paul

Yes, please create a Jira, we will fix that.

Thanks,
Regards
JB

On Sat, Jan 21, 2023 at 6:26 PM Paul Spencer  wrote:
>
> Getting the following errors when viewing feature.xml files in the Karaf 
> 4.4.3 example directories:
>
> Multiple annotations found at this line:
> - SchemaLocation: schemaLocation value = 
> 'http://karaf.apache.org/xmlns/features/v1.4.0' must have even number of 
> URI's.
> - cvc-elt.1.a: Cannot find the declaration of element 'features’.
>
> Offending tag:
>  xmlns="http://karaf.apache.org/xmlns/features/v1.4.0; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
> xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.4.0”>
>
> The duplicating the URL in the xsi:schemaLocation attribute  appears to 
> resolve the issue error.
> Working tag:
>  xmlns="http://karaf.apache.org/xmlns/features/v1.4.0; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
> xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.4.0 
> http://karaf.apache.org/xmlns/features/v1.4.0”>
>
> Shall I file a JIRA?
>
> Paul Spencer
>


"schemaLocation... must have even number of URI's." in example feature.xml files

2023-01-21 Thread Paul Spencer
Getting the following errors when viewing feature.xml files in the Karaf 4.4.3 
example directories:

Multiple annotations found at this line:
- SchemaLocation: schemaLocation value = 
'http://karaf.apache.org/xmlns/features/v1.4.0' must have even number of URI's.
- cvc-elt.1.a: Cannot find the declaration of element 'features’.

Offending tag:
http://karaf.apache.org/xmlns/features/v1.4.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.4.0”>

The duplicating the URL in the xsi:schemaLocation attribute  appears to resolve 
the issue error.  
Working tag:
http://karaf.apache.org/xmlns/features/v1.4.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.4.0 
http://karaf.apache.org/xmlns/features/v1.4.0”>

Shall I file a JIRA?

Paul Spencer