AlanFoster / Camelry

This IntelliJ plugin is designed to improve the development experience when working with Apache Blueprint, Apache karaf and Apache Camel.
27 stars 10 forks source link

Error markup I can't explain #65

Open bimargulies opened 9 years ago

bimargulies commented 9 years ago

In the below, the 'ref=component' is painted red, even though the setter has the appropriate type declaration.

<?xml version="1.0" encoding="UTF-8"?>

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 https://osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"
           default-timeout="5000">

    <reference-list id="component"
                    member-type="service-reference"
                    interface="com.basistech.rosette.osgi.RosetteComponentService"
                    filter="(component-name=template-tokenization)"
            />
    <bean id="impl" class="com.basistech.ws.sdk.dummy.impl.DummyWorkerComponentServiceImpl">
        <property name="componentService" ref="component"/>
        <!--suppress BlueprintDOM -->
        <property name="bundleContext" ref="blueprintBundleContext"/>
    </bean>

    <service id="service" ref="impl" interface="com.basistech.ws.worker.api.WorkerComponentService">
        <service-properties>
            <entry key="component-name" value="template-tokenization"/>
        </service-properties>
    </service>
</blueprint>
AlanFoster commented 9 years ago

Camelry isn't aware of this yet; This would be a nice feature to add however.