Skip to content

Error markup I can't explain #65

Description

@bimargulies

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions