Hi Carsten,

> it seems that the schema is the specification for the xml document
> (apart from the ordering of elements), so the inner elements should
have
> no namespace.
> 
> I've created a bug for this and will
> https://issues.apache.org/jira/browse/FELIX-695
> 
> and applied a fix to latest trunk of the scrplugin. Could you please
> check if this works for you?

I check out the source from

https://svn.apache.org/repos/asf/felix/trunk/scrplugin

and apply it to my m2_repo with "mvn clean install", then I changes the
version in my pom-file to "1.0.8-SNAPSHOT". After that the generated
xml-file is still corrupt for equinox.ds.

In my "local" patch I remove the PREFIX from all _QNAME constants.

PREFEX is set to "scr" and is added with the ":" to all XML-Tag.

//private static final String COMPONENT_QNAME = PREFIX + ':' +
COMPONENT;
private static final String COMPONENT_QNAME = COMPONENT;

I am not sure if this is the right away, but in my project it works fine


Sorry for my simple and bad English

THX for all help!

Niklas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to