CodeAction for cvc-complex-type.2.4.b
See original GitHub issueGiven this XML file:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<servlet></servlet>
</web-app>
There is an error on servlet:

because servlet expects some content. It should be nice to provide a code action which generate the expected content.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
cvc-complex-type-2-4-b - XMLdation Wiki
General description of the error: cvc-complex-type.2.4.b: The content of element ''{0}'' is not complete. One of ''{1}'' is expected.
Read more >Fix CodeAction for `cvc-complex-type.2.4.a` to add ... - GitHub
The CodeAction and Diagnostic for the error is currently incorrect/unsupported, and should add the elementFormDefault="qualified" attribute to ...
Read more >Exception: cvc-complex-type.2.4.b: The content of element ...
Iam new to XML and a learner. The error: Exception: cvc-complex-type.2.4.b: The content of element 'person' is not comple te.
Read more >"cvc-complex-type.2.4.b" error - Oxygen XML Forum
there is a error: cvc-complex-type.2.4.b: The content of element 'root_a' is not complete. One of '{"http://a" ...
Read more >0.21.0 | projects.eclipse.org
CodeAction for cvc-complex -type.2.4.b. ... Code action for SemicolonRequiredInReference . ... Incorrect error range for cvc-identity-constraint.4.1 .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@GitMensch can you please open 2 separate issues?
Done. Again: thanks for the feature - it already is helping, it just can be even better 😃