-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Labels
completionThis issue or enhancement is related to completion supportThis issue or enhancement is related to completion supportenhancementNew feature or requestNew feature or request
Milestone
Description
Assume the following XML fragment:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>bnd-integration-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>BND-M2E Integration Test Project</name>
<description>This project test the BND-m2e integration</description>
<build>
<plugins>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>7.0.0</version>
<executions>
<execution>
<id>bnd-process</id>
<goals>
<goal>bnd-process</goal>
</goals>
<configuration>
<bnd>
<![CDATA[
]]>
</bnd>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
<version>8.0.0</version>
</dependency>
</dependencies>
</project>
if I place the cursor right after <bnd> (before the CDATA section) then ICompletionParticipant#onXMLContent is called with currentTag=bnd
Now place the cursor inside the
<![CDATA[
]]>
now onXMLContent is not called. As CDATA only marks some parts of the document to contain any chardata it is still XML Content of the element, so I would have expected that the method is still called (maybe with currentTag=CDATA and parentTag=bnd).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
completionThis issue or enhancement is related to completion supportThis issue or enhancement is related to completion supportenhancementNew feature or requestNew feature or request